Way to set locale setting on user level

Message
Author
advice1010
Posts: 340
Joined: Tue Feb 21, 2023 3:50 pm

Way to set locale setting on user level

#1 Post by advice1010 »

MX 23.5 XFCE

I know you can use MX Locale or edit text file /etc/default/locale to change locale settings, but I was wondering if this could be done on a user level instead somewhere in users home folder.

I thought it might work by editing the following file and I have also seen others mention this but did not seem to do anything when edited / machine restart
~/.config/user-dirs.locale

Thank You

User avatar
RJP
Posts: 8
Joined: Sun Mar 09, 2025 9:15 am

Re: Way to set locale setting on user level

#2 Post by RJP »

I suppose that you need to add xdg-user-dirs-gtk-update to the startup applications? The path to xdg-user-dirs-gtk-update is

Code: Select all

/etc/xdg/autostart/xdg-user-dirs-gtk-update

advice1010
Posts: 340
Joined: Tue Feb 21, 2023 3:50 pm

Re: Way to set locale setting on user level

#3 Post by advice1010 »

Thank you.
I did not try this.
I was just wondering if I was overlooking something that was more common such as a setting.
Just seemed strange to me that something like locale setting would not be something that could be set per user in their $HOME based folders, rather than have to be a root / system based setting that all users would have to use the same setting.

Thank you again for responding

User avatar
atomick
Posts: 149
Joined: Tue Jan 30, 2024 11:16 pm

Re: Way to set locale setting on user level

#4 Post by atomick »

one could check /usr/sbin/update-locale or man update-locale

https://unix.stackexchange.com/question ... e-for-user

shares possibly a feature set in .bashrc see the article few offerings to answer with "For More Look Here"
consider a systems admin friend supporting multi-culture networks and terminal workstation preferences.
most have a system common load and user preferences are secondary. search the web. most now is AI controlled and has full access so
"how to set locale perferences for user account" as a search might reap bed time stories to learn by. see the link

Post Reply

Return to “General”