That can't work if the locales are not installed. LC_ALL=en_GB.utf8 set in your environment. To set the locale then you probably have either LANG=en_GB.utf8 or Because in order to have the error of being unable Alternatively you could disable locales by setting LC_ALL=C > install it (apt-get install locales) and then configure it to yourĪgreed. > computer (rc means removed, but configuration files left). > indicates that for some reason, locales is not installed on your > rc locales 2.11.3-4 Embedded GNU C Library: > locale: Cannot set LC_COLLATE to default locale: No such file or directory To set the default system-wide language, run the command: localectl set-locale LANGlocale Where: locale is the appropriate value for the LANG environment variable Here an example for setting system-wide default language to Russian: sudo localectl set-locale LANGruRU. If it's GNOME, install gnome-tweak-tool run it and navigate to its 'Fonts' tab. How to tweak it, depends on what desktop environment you're using. youtube How do you set a locale non-interactively on Debian/Ubuntu Web8 mrt. > locale: Cannot set LC_MESSAGES to default locale: No such file or directory at 15:08 IIUC, your problem has nothing to do with locales but rather with fonts - in particular with 'screen smoothing' of them. 2019 sudo localectl set-locale LANGenUS.utf8 sudo localectl set-locale. > locale: Cannot set LC_CTYPE to default locale: No such file or directory > -bash: warning: setlocale: LC_ALL: cannot change locale (en_GB.utf8) To UNSUBSCRIBE, email to a subject of "unsubscribe". Rc locales 2.11.3-4 Embedded GNU C Library: |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) This setup is different than a traditional Linux set up. Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend WSL install will try to automatically change the Ubuntu locale to match the locale of your. Now it seems that I cannot install the locale-gen but locale is installĭesired=Unknown/Install/Remove/Purge/Hold Locale: Cannot set LC_COLLATE to default locale: No such file or directory Locale: Cannot set LC_MESSAGES to default locale: No such file or directory Configure System Locale on Debian 9 - RoseHosting WebMar 25. Locale: Cannot set LC_CTYPE to default locale: No such file or directory To display the currently set locale and its related environmental settings, type: locale. NOTE: Replace "de_DE.-bash: warning: setlocale: LC_ALL: cannot change locale (en_GB.utf8) add the following to the ~/.profile for the user you wish to change the environment language for:.So if you set the default to none, then you must set a specific language for each individual account separately, as per instructions below. For example, after this, my Gnome terminal wouldn't start anymore. This can cause some apps to not operate properly. NOTE 1: At the end, the wizard recommends setting the default language to None if other people are likely to ssh into this system. select the languages you wish to install.The settings GUI shows the right values, but the desktop environment ignores them. Right now, the account I had tried to change to German is in English, whereas the admin account is in German. (also tried it without the colon at the beginning, same result) To /etc/profile, but this broke the system so that I could no longer login. For some reason, when I run the dpkg-reconfigure locales, it sets the first value without quotation marks and the second with them (or probably sets only one of them).įollowing the other suggestions on Debian wiki, I tried the ~/.dmrc solution which did not work. If you think the first line is missing quotation marks, I tried all permutations and it didn't change anything. In /etc/default/locale didn't work either. After logout and login the admin account remained German, while the account that I wished to turn to German is back in English. I also set the relevant fields in the Region and Language section of the Settings GUI. It simply comments out the LANG line in /etc/default/locale. Then as per suggestion on Debian wiki, I ran dpkg-reconfigure locales and set the default to None. WebAs said here in the Debian Wiki, you can edit /etc/locale.gen and add all locales (or. I did that and it seemed to work, with the caveat that now my admin account also changed language to German. Somebody suggested that I should edit /etc/default/locale. This is on a non-admin account, but I have access to root.Īlso I notice that on the Login screen, the day is shown in German and months names in Calendar are in German, but most everything else (menus, options, messages, etc.) is in English. The value of Language and Format fields are shown as German but the environment is still in English. After I restart the session, everything is still in English. I set both Language and the Formats to German and Germany respectively in the Region and Language section of Settings GUI.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |