Disabling Ctrl-Shift-Backspace

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
syedj
Senior Member
Senior Member
Posts: 712
Joined: Thu Jul 13, 2006 8:54 am
Location: Nashua, New Hampshire

Disabling Ctrl-Shift-Backspace

#1 Post by syedj » Wed Feb 20, 2008 5:04 pm

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.
“Long you live and high you'll fly and smiles you'll give and tears you'll cry and all you touch and all you see is all your life will ever be.”

tmalloy
Posts: 3
Joined: Sun Apr 10, 2005 10:54 am
Location: Cambridge MA

#2 Post by tmalloy » Wed Feb 20, 2008 6:07 pm

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

syedj
Senior Member
Senior Member
Posts: 712
Joined: Thu Jul 13, 2006 8:54 am
Location: Nashua, New Hampshire

#3 Post by syedj » Wed Feb 20, 2008 6:49 pm

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.
“Long you live and high you'll fly and smiles you'll give and tears you'll cry and all you touch and all you see is all your life will ever be.”

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 0 guests