You are not logged in.

#1 2020-09-27 08:47:50

Rockhopper_Penguin
Member
Registered: 2018-05-08
Posts: 6

[SOLVED] Changing locale makes my gnome-terminal inaccessible

Hey all,

I'm Dutch but always like the interface of appliances and in this case the desktop environment to be in English. It makes it easier for me to follow tutorials and generally I have a better sense of where to find apps and parameters. I run Arch on all my computers but recently I've upgraded my desktop and went with a fresh install. In local.gen I uncommented both EN(US) and NL (UTF/ISO/EURO). When I set locale to nl everything works fine but I really don't like my apps being translated. When I set LANG=en_US.UTF-8, I get what I want but gnome-terminal doesn't load up. When I use for example Tilda to open up the terminal from another terminal emulator it spits out that it defaults to c locale. I feel like I'm missing something important here.

Can someone offer a solution or explanation on this matter? Thanks!

Last edited by Rockhopper_Penguin (2020-10-01 10:28:35)

Offline

#2 2020-09-27 10:57:36

StJimmy
Member
From: De Lage Landen
Registered: 2020-02-26
Posts: 71

Re: [SOLVED] Changing locale makes my gnome-terminal inaccessible

Have you run locale-gen as root after uncommenting those locales, to make sure they're actually generated?


Nanos gigantum humeris insidentes.

Offline

#3 2020-09-29 15:01:29

Rockhopper_Penguin
Member
Registered: 2018-05-08
Posts: 6

Re: [SOLVED] Changing locale makes my gnome-terminal inaccessible

Ran as SU not sudo.

Screenshot-20200929170000-506x130.png

Offline

#4 2020-09-29 15:16:49

loqs
Member
Registered: 2014-03-06
Posts: 17,373

Re: [SOLVED] Changing locale makes my gnome-terminal inaccessible

What is the output of the following:

localectl
locale -a
grep -v '^#' /etc/locale.gen

Please post command outputs in code tags and not as images.

Offline

#5 2020-09-30 12:18:08

Rockhopper_Penguin
Member
Registered: 2018-05-08
Posts: 6

Re: [SOLVED] Changing locale makes my gnome-terminal inaccessible

localectl

 
System Locale: LANG=en_US.UTF-8
VC Keymap: us
X11 Layout: n/a

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
dutch
nl_NL
nl_NL.iso88591
nl_NL.iso885915@euro
nl_NL.utf8
nl_NL@euro

grep -v '^#' /etc/locale.gen

en_US.UTF-8 UTF-8  
en_US ISO-8859-1  
nl_NL.UTF-8 UTF-8  
nl_NL ISO-8859-1  
nl_NL@euro ISO-8859-15  

Googled the error (cannot set LC...), but so far no solution. Thanks for helping!

Offline

#6 2020-09-30 12:27:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,740

Re: [SOLVED] Changing locale makes my gnome-terminal inaccessible

The locale -a output suggest that you did not yet regenerate the locales. Do you get an error or so when running locale-gen as root?

Offline

#7 2020-10-01 10:16:48

Rockhopper_Penguin
Member
Registered: 2018-05-08
Posts: 6

Re: [SOLVED] Changing locale makes my gnome-terminal inaccessible

I tried it  couple of times again, even commenting Dutch language out. When I run locale-gen as root it gives me no errors. I reboot straight after. Yet the applications won't go back to English. For example the terminal is still called 'terminalvenster'.

Nevermind, I was able to change it through Gnome now. The only thing that's not exactly the way I want it is the format. I would like the European metric / 24H clock and so on, yet I can only select US. I will need to google a bit to fix this.

Thanks for all the input!

## Final edit: Done! Had to uncomment the Dutch parameters and generate the locale again. After that I was able to select it in Gnome-settings. ##

Last edited by Rockhopper_Penguin (2020-10-01 10:26:07)

Offline

Board footer

Powered by FluxBB