On Thu, Dec 31, 2009 at 12:33 AM, J.C. Roberts <list-...@designtools.org>
wrote:
...
> 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"

Ah, so *that's* how you do it now.  Thanks!

The one-liner version for .xsession files:
    xmodmap -pke | sed -n 's/\(BackSpace\).*/\1/p' | xmodmap -


Philip Guenther

Reply via email to