You are not logged in.

#1 2014-11-12 10:21:58

halogen
Member
Registered: 2014-06-12
Posts: 68

Creating keyboard shortcut to restart lightdm BEFORE logging in

I'm trying to find a way to create an hotkey before lightdm starts, as a workaround to an issue with the lightdm webkit greeter (for those interested, I described it here: http://forum.antergos.com/viewtopic.php?f=6&t=2438)

One person suggested to use xbindkeys to restart lightdm (binding a hotkey to "systemctl restart lightdm"). I tried with a systemd service file but it doesn't work (systemd reports "core dumped"). I also tried adding it to .xinitrc, but the hotkey won't be available before logging in so it's useless.

Any suggestions would be very appreciated!

Last edited by halogen (2014-11-12 10:22:55)

Offline

#2 2014-11-12 11:57:34

crxxn
Member
Registered: 2014-06-25
Posts: 9

Re: Creating keyboard shortcut to restart lightdm BEFORE logging in

Maybe you use the global config files in /etc/X11/xorg.conf.d/ to bind your shortcuts, these are effective even before you log in.
Depending on how often this error occurs, you could also just switch to a TTY, login and restart lightdm from there.

I personally dont know lightdm, but if you're interested, you could give awesome a try. It works like a charm for me!

Last edited by crxxn (2014-11-12 11:57:54)

Offline

#3 2014-11-12 12:36:37

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,543
Website

Re: Creating keyboard shortcut to restart lightdm BEFORE logging in

awesome is a window manager, not a display manager - it wouldn't be able to replace lightdm at all.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2014-11-12 16:37:52

halogen
Member
Registered: 2014-06-12
Posts: 68

Re: Creating keyboard shortcut to restart lightdm BEFORE logging in

Ok, for now I managed to reenable the ctrl-alt-backspace hotkey, which kills X and reloads lightdm as a consequence.

Offline

Board footer

Powered by FluxBB