Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] [solved] LXDE CTRL-ALT-Backspace  (Read 5035 times)

dlalias2k1

  • Guest
[EN] [solved] LXDE CTRL-ALT-Backspace
« 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?

Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.897
LXDE CTRL-ALT-Backspace
« Reply #1 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:
Code: [Select]
setxkbmap -option terminate:ctrl_alt_bksp

greetz
devil

dlalias2k1

  • Guest
RE: LXDE CTRL-ALT-Backspace
« Reply #2 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!

Offline michaaa62

  • User
  • Posts: 299
RE: LXDE CTRL-ALT-Backspace
« Reply #3 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 with
Code: [Select]
init 3which runs the scripts to terminate your window/login-manager, well if configured correctly :roll:

dlalias2k1

  • Guest
RE: LXDE CTRL-ALT-Backspace
« Reply #4 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.

  :)