Swap CTRL with CAPS LOCK in Xubuntu 11.10

I wrote previously about swapping CapsLock and Ctrl in an older version of Ubuntu, but recently I have been using Xubuntu because I don't like the user interface changes in the newer versions of standard Ubuntu desktop. Well, it turns out that the old technique for swapping the keys doesn't work on Xubuntu. But there is an alternate method:

  1. Open the Applications Menu on the top left side of the screen and click Settings.
  2. Click on the Settings Manager option and then click on Session and Startup.

    Xfce Settings Manager

  3. Click the Add button and enter Swap CapsLock & Ctrl for the name.

    Xfce Session Startup

  4. Next enter /usr/bin/setxkbmap -option "ctrl:swapcaps" for the command.

    Xfce Add Application

  5. Click the OK button and then click the Close button.

  6. Restart the computer.

That is it... Super easy!


Comments powered by Disqus