[solved] LXDE CTRL-ALT-Backspace

Started by dlalias2k1, 2012/08/30, 07:29:36

Previous topic - Next topic

dlalias2k1

I'm really loving how lightweight LXDE is, but I've found in a couple of instances that it'd be really helpful to have a working CTRL-ALT-Backspace hotkey on LXDE to restart the xwin server. Any tips on this?

devil

CTRL-ALT-Backspace has been depricated for about 2 years now because it is an ungraceful way of doing things.

As this is not a funktion of the desktop environment, LXDE in your case, but a function of the x-server, you can reenable it in /etc/xinit/xinitrc by adding:setxkbmap -option terminate:ctrl_alt_bksp

greetz
devil

dlalias2k1

Thanks devil!

So if ctrl-alt-backspace is deprecated, is there another suggested method for forcing the x-server to restart?

I've had the screen stop responding a couple of times and using ssh to connect and kill x is a little cumbersome sometimes.

Thanks again!

michaaa62

As a 'Emergency Exit' from a corrupted session CTRL-ALT-Backspace is alright.
From ssh you would rather try to terminate gracefully withinit 3which runs the scripts to terminate your window/login-manager, well if configured correctly :roll:

dlalias2k1

Indeed, I've had no problems using init 3 to do upgrades, but I'm faily new to LXDE/openbox configuration so I didn't know how I'd set a hotkey to force a gksu/gksudo to run init 3. I'll probably just stick with C-A-Backspace to make the magic happen. Thanks for the alternative tip though.

 :)