You are not logged in.

#1 2010-03-03 13:55:53

augustl
Member
Registered: 2010-02-22
Posts: 33

| and < keys swapped in VirtualBox on OS X: rebind in HAL, Xorg, ...?

I'm running Arch in VirtualBox with OS X as host. The keys for | (below escape) and < (right of left shift) has swapped positions.

How can I fix this? I tried to find documentation for the HAL config files, but haven't found anything yet.

Offline

#2 2010-03-03 17:20:53

ZaQ
Member
Registered: 2009-12-12
Posts: 106

Re: | and < keys swapped in VirtualBox on OS X: rebind in HAL, Xorg, ...?

I'ld do that with xmodmap

xmodmap -pke > ~/.Xmodmap

Change the | and < in the ~/.Xmodmap file (< is less and I don't know the word for | but you can find the right keycode by using xev) and try if it works when starting xmodmap ~/.Xmodmap from shell. If so, then let it autostart.

Offline

#3 2010-03-03 18:20:42

augustl
Member
Registered: 2010-02-22
Posts: 33

Re: | and < keys swapped in VirtualBox on OS X: rebind in HAL, Xorg, ...?

Wohoo! Thanks. The pipe was called "bar" in xmodmap.

For laughs, the keycodes were 49 and 94. Big endian fail, anyone? smile

Offline

#4 2010-03-04 00:21:16

ZaQ
Member
Registered: 2009-12-12
Posts: 106

Re: | and < keys swapped in VirtualBox on OS X: rebind in HAL, Xorg, ...?

lawl

So it's working now? If so, could you please put [SOLVED] infront of the title?

Offline

Board footer

Powered by FluxBB