Re: set decimal separator permanently

Since there is no such file, create it; run this in a terminal.

    echo 'export LC_NUMERIC="en_US.UTF-8"' > ~/.xinitrc

To do it for just Gnumeric, you could run Gnumeric like this.

    LC_NUMERIC="en_US.UTF-8" gnumeric

If you have a graphical shortcut that executes `gnumeric`,
have it execute `LC_NUMERIC="en_US.UTF-8" gnumeric` instead.

I have never looked into the decimal separator issue; I'm just
guessing that this is how environment variables will work.

On 30 Apr 18:24, Robert Andreasen wrote:

One approach would be to export LC_NUMERIC="en_US.UTF-8"
in such a way that it is in the environment of the window
manager (and hence the window manager's children).

One way to do this would be to add the export command to
the .xinitrc file, and then restart the window manager.

Note that LC_NUMERIC is part of the "locale" and will
affect lots of apps, not just gnumeric.

There is no such file on my system.

Is there any other way to change the decimal separator only for the
gnumeric application?

Best regards
gnumeric-list mailing list
gnumeric-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]