You are not logged in.
Pages: 1
Hello to all
this is a bit embarrassing, but here it goes:
I am learning Greek and need to easily switch between keyboard layouts. I remember I set that up some time ago on my old machine and it was working just fine.
Now, I am taking that machine again and I can't remember the key combination I had set up.
I ran grep -rnw on the whole filesystem with the string I thought would be pertinent, but could not find anything...
I am running arch on an eee pc with wmii.
Anyone can help me remember which is the file where that is defined?
Thank you very much!
Offline
You will have used one of these methods...
https://wiki.archlinux.org/index.php/IBus
https://wiki.archlinux.org/index.php/Fcitx
https://wiki.archlinux.org/index.php/SCIM
https://wiki.archlinux.org/index.php/UIM
Offline
Maybe...setxkbmap gr
EDIT
DON'T TRY
Unless you know how type setxkbmap xx after that.
EDIT 2:
I did something like that time ago.
https://wiki.archlinux.org/index.php/Ke … rd_layouts
EDIT 3:
In the same address, a little above, you can find how change it using ALT+SHIFT:
setxkbmap -layout es,gr -option grp:alt_shift_toggleChange es for your language layout.
Last edited by Alber (2017-11-28 10:00:59)
Because not all of us are native English speakers, try no to use slang or abbreviations, thank you.
Offline
I used localectl, as per the wiki, and it gave me the file /etc/X11/xorg.conf.d/00-keyboard.conf:
# Written by systemd-localed(8), read by systemd-localed and Xorg. It's
# probably wise not to edit this file manually. Use localectl(1) to
# instruct systemd-localed to update it.
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "us,gr"
Option "XkbModel" "pc104"
Option "XkbVariant" "euro,polytonic"
Option "XkbOptions" "grp:ctrl_shift_toggle,terminate:ctrl_alt_bksp,compose:lwin"
EndSectionIt works flawlessly. If you are now learning Greek, you don't need the polytonic version (althought you'll probably like the extended).
So, in your case, you want something like
$ localectl --no-convert set-x11-keymap us,gr pc104 euro,extended grp:ctrl_shift_toggle,terminate:ctrl_alt_bksp,compose:lwinadjusted to your needs, of course.
Intel(R) Celeron(R) CPU E3400 @ 2.60GHz, x86_64. AURs.
“No one without the knowledge of geometry may enter.“ Plato.
Offline
Thanks Alber, that's what I did way back, I mapped the switch to Shift+Alt
Offline
Pages: 1