As a temporary workaround I can recommend using xmodmap (install it if
necessary) to swap the two keys into their right places. Proced as
follows:

1. Open a terminal and ensure you're in your home directory.

2. Enter these commands:

   xmodmap -pke | grep 'keycode *49' >>.Xmodmap
   xmodmap -pke | grep 'keycode *94' >>.Xmodmap

3. Open ~/.Xmodmap in an editor, replace the number 49 with 94 and vice
versa.

4. Run xmodmap. At the start of your next user session a dialog box may
appear asking you to confirm loading .Xmodmap from now on. Do so.

This will correct the keyboard layout in all applications. It will not
work in places like virtual machines. To swap the keys in my VirtualBox
Windows XP environment too, I used Microsoft Keyboard Layout Creator
(Google it), a .NET-based GUI for creating keyboard layouts. That was a
bit more difficult than accomplishing the same thing in Ubuntu.

-- 
[gutsy] Finnish/Swedish MacBook § and < keys are swapped (keycodes 49 and 94 
swapped)
https://bugs.launchpad.net/bugs/139833
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to