[SOLVED] Multiple keyboards layout with only 2 layouts on Shift alt ?
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Multiple keyboards layout with only 2 layouts on Shift alt ?
I usually write in both English and Hebrew, however from time to time I need to type Greek letters or letters from other language (but not very often).
So the the setup I want is Shift - Alt swaps from English to Hebrew only, but When I press the keyboard applet I can choose which layout the I want from a list.
The keyboard short-cut is a toggle. Pressing it once takes you to Hebrew, pressing it again should take you to Greek. If it doesn't, then you have a bug and will just have to use the panel applet.
The keyboard short-cut is a toggle. Pressing it once takes you to Hebrew, pressing it again should take you to Greek. If it doesn't, then you have a bug and will just have to use the panel applet.
Thank you for your response David.
Now I think you misunderstood my question, My Layouts look something like this:
English
Hebrew
Greek
Phoenician Keyboard
I want "Shift Alt" to cycle between English and Hebrew only because I use those very often (That is Greek and Phoenician should be ignored).
However from time to time I type in Greek or Phoenician, but not very often so I don't want "Shift Alt" to switch to them, However I need way to select them (by pressing the applet or any other way).
There are ways to switch between just two of the installed layouts e.g.
grp:lctrl_rctrl_switch Left Ctrl to first layout; Right Ctrl to last layout
but all such combinations use different hotkeys for each of the two layouts, not one to toggle. Full list is in man xkeyboard-config and should be available in the GUI keyboard setup utility you are using.
In the GUIs with which I'm familiar, setting the group switch is global and the same for all keyboard drivers. Using different moves for different drivers would require editing the drivers in /usr/share/X11/xkb/symbols. The basic options available are to move to the next group, move to the previous group, and move to the last group — no way move directly to the third of four. I have in my basic code (/usr/share/X11/xkb/symbols/pc)
Code:
key <SCLK> {[ISO_Next_Group, ISO_Prev_Group]};
so for me Scroll Lock gets the second keyboard, Shift + Scroll Lock goes back to the first, and Scroll Lock twice gets the third.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.