about summary refs log tree commit diff
path: root/users/wpcarro/emacs/.emacs.d/wpc
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2021-10-27T18·11-0700
committerclbot <clbot@tvl.fyi>2022-01-08T05·55+0000
commit02db4640308a736c761f1c8c14e4f9348a06f6d8 (patch)
tree350bfb82c6eda3a6cb483e368618b7cff50995bd /users/wpcarro/emacs/.emacs.d/wpc
parent4977ffacb017fe1ff5030eeeabe147ad242eb162 (diff)
fix(wpcarro/emcas): Debug "Logout" command r/3554
gLinux doesn't use `lightdm.service` (you can confirm this by seeing if
`lightdm` is listed in the units reported by calling `systemctl`). I found
`gdm` (i.e. Gnome Display Manager), and it appears that calling...

```shell
systemctl restart gdm.service
```

...does the trick.

Change-Id: Iff47d20db57ce11138f9af943fe64cc18068f5bb
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4798
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Diffstat (limited to 'users/wpcarro/emacs/.emacs.d/wpc')
-rw-r--r--users/wpcarro/emacs/.emacs.d/wpc/window-manager.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/wpcarro/emacs/.emacs.d/wpc/window-manager.el b/users/wpcarro/emacs/.emacs.d/wpc/window-manager.el
index 87ccba1670b3..4b9735b961ab 100644
--- a/users/wpcarro/emacs/.emacs.d/wpc/window-manager.el
+++ b/users/wpcarro/emacs/.emacs.d/wpc/window-manager.el
@@ -224,7 +224,7 @@ Ivy is used to capture the user's input."
                       ("Logout" .
                        (lambda ()
                          (let ((default-directory "/sudo::"))
-                           (shell-command "systemctl stop lightdm"))))
+                           (shell-command "systemctl restart gdm.service"))))
                       ("Suspend" .
                        (lambda ()
                          (shell-command "systemctl suspend")))