[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X key bindings don't work on new system



Joel Roth <joelz@pobox.com> writes:

> Hi list,
>
> I've dusted off an old, fanless computer with an Epia
> (Via) main board, and installed sid.
>
> One thing I notice is that my xmodmap commands for remapping
> the CAPS key to behave as CTRL (in .xinitrc) work in my
> usual system, but have no effect on this newly installed
> system. Both systems are running an up-to-date sid, 
> and I've copied over my .bashrc.
>
> Any ideas where I should be looking?
>
> # .xinitrc
> #
> #!/bin/sh
> # remap CAPSLOCK to be CTRL
>
> rxvt -e screen -D -r
> xmodmap -e 'keycode 66 = Control_L'
> xmodmap -e 'clear Lock'
> xmodmap -e 'add Control = Control_L'
> xset b off                                # this suppresses beep
> setxkbmap -option terminate:ctrl_alt_bksp # this works, too
> exec /usr/bin/i3

I handle the control with this command:
    setxkbmap -option ctrl:nocaps
You should be able to combine it with your other as:
    setxkbmap -option ctrl:nocaps,terminate:ctrl_alt_bksp

-- 
Carl Johnson		carlj@peak.org


Reply to: