Page 1 of 1

Disabling Ctrl-Shift-Backspace

Posted: Wed Feb 20, 2008 5:04 pm
by syedj
I have been hitting this combo quite often now to erase a word (as in the Windows world), however, in Linux it restarts the X-server. Every time it happens I have to ssh from a number of terminal windows into other servers, lose command history and other edits, move windows around, open the browser and other such activities to get the desktop back in order - VERY VERY annoying.

Does anyone know how I can disable it? I found references for Ctrl-Alt-Backspace but nothing for Ctrl-Shift-Backspace.

TIA.

Posted: Wed Feb 20, 2008 6:07 pm
by tmalloy
There is an xorg.conf directive "DontZap".

Add to the ServerFlags section of your xorg.conf file (usually /etc/X11/xorg.conf or similar):

Code: Select all

Section "ServerFlags"
        Option          "DontZap"       "true"
EndSection
Restart X, and ctrl+alt+backspace won't zap your session, it'll just be sent along to the desktop like any other keystroke.

-tmalloy

Posted: Wed Feb 20, 2008 6:49 pm
by syedj
Thanks tmalloy. I already have this line in my xorg.conf. This works for ctrl-alt-backspace but has no effect on the the ctrl-shift-backspace.