You are not logged in.
Hello community. I use a german keyboard. When I search only in the Steam client for a game or want to write in chat, the umlauts (Ä Ö Ü ß) are not recognized or written. Every time I tap on an umlaut nothing is written. I have been searching the internet for solutions for two days and no solution has helped me or the "locale-gen" command did not work. Please help
Terminal:
locale -a
C
C.UTF-8
de_DE.utf8
POSIX
The internet says you need en_US.UTF-8. If so, how can you achieve that with Devuan?
@edit
OS: Devuan GNU/Linux 4 (chimaera) x86_64
Kernel: 5.10.0-19-amd64
DE: Cinnamon 4.8.6
Terminal: gnome-terminal
Last edited by Rainbow Sun (2022-11-13 20:33:14)
OS: Devuan GNU/Linux 4 (chimaera) x86_64
Kernel: 5.10.0-19-amd64
DE: Cinnamon 4.8.6
Offline
you need en_US.UTF-8
^ This.
how can you achieve that with Devuan?
# dpkg-reconfigure locales
Brianna Ghey — Rest In Power
Offline
I have also tried this and get the error in the terminal. "Command not found."
terminal bash: dpkg-reconfigure: Kommando nicht gefunden.
OS: Devuan GNU/Linux 4 (chimaera) x86_64
Kernel: 5.10.0-19-amd64
DE: Cinnamon 4.8.6
Offline
Did you use a root terminal? Did you become root with su -?
Offline
Yes with only Su
su
(password)
dpkg-reconfigure
bash: dpkg-reconfigure: Command not found.
OS: Devuan GNU/Linux 4 (chimaera) x86_64
Kernel: 5.10.0-19-amd64
DE: Cinnamon 4.8.6
Offline
Rainbow Sun
Try specifying the full path to the program /usr/sbin/dpkg-reconfigure
Regards.
Offline
rolfie has already told the OP how to use su correctly. Let's see if they can put the pieces together...
Brianna Ghey — Rest In Power
Offline
Terminal =
#01 normaluser: su
#02 Passwort:
#03 bash: Warnung: setlocale: LC_ALL: Kann die Regionseinstellungen nicht ändern (en_US.UTF-8): Datei oder Verzeichnis nicht gefunden
#04 root: /usr/sbin/dpkg-reconfigure locales
#05 /var/lib/dpkg/info/locales.postinst: 64: locale-gen: not found
#06 root: /usr/sbin/locale-gen
#07 Generating locales (this might take a while)...
#08 de_DE.UTF-8... done
#09 en_US.UTF-8...[error] cannot open locale definition file `en_GB': No such file or directory
#10 done
#11 Generation complete.
#12 root: locale -a
#13 C
#14 C.UTF-8
#15 POSIX
#16 de_DE.utf8
I changed something earlier and I don't know how to fix the first error message (#03) in the terminal and the following command doesn't fix the problem either.
echo "export LC_ALL= " >> ~/.bashrc
I get the message number 03 whenever I become root. What can I do if I get error number 09?
Last edited by Rainbow Sun (2022-11-15 10:13:15)
OS: Devuan GNU/Linux 4 (chimaera) x86_64
Kernel: 5.10.0-19-amd64
DE: Cinnamon 4.8.6
Offline
FFS OP...
Use
su -
Do not use plain su, that will not work. You need to add the dash.
Brianna Ghey — Rest In Power
Offline
#01 normaluser: su -
#02 Passwort:
#03 -bash: Warnung: setlocale: LC_ALL: Kann die Regionseinstellungen nicht ändern (en_US.UTF-8): Datei oder Verzeichnis nicht gefunden
#04 root: dpkg-reconfigure locales
#05 Generating locales (this might take a while)...
#06 de_DE.UTF-8... done
#07 en_US.UTF-8...[error] cannot open locale definition file `en_GB': No such file or directory
#08 done
#09 Generation complete.
#10 root: locale -a
#11 C
#12 C.UTF-8
#13 de_DE.utf8
#14 POSIX
Doesn't change anything either. I can execute the dpkg-reconfigure locales command but I still get the error message #03 & #07 .
Last edited by Rainbow Sun (2022-11-15 14:37:20)
OS: Devuan GNU/Linux 4 (chimaera) x86_64
Kernel: 5.10.0-19-amd64
DE: Cinnamon 4.8.6
Offline
the following command doesn't fix the problem either.
echo "export LC_ALL= " >> ~/.bashrc
Remove that added line from ~/.bashrc
Looks like your locales are messed up so try
# apt reinstall locales
Then edit /etc/locale.gen to un-comment de_DE.UTF-8 & en_US.UTF-8, save the file and run
# locale-gen
Does dpkg-reconfigure work after that?
Brianna Ghey — Rest In Power
Offline
Oooh my god it works. Thank you so much Head_on_a_Stick. You are my hero <3 . You have identified the two problems and fixed them with the correct commands.
These were the three commands that helped me. That's all I had to do.
su -
apt reinstall locales
locale-gen
The dpkg-reconfigure command does not work after that.
Terminal error message =
root: dpkg-reconfigure
/usr/sbin/dpkg-reconfigure: bitte geben Sie ein Paket an, das Sie neu konfigurieren wollen
With only su the locale-gen command does not work and with su - the command works.
What is actually the difference between su and su - in terminal?
OS: Devuan GNU/Linux 4 (chimaera) x86_64
Kernel: 5.10.0-19-amd64
DE: Cinnamon 4.8.6
Offline
See the "su" section in https://files.devuan.org/devuan_chimaer … _notes.txt, it also provides more links to explain the situation.
Using the "Search" function of these forums would also have answered your query. We have had several threads here about the new su behaviour.
Brianna Ghey — Rest In Power
Offline
man su would also be worth reading. The man pages are always worth checking if you are having probelms with a command.
And try comparing output from echo $PATH after su and su - (also output from env and set, preferably piped into less).
Offline
You're right. Really good explanations. The man su was new to me. The improvement in Devuan you have to know first. Can I still use dpkg-reconfigure? This no longer works for me after I have reinstalled the languages with the three commands.
OS: Devuan GNU/Linux 4 (chimaera) x86_64
Kernel: 5.10.0-19-amd64
DE: Cinnamon 4.8.6
Offline
Isn't the error message explicit enough? You need to use the command like this:
# dpkg-reconfigure locales
This is useless:
# dpkg-reconfigure
Last edited by rolfie (2022-11-15 20:26:18)
Offline
Oops, you're right. I forgot something. Then I would say that this thread has been solved.
OS: Devuan GNU/Linux 4 (chimaera) x86_64
Kernel: 5.10.0-19-amd64
DE: Cinnamon 4.8.6
Offline
Sorry OP, that was my fault, I should have been more clear in respect of the dpkg-reconfigure command.
Anyway, I'm glad you got things fixed.
Brianna Ghey — Rest In Power
Offline
The man su was new to me.
One of the first things to know with any UNIX variant such as Linux is that man pages are the first place to go when you have problems. Whenever you see a recommendation to use a command you are not familiar with you should always start by reading the man page for it to see what it will do. Man itself has a man page (enter man man to see it).
Also try:
echo $PATH
su
echo $PATH
exit # or press control-d
su -
echo $PATH
Trying things out is a good way to learn how Linux works under the hood.
Offline
If from the very beginning, then from the "--help" key for almost any console program.
And for "man" as well.
Offline