Disabling Caps Lock in Ubuntu

xmodmap -e "clear Lock"

Comments

I always wanted to do this but never thought to actually try until now. You've changed my life forever, Thank you.

Posted by: sonzoo on July 29, 2006 5:25 AM

Great!

Now, how do I enable it again?

Thanks :)

Why would you want to do that? ;-)

to re-enable Caps Lock you type:
xmodmap -e "add Lock = Caps_Lock"

Posted by: bled on January 6, 2007 7:40 AM

All fields are optional, email address will not be shown; no HTML, URLs are automatically hyperlinked.