You are not logged in.

#1 2011-11-06 13:22:50

gammel.holte
Member
Registered: 2010-02-01
Posts: 53

Shift insert not working since xorg & vbox update

Hi all,

I'm running Arch on a MacBook using VirtualBox.

Since Mac laptops don't have an Insert key, I have mapped my F12 key to insert by placing this line in .xinitrc:

xmodmap -e "keycode 96 = Insert"

This used to work fine, i.e. by pressing Fn + Shift + F12 I could paste primary selection on any X application.

However, since the latest xorg & vbox additions it doesn't work. However, I can still see that Fn + F12 is being recognised as Insert using xev.

Any ideas?

Thanks

Offline

#2 2011-11-09 01:22:28

gammel.holte
Member
Registered: 2010-02-01
Posts: 53

Re: Shift insert not working since xorg & vbox update

I can't believe I'm the first hitting this issue, but anyway, here's the fix.

xmodmap has made a change in one of the latest xorg releases.

Previously

xmodmap -e "keycode 96 = Insert"

used to reassign not only F12, but also Shift + F12.

Now, unless you provide everything explicitly, modified keys become unassigned.

So,

xmodmap -e "keycode 96 = Insert Insert"

fixes the issue. The second Insert is the mapping of Shift + F12.

Offline

Board footer

Powered by FluxBB