how can I toggle different keyboard layouts?
Hi
I want to toggle different keyboard types on my Fedora Core 2 with some simple keyboard shortcuts. But I can't find out how. It's too much to do System settings -> keyboard -> (password) -> change keyboard, every time I want to change to different languages. KDE seems to have such a function (I use Gnome, but I don't mind use KDE in stead if it's something Gnome cannot) but under Kcontrol -> Regional accessibility -> keyboard layout there is no keyboard layout to choose. (of course, I checked 'Enable Keyboard layout') I have naturally installed FC2 with all the languages I want to use. Can anyone help me? |
Hello!
I'm heaving the same problem with keyboard layout in FC2 :( There are other posts in this forum about that and I posted this problem too...the best option for me [that I found here] was to use this command: "setxkbmap us" or "setxkbmap de" or "setxkbmap it". Maybe someone else can help more. Boby |
you could prolly make some kinda bash script and the run either one for whatever keyboard layout you need
not sure tho |
Hi Boby
That with setxkbmap... is definitely better than clicking 4 times + password! Thanks! Still, it would be great if anyone knows how to change layouts by simple keyboard shortcuts. Hard to believe that all FC2 users using more than 1 language are doing all the clickings or setxkbmap... |
if you can get the keymap textfiles, you can use xmodmap to toggle between diff't keyboard layouts.
assuming that you have a qwerty keyboard and that you want to go back to it at some point: xmodmap -pke > qwerty this pipes the output of xmodmap into a text file called 'qwerty' now, download the keymaps for whatever you wish to use (for example, a dvorak layout). assuming this is in a file called 'dvorak', then you type: xmodmap dvorak now you have a dvorak keyboard. cheers, --vq |
Hi valencequark
Thanks for your advise! but if i understand it correctly, it makes only another type of keyboard available, isn't it? Maybe I didn't make it clear, but I have already all the keyboard types I want in my pc and I can change it, if i want. I wanted to ask how I can toggle between those keyboard types by simple keyboard shortcuts, without entering system settings... I'm a newbie, (have installed FC2 4days ago and this is my first linux working) so if i misunderstand something, my apology. Anyone with any ideas?? kentri9 |
switching K/board layouts
I'm in the same boat, my wife is a qwerty touch typist and I use Dvorak, in Win. XP I hit control /shift and the kb changes. That's what we need in Linux, surely there must be a way?
|
Here's extract from my xorg.conf:
Code:
Option "XkbRules" "xorg" |
Thanks n n, J, Now we are getting somewhere, all we need now is the entries for Dvorak and US english.
You guys are really something, is there anything you don't know? |
Look in /usr/X11R6/lib/X11/xkb/symbols directory. There should be rules for dvorak and en_US keymaps. I have those two files.
If you use Xorg then you should put the following in your xorg.conf file: Code:
Option "XkbRules" "xorg" |
THanks again.
|
There is a keyboard switcher applet for GNOME, iirc. Can you use that?
|
Could this problem be caused by the kernel options? I just compiled a new kernel on my box and enabled there some language support...now I can add keyboard layots in control center :)
Boby |
Gnome 2.6
I opened "keyboard preferences" and in the "layouts" tab i added Greek, after English us. Then in the panel i added utility-->keyboard indicator. A box appeared with the indication us. When i clicked on it, it changed to Grc (probably Greek), but when i tried to write anything it changed back to English and instead of Greek i wrote English. When i opened "keyboard preferences" and i pressed the button "up", Greek moved up, but exactly the opposite happened. When i changed the indicator and tried to write English, the indicator changed back to Greek and i wrote Greek instead of English. What can i do? |
Thank you! this really helped!
|
All times are GMT -5. The time now is 07:05 AM. |