Siduction Forum

Siduction Forum => Software - Support => Topic started by: dlalias2k1 on 2012/08/30, 07:29:36

Title: [solved] LXDE CTRL-ALT-Backspace
Post by: dlalias2k1 on 2012/08/30, 07:29:36
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?
Title: LXDE CTRL-ALT-Backspace
Post by: devil on 2012/08/30, 08:35:14
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
Title: RE: LXDE CTRL-ALT-Backspace
Post by: dlalias2k1 on 2012/08/31, 03:18:26
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!
Title: RE: LXDE CTRL-ALT-Backspace
Post by: michaaa62 on 2012/08/31, 08:09:18
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:
Title: RE: LXDE CTRL-ALT-Backspace
Post by: dlalias2k1 on 2012/08/31, 08:33:46
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.

 :)