Hello,
First of all - thanks for GhostBSD, a very impressive implementation of FreeBSD. I have just installed GhostBSD 20.8.4 FreeBSD 12.2-STABLE amd64 with XFCE. All very smooth for a new install but I have a problem with apps like Thunderbird and KMYMoney showing dates in MM/DD/YYYY format but in my country we use DD/MM/YYYY.
Date correctly shows "Sun Oct 25 11:14:57 AEDT 2020" but locale shows:
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_ALL=
All should show "=en_AU.UTF-8"
I am unfamiliar with OpenRC and would appreciate some guidance in implementing the correct locale settings.
Thanks,
Ron Chambers
Melbourne, Australia
Setting correct location
Re: Setting correct location
It seems that not all addons are available for this version of thunderbird. It is to new.
Re: Setting correct location
OpenRC is a dependency-based init system.
If you like to know something about OpenRC read: https://wiki.ghostbsd.org/index.php/OpenRC.
If you like to know something about OpenRC read: https://wiki.ghostbsd.org/index.php/OpenRC.
-
- Posts: 6
- Joined: Sat May 11, 2019 11:23 pm
Re: Setting correct location
Thanks for responding slughorn.
I did read that section of the GhostBSD documentation but are still no closer to fixing this issue. I have tried changing the various .profile and login.conf files and then doing the "cap_mkdb" on the appropriate file but without changing success in changing the locale. It is system wide and affects all date displays including those in Thunar and PCMANFM. My theory is still that OpenRC configuration is the root cause but a solution has not yet revealed itself. Guess I will just have to live with it until I crack it.
Ron
I did read that section of the GhostBSD documentation but are still no closer to fixing this issue. I have tried changing the various .profile and login.conf files and then doing the "cap_mkdb" on the appropriate file but without changing success in changing the locale. It is system wide and affects all date displays including those in Thunar and PCMANFM. My theory is still that OpenRC configuration is the root cause but a solution has not yet revealed itself. Guess I will just have to live with it until I crack it.
Ron
Re: Setting correct location
Try changing the LANG variable in ~/.profile. It work for me
In my case LANG variable was in the last line
In my case LANG variable was in the last line
-
- Posts: 6
- Joined: Sat May 11, 2019 11:23 pm
Re: Setting correct location
Thanks for responding mapsware.
I tried what you suggest plus changing .login_conf and running cap_mkdb but still no success with either .profile or .login. My Timezone is correct and clock is running OK so I guess I will just live with the way each of the apps - e.g. Caja - displays dates. Caja at least allows for different date formats in preferences but PCMANFM seems not to.
Ron
I tried what you suggest plus changing .login_conf and running cap_mkdb but still no success with either .profile or .login. My Timezone is correct and clock is running OK so I guess I will just live with the way each of the apps - e.g. Caja - displays dates. Caja at least allows for different date formats in preferences but PCMANFM seems not to.
Ron
Re: Setting correct location
Maybe you forgot to export the variable, let us know the output of locale and the content of your ~/.profile
I am in Mexico, searching the possible locale config for my country
In mi ~/.profile I have
I accomplish my locale configuration
I am in Mexico, searching the possible locale config for my country
Code: Select all
user@host ~% locale -a | grep MX
es_MX.ISO8859-1
es_MX.UTF-8
Code: Select all
CHARSET=UTF-8; export CHARSET
LANG=es_MX.UTF-8; export LANG
Code: Select all
user@host~% locale
LANG=es_MX.UTF-8
LC_CTYPE="es_MX.UTF-8"
LC_COLLATE="es_MX.UTF-8"
LC_TIME="es_MX.UTF-8"
LC_NUMERIC="es_MX.UTF-8"
LC_MONETARY="es_MX.UTF-8"
LC_MESSAGES="es_MX.UTF-8"
LC_ALL=