• You are not logged in.

    Caps Lock on Ubuntu 9.10

    • Started by enceladus47
    • 4 Replies:
    • Reputation: 0
    • Registered: 16-Nov-2009
    • Posts: 8

    hi, i started using colemak yesterday and i'm still getting used to it :)
    however i'm having a problem with the caps lock key as when i press it both backspaces and activates the caps lock.

    it also didn't autorepeate but that was solved with the "xset r 66" command.

    any help would be appreciated, thanks :)

    Offline
    • 0
    • Reputation: 23
    • From: Belgium
    • Registered: 26-Feb-2008
    • Posts: 482

    Does this help:

    xmodmap -e "remove Lock = Caps_Lock"

    Something must be broken in Ubuntu's way of handling keyboard layouts, as on a vanilla X.org setup Caps Lock functions correctly as Backspace.

    Offline
    • 0
    • Reputation: 0
    • Registered: 16-Nov-2009
    • Posts: 8

    that worked, thanks! acts correctly as a backspace now. and ya guess it must be something in ubuntu...

    also can you give me the command to reverse it for future reference?

    Offline
    • 0
    • Reputation: 23
    • From: Belgium
    • Registered: 26-Feb-2008
    • Posts: 482

    The reverse:
    xmodmap -e "add Lock = Caps_Lock"

    but you can assign it to any key eg.:
    xmodmap -e "add Lock = Scroll_Lock"
    (or even "a", "F12", etc)

    Just type "xmodmap" for an overview of currently assigned modifier keys, and "man xmodmap" for more info.

    Offline
    • 0
    • Reputation: 0
    • Registered: 16-Nov-2009
    • Posts: 8

    thanks, that helped :)

    Offline
    • 0