On Wed, 30 Dec 2009 23:24:19 -0800 "J.C. Roberts"
<list-...@designtools.org> wrote:

> On Thu, 31 Dec 2009 00:49:59 -0600 "Evangelos Tsiaplas"
> <evange...@shaw.ca> wrote:
> 
> > Greetings all, I was hoping to disable the ctrl+alt+backspace key
> > combo for killing an X session. I recall being able to do so with
> > the Don'tZap option with in the xorg.conf file, I am no long able
> > to do this. Is there a different syntax than I am using? Or this
> > this function no longer disable-able? I have posted on the forums
> > and was referred to here as nobody could help out.
> > 
> > See link to forums @
> > http://www.daemonforums.org/showthread.php?t=4141
> > 
> 
> $ printf "setxkbmap -option terminate:ctrl_alt_bksp\n" >>~/.xinitrc
> 

Find where your backspace key is mapped since also used to terminate the
X server. (note long line is wrapped in this mail)

$ xmodmap -pke | grep -i backspace
keycode  22 = BackSpace Terminate_Server BackSpace Terminate_Server
BackSpace Terminate_Server
$ 

And remap it to just being backspace.
$ xmodmap -e "keycode 22=BackSpace"

Note capitalization is important!

Though the above is the default for a very typical/classic keyboard
(IBM Model-M) with default 'us' mappings, you might have something
different.

-- 
J.C. Roberts

Reply via email to