You are not logged in.
Pages: 1
Topic closed
Hi,
I am German, but I use an US-keyboard since it I like it better for writing code. Is there a simple way to map key-combinations to "Umlaute". e.g. like o+windows-key for an "ö".
I'd be happy with a sollution for thunderbird but in case there is an universal trick go for it.
Thanks in advance,
Keen
Last edited by keen90 (2012-01-15 10:02:28)
Offline
In X, you probably want 'xmodmap'. See this post: https://bbs.archlinux.org/viewtopic.php … 09#p858309.
Offline
keen90,
I have a US keyborad and no problem in writing "Umlaute" in "X".
Setup: in
/etc/X11/xorg.conf.d/10-evdev.conf
I have
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "Xkb_Layout" "us"
Option "Xkb_Variant" "alt-intl"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
alt-inll does the trick. The combination "a (double quotes followed by 'a') outputs ä.
Hope it helps.
Mektub
Follow me on twitter: https://twitter.com/johnbina
Offline
@Mektub:
Your propose worked out of the box, but I cant write singel quotes now any more and I dont figure out how to write a scharfes s.
@thispoldman:
Thanks for the link. I will give it a try.
Offline
yep your link helped.
Here the summary what's to do:
1) Get your custom xmodmap
xmodmap -pke > ~/.Xmodmap
2) Use a key to toggle between modes (i used the windows key keycode:133)
change the line in your Xmodmap file to:
keycode 133 = Mode_switch NoSymbol Mode_switch
3) Change the Umlaut keys using this:
https://bbs.archlinux.org/viewtopic.php … 09#p858309
4) make your changes work
modmap ~/.Xmodmap
5) check by typing windows-key+a, windows-key+shift+o, windows-key+s
you should get: äÖß
Note: Don't use this if you run XFCE it will affect your system performance on login. (dead key combinations, freeze)
Last edited by keen90 (2012-01-16 07:21:52)
Offline
@Mektub:
Your propose worked out of the box, but I cant write singel quotes now any more and I dont figure out how to write a scharfes s.
You are right, my solution is overkill for your case, since you only need umlaut and scharfes s.
I write also in languages that need á ó and so on, that's why to get a single quote you need to type "'-space."
The solution you linked to is interesting and I will try it for some special cases I have.
Schönes Wochenende,
Mektub
Last edited by Mektub (2012-01-14 15:21:55)
Follow me on twitter: https://twitter.com/johnbina
Offline
Well the sollution I have right now is not as good as it seemed at first.
It realy slows down my login procedure ( > 8sec now) and there's some magical border of about a minute from login where XFCE shortcuts dont work, but then all shurtcuts entered so far are executed at once(!). And the entry in the .bashrc seems to be useless, since the xmodmap is modified with or without the line in the .bashrc. I'll backtrack and check if these issues are really caused by the xmodmap, but is seems reasonable, since
modmap ~/.Xmodmap
freezes my computer for some seconds, too.
Does anyone have experience here - especially for this weird delay thing?
@Mektub: Dir auch ein schönes Wochenende ;-)
Offline
Ok I took an old xmodmap from a backup and still have the same symptoms
I did it this way
xmodmap myBackedUpXmodmap
is there another way to reset xmodmap? Is there a file I could delete?
Offline
The slowdown when using xmodmap may be an XFCE problem. It's mentioned in the XFCE wiki, English language version, on their FAQ page, http://wiki.xfce.org/faq#keyboard, under the question "Is it possible to use Media keys in the Shortcut Editor?" I didn't see this mentioned in the German language version.
Offline
As an alternative, you could try the variant altgr-intl (instead of alt-intl in Mektub's setup). You get AltGr+s (AltGr is normally the right Alt key) for the scharfes s and similar combinations for common diacritics. See http://andries.filmer.nl/files/76/Keybo … -keys).png
Offline
If you don't mind remembering unicode.. uh.. codes, you can use u0308 for umlaut (combines with previous letter, if applicable), and u1E9E for ß.
e.g. type a, then press Ctrl+Shift+u0308 to make ä.
Not the greatest solution, but it should work in any gtk application (including thunderbird).
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Ok I got rid of the freeze. It looks like the pure existence of an .Xmodmap file in the homedir overrides the global settings so there's no need to load it on login manually but it also does mean, you have to remove this file to get rid of any xmodmap changes.
Last edited by keen90 (2012-01-16 07:24:07)
Offline
Ok I decided for the altgr-intl trick proposed by raynman. Works fine. Thanks!
Offline
I just tried to use the altgr_intl trick as well, but it doesn't work for me!?
I couldn't figure out what kind of input altgr_intl is expecting.
When checking my alt keys with xev then I get for the right (which is the AltGr key) and left alt key:
state 0x8, keycode 108 (keysym 0xffea, Alt_R), same_screen YES,
...
state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
Is this wrong? What do you get when you press your AltGr key?
Offline
Please don't necrobump, rgzfxf6bhu. Open a new topic for your issue.
https://wiki.archlinux.org/index.php/Co … bumping.22
Closing.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed