Ask Your Question

How to configure your decimal separator (and other internationalisations)

asked 2014-10-06 17:53:37 -0600

oberdada gravatar image

updated 2014-10-06 18:41:01 -0600

mether gravatar image

In some parts of the world, a decimal number is written with a dot as the decimal separator, in other parts they are separated with a comma. Many applications expect to see a dot when you feed them numbers. Is there any easy way to configure the system so that a computer with a numeric keypad will use a dot as decimal separator even though it would not agree with the internalisation standard?

edit retag flag offensive close merge delete


There are keymaps that you can use with ibus input framework. If I can know which country keyboards you want to use then we can check if keymaps for you are available or not and if exisiting keymap is available then it can be used by you.

pnemade gravatar imagepnemade ( 2014-10-06 22:32:57 -0600 )edit

I'm using a Swedish keyboard. Maybe I should emphasize that the only thing I wish to change is the decimal separator on the keypad, the rest of the keyboard should remain as it is. How do you use ibus?

oberdada gravatar imageoberdada ( 2014-10-19 09:31:55 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2014-10-07 16:40:29 -0600

Abraham Simpson gravatar image

Click on Settings -> Region & Languages. Select the desired settings. You could have different languages, formats, and input sources (keyboard layout, that is).

edit flag offensive delete link more

answered 2014-10-10 16:41:13 -0600

mclmmc gravatar image

VARIABLE=new-value program

this is the way to run a program by temporarily changing an environment variable.

LANG=en_EN.utf8 oocalc


LC_ALL=en_EN.utf8 oocalc

this run oocalc with all locale in English.

LC_PAPER=en_EN.utf8 oocalc

this run oocalc changing only the pinter paper definition

man 7 locale (for a complete list of locale variable)

now you know how to do it temporaly, and to make it permanent ... where you declare a variable environment?

edit flag offensive delete link more


Note there is no en_EN locale available on Fedora. Mostly en_US is used.

pnemade gravatar imagepnemade ( 2014-10-11 02:53:53 -0600 )edit

Thanks, I got the desired behaviour in oocalc using en_US. However, what I really need is to get gedit and other text editors as well as the gnome terminal to use dots instead of commas.

oberdada gravatar imageoberdada ( 2014-10-19 09:27:35 -0600 )edit

have you tried running those applications in similar way like you run oocalc using LC_* variables

pnemade gravatar imagepnemade ( 2014-10-19 09:36:33 -0600 )edit

Question Tools

1 follower


Asked: 2014-10-06 17:53:37 -0600

Seen: 1,424 times

Last updated: Oct 10 '14