The calculator in previous Mate versions adapted to the user selected keyboard type-layout (e.g. German). This meant that when using the number pad to enter a decimal the calculator would treat the “ , ” as a period (on a German keyboards number pad the period is replaced with a comma). Using the current calculator requires moving from the number pad to the main keys whenever entering a decimal.
Can this be changed to work the same way it did in previous versions, is there a setting I have overlooked?
The reference to "Region and Language" in UM 24.04 is promising, but still doesn't offer the full customization of numeric formats that was available in some of the much earlier versions of Ubuntu. You need to assess each of the choices offered and choose very carefully to fit your needs.
BTW ... I found no quick fix using gsettings or dconf-editor.
If that doesn't meet your needs, and you feel willing for a bit of work, you might want to look at all the following before attempting to make changes by creating your own custom locale file for which you would never have to worry about again:
Sorry, just realized this is in Development Discussion. I can delete this response and shift it over to a "Tip and Trick", if asked by a Moderator.
thanks for the reply,
I will have a look at the links and see what I can work out.
I use both "en" and "de" keyboard layouts and when switching to the one or the other, the "decimal separator" is changed accordingly (for the NUMPAD).
Make sure you have installed the additional proposed software / configs by opening the "Control Center -> Hardware -> Keyboard" (it will automatically propose to "finish" the installation by installing and configuring the required packages).
In "Control Center -> Keyboard -> Keyboard Preferences -> Keyboard layout" I have checked the options:
- Separate layout for each window
- New windows use the current window's layout
Make sure after opening the "MATE Calculator" app to check / switch to the required keyboard layout.
I'm using a "Cherry Stream" keyboard (105-keys +).
I have checked my system and it is configured the same way as described by radax05.
I have found that when the number lock is active I can use the number pad to enter numbers etc in the calculator but the comma key doesn't function.
Then with the number lock deactivated I can enter numbers etc to the calculator and the comma key works as expected, providing a decimal point.
Incredibly this calculator number pad-number lock behavior is reversed when I enter values in LibreCalc, where things work as expected, i.e. number lock on = numbers entered and comma key results in a decimal and with the number lock off = no numbers entered .
Because I am using an old wireless Logitech keyboard I am currently searching for a different keyboard to try.
Remapping keyboard keys may be more convenient
https://linuxconfig.org/reprogram-keyboard-keys-with-xmodmap