You are not logged in.

#1 2016-09-18 22:53:36

dragon321
Member
Registered: 2016-01-24
Posts: 21

GNOME - Terminal doesn't start and apps runs in different language

Hello everyone.

I'm using Arch Linux with GNOME3 (GNOME Shell) desktop environment. I have problem with GNOME terminal and some GNOME apps like gedit, screenshot etc.

When I launch my computer everything works fine - terminal working without problems and applications runs in right language. But after some time such problems occur:
-GNOME Terminal doesn't start when I try to run it from menu or another terminal. It creates process, but nothing shows.Terminal output is empty - it's looks like it has stopped. I can run gnome-terminal with dbus-launch command.
-I'm using Arch Linux in Polish language (pl_PL.UTF-8). I have correct value in /etc/locale.conf. I generated locale for English too (en_US.UTF-8), but I set LANG value to pl_PL.UTF-8. After some time from boot GNOME applications (gedit, screenshot, videos) runs in English language. Rest applications (nautilus, rhytmbox, epiphany, archives) runs correct in Polish language. When I run problematic applications in terminal, they runs correct in Polish language - problem occur when I run applications from menu.

I don't know wheter these problems are linked, but I noticed them together (when I can't run terminal, gedit runs in English language). Let me remember - this problems occur after some time from boot.

I'm sorry for mistakes, English isn't my native language.

Offline

#2 2016-09-19 19:08:06

mx_joao
Member
From: Brasil
Registered: 2011-12-02
Posts: 46

Re: GNOME - Terminal doesn't start and apps runs in different language

I had some problems regarding gnome-terminal, which I fixed by setting the locale and LANG settings correctly.

https://wiki.archlinux.org/index.php/Lo … ng_locales

Offline

#3 2016-09-20 13:05:59

dragon321
Member
Registered: 2016-01-24
Posts: 21

Re: GNOME - Terminal doesn't start and apps runs in different language

I think I have correct locale settings. Here is output of locale:

LANG=pl_PL.UTF-8
LC_CTYPE="pl_PL.UTF-8"
LC_NUMERIC=pl_PL.UTF-8
LC_TIME=pl_PL.UTF-8
LC_COLLATE="pl_PL.UTF-8"
LC_MONETARY=pl_PL.UTF-8
LC_MESSAGES="pl_PL.UTF-8"
LC_PAPER=pl_PL.UTF-8
LC_NAME="pl_PL.UTF-8"
LC_ADDRESS="pl_PL.UTF-8"
LC_TELEPHONE="pl_PL.UTF-8"
LC_MEASUREMENT=pl_PL.UTF-8
LC_IDENTIFICATION="pl_PL.UTF-8"
LC_ALL=

and cat /etc/locale.conf:

LANG=pl_PL.UTF-8

Let me remeber: Applications runs in correct language after boot. After some time they run in wrong language, but when I run they from terminal, they run in correct language. Something mess locale in graphics environment.

Offline

#4 2016-09-20 15:03:50

seth
Member
Registered: 2012-09-03
Posts: 49,997

Re: GNOME - Terminal doesn't start and apps runs in different language

you might inspect the environment for any running process

tr '\0' '\n' < /proc/$PID/environ | grep -E 'LC|LANG'

For $PID, try the pid of wrongly/untranslated processes resp. the shell ("pidof gnome-shell"? no gnome here)

Online

#5 2016-09-21 11:51:21

dillebidum
Member
Registered: 2016-09-21
Posts: 19

Re: GNOME - Terminal doesn't start and apps runs in different language

Try

sudo locale-gen

and reboot. GNOME Terminal should start after that.

Last edited by dillebidum (2016-09-21 11:53:03)


A normal Arch user. A KISS lover. YouTube-in-files downloader. Hater of 32-bit binaries. Power user of virtual machines.
If that isn't enough for you, look here.

Offline

Board footer

Powered by FluxBB