.Xmodmap problems after upgrading to Xorg 7.5

Chris Hill chris at monochrome.org
Sat May 8 02:53:21 UTC 2010


On Fri, 7 May 2010, Joey Mingrone wrote:

> My .Xmodmap is included below.  When I run
>
> %xmodmap ~/.Xmodmap
>
> the output is:
>
> xmodmap:  .Xmodmap:13:  bad keysym in remove modifier list
> 'Caps_Lock', no corresponding keycodes

[snip]

When I encounter an unfamiliar error, I'll paste the entire error text 
into google. Sometimes that helps.

> Does anyone know why the keysyms aren't mapping to the keycodes?

All I can offer is my own .Xmodmap, which is a small subset of yours.

[snip]

> remove Lock = Caps_Lock
> keysym Caps_Lock = Control_L
> add Control = Control_L

It looks like you're trying to end up with two left-control keys and no 
CapsLock. My .Xmodmap wants to swap CapsLock with the left Control key, 
for which purpose the following works. I don't know if the order of 
remove, keysym and add matters, but it might.

remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Caps_Lock
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Control_L

[snip]

HTH.

--
Chris Hill               chris at monochrome.org
**                     [ Busy Expunging <|> ]


More information about the freebsd-questions mailing list