The officially official Devuan Forum!

You are not logged in.

#1 2023-05-21 06:40:59

devur
Member
From: Denmark
Registered: 2017-05-29
Posts: 73  

[SOLVED] system language

hi new install devuan 4
I have dk language and keyboard
but would like to change the system language to English
but not keyboard that I use with DK language
I have tried the following

@devuan:~$ env | grep LANG
LANG=da_DK.UTF-8
@devuan:~$ export LANG=en_GB.UTF-8
@devuan:~$ env | grep LANG
LANG=en_GB.UTF-8
# dpkg-reconfigure locales
bash: dpkg-reconfigure: kommando ikke fundet

and edited

# nano /etc/locale.gen
#da_DK.UTF-8 UTF-8

en_DK ISO-8859-1
en_DK.ISO-8859-15 ISO-8859-15
en_DK.UTF-8 UTF-8
# dpkg-reconfigure locales
bash: dpkg-reconfigure: kommando ikke fundet

but it doesn't work for me?


Laptop lenovo
Desktop XFCE
Os Devuan GNU/Linux

Offline

#2 2023-05-21 09:14:10

Camtaf
Member
Registered: 2019-11-19
Posts: 436  

Re: [SOLVED] system language

Maybe, change system language, then use setxkbmap &/or loadkeys for your keyboard?

Offline

#3 2023-05-21 11:06:55

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,486  

Re: [SOLVED] system language

bash: dpkg-reconfigure: kommando ikke fundet

Use 'su -' instead of just 'su' to become root. That way you will get root's $PATH.

The other way to fix this is to use the full path to the command... 

/usr/sbin/dpkg-reconfigure...

See 'man su' for yet another solution.

Offline

#4 2023-05-21 12:04:57

devur
Member
From: Denmark
Registered: 2017-05-29
Posts: 73  

Re: [SOLVED] system language

yes that works

su -

makes all the difference


Laptop lenovo
Desktop XFCE
Os Devuan GNU/Linux

Offline

Board footer