You are not logged in.

#1 2014-11-14 14:44:17

dr-kart
Member
Registered: 2011-01-09
Posts: 50

[SOLVED] home folder names are not corresponding my locale

openbox. Installed with "LANG=ru_UA.UTF-8" locale.

But right after using bit buggy "turbulence" soft
my home folders had switched to English names such as Desktop, Downloads, Documents etc.

How can I get my locale-corresponded home folder names back?

Last edited by dr-kart (2014-11-14 16:46:18)

Offline

#2 2014-11-14 15:05:17

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [SOLVED] home folder names are not corresponding my locale

I think they should respect your LANG environment variable, make sure you don't have different locale set in ~/.config/user-dirs.locale

or you could try

echo "ru_UA" > ~/.config/user-dirs.locale

if that doesn't work there's probably something generally wrong with the locale in your system.

Offline

#3 2014-11-14 15:31:51

dr-kart
Member
Registered: 2011-01-09
Posts: 50

Re: [SOLVED] home folder names are not corresponding my locale

'ru_UA' in user-dirs.locale

but i found in user-dirs.dirs

#II This file is written by xdg-user-dirs-update
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"



so I guess that's the problem. No?

Offline

#4 2014-11-14 15:49:56

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [SOLVED] home folder names are not corresponding my locale

If I'm not mistaken, user-dirs.dirs should be updated according your locale settings when you run xdg-user-dirs-update, or possibly by some desktop environments.
You could also manually edit it, to change user directory names to your preference.

See https://wiki.archlinux.org/index.php/Xd … irectories

Offline

#5 2014-11-14 16:14:34

dr-kart
Member
Registered: 2011-01-09
Posts: 50

Re: [SOLVED] home folder names are not corresponding my locale

Thank You! I just edited user-dirs.locale and get Cyrillic names back.

Offline

Board footer

Powered by FluxBB