You are not logged in.

#1 2016-07-19 20:32:19

nlvivar
Member
From: Oakland, CA
Registered: 2015-11-10
Posts: 6

[SOLVED] Restart X server with ctrl+alt+backspace

What are the methods for mapping ctrl+alt+backspace to restart the X server? I'd be happy with mapping it with my profile, but I'd much rather have it be mapped at the start of the X server in case the graphical login hangs. I've tried searching but haven't seen anything useful. Can someone point me in the right direction?

Last edited by Head_on_a_Stick (2016-08-06 21:43:53)

Offline

#2 2016-07-19 20:46:36

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] Restart X server with ctrl+alt+backspace

Try:

sudo -i
mkdir -p /etc/X11/xorg.conf.d
echo -e 'Section "InputClass"\n\tIdentifier "system-keyboard"\n\tMatchIsKeyboard "on"\n\tOption "XkbOptions" "terminate:ctrl_alt_bksp"\nEndSection' > /etc/X11/xorg.conf.d/00-keyboard.conf
exit

https://wiki.archlinux.org/index.php/Ke … BBackspace

EDIT: If this doesn't work, remove the file at /etc/X11/xorg.conf.d/00-keyboard.conf

Last edited by Head_on_a_Stick (2016-07-19 20:47:39)

Offline

#3 2016-08-06 20:35:50

nlvivar
Member
From: Oakland, CA
Registered: 2015-11-10
Posts: 6

Re: [SOLVED] Restart X server with ctrl+alt+backspace

Thanks! Works like a charm.

Offline

Board footer

Powered by FluxBB