You are not logged in.

#1 2012-01-14 11:33:24

keen90
Member
From: Europe
Registered: 2010-04-07
Posts: 106

[Solved] how to write german "umlaute" on US keyboard?

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

#2 2012-01-14 11:57:21

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: [Solved] how to write german "umlaute" on US keyboard?

In X, you probably want 'xmodmap'.  See this post: https://bbs.archlinux.org/viewtopic.php … 09#p858309.

Offline

#3 2012-01-14 12:52:32

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: [Solved] how to write german "umlaute" on US keyboard?

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

#4 2012-01-14 13:46:50

keen90
Member
From: Europe
Registered: 2010-04-07
Posts: 106

Re: [Solved] how to write german "umlaute" on US keyboard?

@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

#5 2012-01-14 14:17:24

keen90
Member
From: Europe
Registered: 2010-04-07
Posts: 106

Re: [Solved] how to write german "umlaute" on US keyboard?

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

#6 2012-01-14 15:20:41

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: [Solved] how to write german "umlaute" on US keyboard?

keen90 wrote:

@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

#7 2012-01-14 17:32:05

keen90
Member
From: Europe
Registered: 2010-04-07
Posts: 106

Re: [Solved] how to write german "umlaute" on US keyboard?

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

#8 2012-01-14 17:41:00

keen90
Member
From: Europe
Registered: 2010-04-07
Posts: 106

Re: [Solved] how to write german "umlaute" on US keyboard?

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

#9 2012-01-14 18:15:02

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: [Solved] how to write german "umlaute" on US keyboard?

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

#10 2012-01-14 18:42:24

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [Solved] how to write german "umlaute" on US keyboard?

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

#11 2012-01-14 19:43:15

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,858
Website

Re: [Solved] how to write german "umlaute" on US keyboard?

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

#12 2012-01-15 09:53:25

keen90
Member
From: Europe
Registered: 2010-04-07
Posts: 106

Re: [Solved] how to write german "umlaute" on US keyboard?

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

#13 2012-01-15 10:02:12

keen90
Member
From: Europe
Registered: 2010-04-07
Posts: 106

Re: [Solved] how to write german "umlaute" on US keyboard?

Ok I decided for the altgr-intl trick proposed by raynman. Works fine. Thanks!

Offline

#14 2016-07-12 09:05:30

rgzfxf6bhu
Member
Registered: 2015-10-30
Posts: 100

Re: [Solved] how to write german "umlaute" on US keyboard?

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

#15 2016-07-12 09:12:52

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,858
Website

Re: [Solved] how to write german "umlaute" on US keyboard?

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

Board footer

Powered by FluxBB