Ubuntu – Numeric Keypad – switch comma “,” to period “.” (German keyboard layout)

keyboardkeyboard-layoutlanguagenumpad

The German decimal mark standard is a comma (e.g. 1.400,50 one-thousand-fourhundred-euro-and-fifty-cent).

Most apps use the US standard period. Is there a way to quickly switch the comma to a period on the numeric keypad (and back)?

enter image description here

Best Answer

In Ubuntu 18.04 I couldn't find any appropriate option in "standard" settings (neither in Devices -> Keyboard, nor in Region & Language).

The "clickable" solution I found uses gnome-tweak-tool that I had previously installed for other reasons: sudo apt install gnome-tweak-tool

To run the tool hit Win button and type Tweaks.

In the app in Keyboard & Mouse tab click Additional Layout Options and open the Numeric keypad Delete behavior section. Multiple of the available options there worked for me (I have selected Four-level key with dot as my default).

The nice thing with this solution is that the change is applied instantly as you select the option (no need to click apply or anything). This might be useful if you need to change temporarily to do something and go back to default - just leave the app open do your thing and click back when you are done.