Disable shift-backspace logout in XGL and enable AltGr
It drove me mad that i logged always out from XGL after pressing accidentally shift-backspace.
You have to type:
xmodmap -e "keycode 22 = BackSpace BackSpace"
after your Window Manager started (that would be beryl in my case).
And because my AltGr key didn’t worked too i first looked at the keycode with xev which was 113.
Then a little lookup how the key is occupied:
xmodmap -pk
And finally to make the key work again:
xmodmap -e 'keycode 113 = Mode_switch'
And because i am a lazy person and dont want to type that over and over again to load it on startup i put both in my ~/.Xmodmap file:
echo 'keycode 22 = BackSpace BackSpace' >> ~/.Xmodmap
echo 'keycode 113 = Mode_switch' >> ~/.Xmodmap




Thanks, for the quickfix and instructions on how to solidify it!
Thanks, found it on a german forum, i only translated it.
Cheers. This was giving me the shit’s
Thank you, you are welcome.
muito obrigado, era exatamente o que eu estava precisando !!
thank you very much, it was accurately what I was needing !!
I have this problem, but when I try to run that command I get this
” xmodmap -e “keycode 22 = BackSpace BackSpace”
xmodmap: unknown command on line commandline:1
xmodmap: unable to open file ‘22′ for reading
xmodmap: unable to open file ‘=’ for reading
xmodmap: unable to open file ‘BackSpace’ for reading
xmodmap: unable to open file ‘BackSpace”’ for reading
xmodmap: 5 errors encountered, aborting.”
any ideas?
try to remove the second quotation mark.
I’m getting the same error as coolio.
This shift + backspace issue has been killing me during my coding.
I will do just about anything to get rid of it.
Please help me…
Thanks :D
[...] this fixed it only for the current session though. Finally found out how to set it permanently here. Type echo ‘keycode 22 = BackSpace BackSpace‘ >> ~/.Xmodmap to add it to the .Xmodmap file and [...]
Thanks so much for this. My classmates were getting annoyed over my daily screaming every time I accidentally logged myself out.
Thanks a lot, that helped sooo much!