unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#30497] [PATCH] services: slim: Make the logged-in session show up in "w".
@ 2018-02-17 12:00 Danny Milosavljevic
  2018-02-17 15:36 ` Marius Bakke
  2018-02-17 16:34 ` [bug#30497] [PATCH v2] " Danny Milosavljevic
  0 siblings, 2 replies; 4+ messages in thread
From: Danny Milosavljevic @ 2018-02-17 12:00 UTC (permalink / raw)
  To: 30497

* gnu/services/xorg.scm (slim-shepherd-service): Make the logged-in session
show up in "w".
---
 gnu/services/xorg.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
index 50af2408b..b73dbe0d7 100644
--- a/gnu/services/xorg.scm
+++ b/gnu/services/xorg.scm
@@ -467,6 +467,8 @@ authfile /var/run/slim.auth
 login_cmd  exec " xinitrc " %session
 sessiondir /run/current-system/profile/share/xsessions
 session_msg session (F1 to change):
+sessionstart_cmd " sessreg "/bin/sessreg -a -l $DISPLAY %user
+sessionstop_cmd " sessreg "/bin/sessreg -d -l $DISPLAY %user
 
 halt_cmd " shepherd "/sbin/halt
 reboot_cmd " shepherd "/sbin/reboot\n"

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-02-19 21:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-17 12:00 [bug#30497] [PATCH] services: slim: Make the logged-in session show up in "w" Danny Milosavljevic
2018-02-17 15:36 ` Marius Bakke
2018-02-17 16:34 ` [bug#30497] [PATCH v2] " Danny Milosavljevic
2018-02-19 21:27   ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).