doc: modules/users: show what XDG_SESSION_{ID,CLASS,TYPE} could look like if set
This commit is contained in:
parent
175acf6442
commit
4c84d1a727
|
@ -197,8 +197,12 @@ let
|
||||||
### normally a session manager (like systemd) would set these vars (at least) for me:
|
### normally a session manager (like systemd) would set these vars (at least) for me:
|
||||||
# - XDG_RUNTIME_DIR
|
# - XDG_RUNTIME_DIR
|
||||||
# - XDG_SESSION_ID
|
# - XDG_SESSION_ID
|
||||||
|
# - e.g. `1`, or `2`. these aren't supposed to be reused during the same power cycle (whatever reuse means), and are used by things like `pipewire`'s context
|
||||||
|
# - doesn't have to be numeric, could be "colin"
|
||||||
# - XDG_SESSION_CLASS
|
# - XDG_SESSION_CLASS
|
||||||
|
# - e.g. "user"
|
||||||
# - XDG_SESSION_TYPE
|
# - XDG_SESSION_TYPE
|
||||||
|
# - e.g. "tty", "wayland"
|
||||||
# - XDG_VTNR
|
# - XDG_VTNR
|
||||||
# - SYSTEMD_EXEC_PID
|
# - SYSTEMD_EXEC_PID
|
||||||
# some of my program-specific environment variables depend on some of these being set,
|
# some of my program-specific environment variables depend on some of these being set,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user