Не могу сделать английский интерфейс с поддержкой файлов на русском.
Решил некоторое время назад переустановить линух. До этого больше года всё с локалью нормально было: интерфейс английский, русские файлы видны. И при этом никаких танцев с бубном я не предпринимал.
Сейчас у меня получается сделать только два варианта:
интерфейс частично на английском (консоль и памак на русском, может что ещё, но пока так), русские файлы видны везде.
интерфейс на английском (правда в памак некоторые элементы на русском), русские файлы не видны в double commander и libreoffice (может ещё где, не проверял, да и программ у меня мало).
Настройки при первом варианте:
Summary
В Настройках:
locale:
English en_US.UTF-8 – Display Language - English
Русский ru_RU.UTF-8 – Formats - русский
Regional settings
Language: American English и русский
Formats: Region: россия - русский (ru_RU)
System Locale: LANG=en_US.UTF-8
LC_NUMERIC=ru_RU.UTF-8
LC_TIME=ru_RU.UTF-8
LC_MONETARY=ru_RU.UTF-8
LC_PAPER=ru_RU.UTF-8
LC_NAME=ru_RU.UTF-8
LC_ADDRESS=ru_RU.UTF-8
LC_TELEPHONE=ru_RU.UTF-8
LC_MEASUREMENT=ru_RU.UTF-8
LC_IDENTIFICATION=ru_RU.UTF-8
VC Keymap: us
X11 Layout: us
X11 Model: pc105
консоль “locale -a”:
C
en_US.utf8
POSIX
ru_RU.utf8
Настройки при втором варианте:
Summary
В Настройках:
Locale:
English en_US.UTF-8 – Display Language & Formats
Regional settings
Language: American English и русский
Formats: Region: россия - русский (ru_RU)
/etc/locale.conf
LANG=en_US.UTF-8
/etc/locale.gen
en_US.UTF-8 UTF-8
консоль “locale”:
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=ru_RU.UTF-8
LC_CTYPE=“ru_RU.UTF-8”
LC_NUMERIC=“ru_RU.UTF-8”
LC_TIME=“ru_RU.UTF-8”
LC_COLLATE=“ru_RU.UTF-8”
LC_MONETARY=“ru_RU.UTF-8”
LC_MESSAGES=“ru_RU.UTF-8”
LC_PAPER=“ru_RU.UTF-8”
LC_NAME=“ru_RU.UTF-8”
LC_ADDRESS=“ru_RU.UTF-8”
LC_TELEPHONE=“ru_RU.UTF-8”
LC_MEASUREMENT=“ru_RU.UTF-8”
LC_IDENTIFICATION=“ru_RU.UTF-8”
LC_ALL=
консоль “localectl”:
System Locale: LANG=en_US.UTF-8
VC Keymap: us
X11 Layout: us
X11 Model: pc105
консоль “locale -a”:
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
en_US.utf8
Ещё вариант попробовал: [root tip] Troubleshooting locale errors
It’s automounted. I don’t know exact command)
But i’ve tried just now sudo mount /dev/sdb1 /mnt/333/ and it’s the same. Strange thing is that one program sees cyrillic (dolphin) and another doesn’t (double commander). And yes NTFS used.
/dev/sda2 on / type ext4 (rw,noatime)
/dev/sda3 on /home type ext4 (rw,noatime)
/dev/sda4 on /run/media/user/medi type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
You should close all applications that are currently using the disk and then try the following commands:
sudo umount /dev/sda4 #if that gives an error: no worries: your disk wasn't mounted
sudo mkdir /media/mydisk
sudo mount -t ntfs-3g -o rw,inherit,default_permissions,allow_other,streams_interface=windows,windows_names,compression,norecover,hide_dot_files,hide_hid_files,big_writes,codepage=855 /dev/sda4 /media/mydisk
once we’re certain that works, we’ll transfer it into fstab (to circumvent errors during boot)
obviously, change mydisk to whatever you like (if it’s a disk containing videos, use videos if an archive disk, use archive etc.
Tests to perform:
Are existing files in русский язык showing up correctly?
can you create a file in русский язык?
Then report back and we’ll make this permanent in fstab.
Try Midnight Commander as that’s been out for a while now and if that works too, it’s a bug in Double Commander (Still in Beta?) and you should let them know…
Something else is going on then… I think so too) (you never gave that) In first post in russian…
Summary
/etc/locale.conf
LANG=en_US.UTF-8
/etc/locale.gen
en_US.UTF-8 UTF-8
“locale”:
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=ru_RU.UTF-8
LC_CTYPE=“ru_RU.UTF-8”
LC_NUMERIC=“ru_RU.UTF-8”
LC_TIME=“ru_RU.UTF-8”
LC_COLLATE=“ru_RU.UTF-8”
LC_MONETARY=“ru_RU.UTF-8”
LC_MESSAGES=“ru_RU.UTF-8”
LC_PAPER=“ru_RU.UTF-8”
LC_NAME=“ru_RU.UTF-8”
LC_ADDRESS=“ru_RU.UTF-8”
LC_TELEPHONE=“ru_RU.UTF-8”
LC_MEASUREMENT=“ru_RU.UTF-8”
LC_IDENTIFICATION=“ru_RU.UTF-8”
LC_ALL=
“localectl”:
System Locale: LANG=en_US.UTF-8
VC Keymap: us
X11 Layout: us
X11 Model: pc105
“locale -a”:
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
en_US.utf8
I have British English as default language and Irish settings for the € and °C and … and I can see fine! (Maybe there is something that’s missing from English…)
If even that doesn’t work, I’m calling in someone else…
With this settings dc & libreoffice sees cyrillic files but I have partly russian interface (some programs in russian - for example in console and pamac)
Libreoffice has its own setting for interface language.
Alt+F12 -> Language Settings -> Language -> User Inteface Language.
But you need to install libreoffice-fresh-ru to be able to get Russian UI.
All those things with LC_… I can’t solve myself. I love to get rid of German UI to be able to present screenshots in English, but I’m too lazy to resolve it.
With this libreoffice (and dc) can see cyrillic files but I have some programs with russian interface (console, paman). I want interface to be in english and programs can see cyrillic files. And I can’t understand how to do it.