Hebrew Keyboard Layout In Linux   4 comments

Since I got this question from way too many people, I wanted to just share my “cross distribution” and “cross desktop environment” way of doing that very simple thing of enabling a Hebrew keyboard layout under Linux.

Easy As

After logging into your desktop environment, type this:

setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,il

Alt+Shift will get you between Hebrew and English. Easy as.


Making it permanent is just as easy:

mkdir -p ~/.config/autostart && cat <<EOF > ~/.config/autostart/hebrew.desktop
[Desktop Entry]
Comment=Enable a Hebrew keyboard layout
Exec=setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,il

Should sustain logout/login, reboots, reinstalls (as long as you keep /home on a different partition), distribution changes and choosing a different desktop environment (KDE, GNOME, LXDE, etc.).

Posted May 3, 2013 by malkodan in Bash, Linux

Tagged with , , , , , ,

4 responses to “Hebrew Keyboard Layout In Linux

Subscribe to comments with RSS.

  1. Thanks a lot!!!
    I looked for it so much, and you made it so simple!

  2. Wow thats really awesome actually dont forget to tell them to open a terminal.. hmm ctrl+t is the hot key or just search for the terminal shell software.

    The only thing that is confusing here is how do I know which English letter to type for the Hebrew letter? When I type the letter “g” I expect “gimmel” yet I get something different. How does one address this issue? Do we put stickers on the keys to address this??

  3. I checked and the hotkey for linux terminal is actually –>( ctrl + alt +t ) whereas ctrl + t is new tab. Sorry for the confusion. 🙂

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s

%d bloggers like this: