Switching keyboard layouts



All timestamps are based on your local time of:

On X, you can switch keyboard layouts using the "setxkbmap" command. I created the following two scripts in my ~/bin directory and made them executable:

~/bin/asdf:

setxkbmap dvorak


~/bin/aoeu:

setxbmap us



That way, if I'm using the regular "us" layout, and I type the command "asdf", it will switch me to dvorak. And if I'm in dvorak, and type the "aoeu" command, it will switch me back to us layout.

Name:
Comment:
Allowed expansions in comments/replies: [i]italic[/i], [u]underline[/u], [b]bold[/b], [code]code[/code], [sub]subscript[/sub], [sup]superscript[/sup], [url=http://some.url]linked text[/url]
Human verification: Sum of twenty-three and twenty-five =
 
 
(c) Kartikaya Gupta, 2004-2024. User comments owned by their respective posters. All rights reserved.
You are accessing this website via IPv4. Consider upgrading to IPv6!