summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Pospisek <tpo_hp@sourcepole.ch>2018-06-25 21:16:33 +0200
committerRobert Ancell <robert.ancell@gmail.com>2018-06-26 09:53:28 +1200
commit005f2c74ef2c3b5bc69d863b9883f94e39839624 (patch)
tree631e9d491aa43b58c55b4142c83989ed6294e1db
parent3463da5938321026bd1740d4096ff48a9b770fed (diff)
downloadlightdm-git-005f2c74ef2c3b5bc69d863b9883f94e39839624.tar.gz
document the XDG_SEAT_PATH environment variable
Fixes: https://github.com/CanonicalLtd/lightdm/issues/27
-rw-r--r--data/dm-tool.114
1 files changed, 14 insertions, 0 deletions
diff --git a/data/dm-tool.1 b/data/dm-tool.1
index d8aa8bdf..f7d8596b 100644
--- a/data/dm-tool.1
+++ b/data/dm-tool.1
@@ -13,6 +13,7 @@ dm-tool \- a tool to control the display manager
.SH DESCRIPTION
.B dm-tool
is a tool to communicate with the LightDM display manager.
+.TP
.SH OPTIONS
.TP
.B \-h, \-\-help
@@ -58,5 +59,18 @@ Connect an existing X server to the display manager.
.TP
.B add-seat TYPE [NAME=VALUE...]
Add a dynamic seat.
+.SH ENVIRONMENT
+.TP
+.B XDG_SEAT_PATH
+Used by dm-tool to determine in which display manager session it's running. When executing
+.B dm-tool
+outside of a display-manager use its
+.B list-seats
+command to show active sessions and set the session to connect to with:
+.B export XDG_SEAT_PATH=/org/freedesktop/DesktopManager/SeatX
+where
+.B SeatX
+is one of the listed sessions.
+.
.SH SEE ALSO
.BR lightdm (1)