Mnemovore

Change keyboard layouts snippet

leave a comment »

Its just an easy practical way to add a keyboard shortcut for changing layouts without messing with your xorg.conf. Just place this in your xinitrc.

setxkbmap -layout us,gr -option grp:alt_shift_toggle -option grp_led:scroll

This way you change between layouts using left alt shift combo and when its activated the scroll lock led lights up.

Advertisements

Written by aperturefever

June 16, 2010 at 8:44 pm

Posted in Linux

Tagged with , , , , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: