Problem Solver

Alt-Tab Shortcuts Broken In Ubuntu Lucid With XModMap

By , 15 December 2011

Alt-Tab Shortcuts Broken In Ubuntu Lucid With XModMap

I use xmodmap to turn caps-lock into an extra modifier for special keys and shortcuts. Since upgrading finally to Ubuntu Lucid 10.04 LTS, I've had a problem with the Caps-Lock modifier key (Mode_switch) getting stuck when I accidentally press the Shift key. When I get it unstuck by pressing the same combination of Caps, Shift and one of my special keys, all my X-Windows shortcuts like Alt-Tab and Function keys stop working.

It's freaking annoying, however I finally found a workaround in Red Hat Bug 513815 and Bug 508434...

$ setxkbmap -layout jp

This resets your keyboard to it's original state. In my case the layout is japanese. You will probably want 'us' for US keyboards. Now you can reapply your xmodmap settings:

$ xmodmap ~/.xmodmaprc

It's still flaky, but it gets me back on the road.

Alt-Tab Shortcuts Broken In Ubuntu Lucid With XModMap
 

About Roger Keays

Alt-Tab Shortcuts Broken In Ubuntu Lucid With XModMap

I am an artist, an engineer, and a student of psychology. Some projects I'm working on at the moment are Sunburnt SEO, The Game Of Your Life, Money Talks and other, top secret stuff. You can follow me via RSS or on Twitter, Facebook, and even Google+.

Add a comment

Please visit http://RogerKeays.com/alt-tab-shortcuts-broken-in-ubuntu-lucid-with-xmodmap to add your comments.

Follow Roger Keays

It'll Change Your Life

I write every Sunday about all sorts of interesting stuff. Drop me your email and you'll be the first to get my articles when they're published. It'll change your life. And it's free :)


Website Updates

Latest Poll

Is your life is better or worse because of Facebook?
Better
Worse
The same