You are not logged in.

#1 2014-09-16 16:03:02

SirCmpwn
Member
Registered: 2013-09-18
Posts: 89

Virtualbox and xmodmap no longer get along

I use xmodmap to swap caps lock and escape. This used to also work in VMs, but now hitting caps lock does nothing in the VM.

Running virtualbox 4.3.16-1, and xmodmap 1.0.8-1.

Offline

#2 2014-09-18 04:36:51

rh995
Member
Registered: 2012-03-09
Posts: 76

Re: Virtualbox and xmodmap no longer get along

You should configure the vm keymap separately.  Virtualbox just passes the keycodes directly, so they will be processed the way the guest os wants them to.  It would be my guess that disabling the lock feature of caps lock using xmodmap would be what causes caps lock to have no effect at all: caps lock is sending its keycode, rather than acting as a caps lock key normally does.

Offline

#3 2014-09-18 20:24:40

SirCmpwn
Member
Registered: 2013-09-18
Posts: 89

Re: Virtualbox and xmodmap no longer get along

I did go ahead and configure the VM separately. Thanks for the tip.

Offline

Board footer

Powered by FluxBB