PDA

View Full Version : [SOLVED] How to enable CTRL + ALT + BACKSPACE in lubuntu?



Bazon
June 29th, 2011, 10:05 AM
short:
CTRL + ALT + BACKSPACE does nothing for me in lubuntu. How can I enable it to kill x?

long:
Although otherways very happy with lubuntu, recently my lxde panel froze and there was nothing I could do on anymore. So I'd like to use CTRL + ALT + BACKSPACE, but nothing happened. So what could I have done instead of rebooting?

mikewhatever
June 29th, 2011, 10:57 AM
Really, there were several things you could have done.

1. ctrl-alt-f1, login, then sudo service gdm restart.

2. Reboot gracefully (http://www.arsgeek.com/2006/12/12/how-to-gracefully-reboot-your-ubuntudebian-system-if-all-else-fails/).

To enable ctrl-alt-backspace, open Keyboard, Layouts tab, Options, Key sequence to kill X.

Bazon
June 29th, 2011, 11:23 AM
1. ctrl-alt-f1, login, then sudo service gdm restart.
thanks!


To enable ctrl-alt-backspace, open Keyboard, Layouts tab, Options, Key sequence to kill X.
No, that's not in lubuntu: in lxkeymap, there is no "options".

mikewhatever
June 29th, 2011, 12:34 PM
Of cause it isn't, silly me, Lubuntu. There used to be a package, dontzap, in the repositories that provided the option, but I don't see it now. An alternative would be to edit /etc/X11/xorg.conf and add the following:


Section "ServerFlags"
Option "DontZap" "false"
EndSection

Peadogie
June 29th, 2011, 11:13 PM
Lubuntu does not uses GDM it uses LXDM.

Open /etc/xdg/lxsession/lubuntu/autostart as root and add:

@setxkbmap -option terminate:ctrl_alt_bksp

Log out . Your set.

Dave_L
June 30th, 2011, 03:43 AM
Alt+Sysreq+k will kill X in Ubuntu. I don't know if it works in Lubuntu.

ajgreeny
June 30th, 2011, 11:21 AM
Alt+Sysreq+k will kill X in Ubuntu. I don't know if it works in Lubuntu.
It surely does!

Bazon
June 30th, 2011, 11:38 AM
Thanks, it does and that's all I need! :-)
(Sometimes it has to go fast...)