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

Roger Keays is an artist, an engineer, and a student of life. Since he left Australia in 2009, he has been living as a digital nomad in over 40 different countries around the world. Roger is addicted to surfing. His other interests are music, psychology, languages, and finding good food. Click here to subscribe to his weekly blog, or stalk him on Facebook and Twitter.

Add a comment

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

Follow Roger Keays

Join the Mailing List

Subscribe to our mailing list for the latest news and announcements.


It'll Change Your Life

I write every Sunday about travel, psychology, and technology. Thousands of people just like you have already subscribed—and for good reason. It'll change your life. And it's free :)


Website Updates

Latest Poll

Chocolate or avocados?
Chocolate
Avocados