Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Works but don't know why] Locale changed / not supported
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
heikkikk
Apprentice
Apprentice


Joined: 05 Feb 2008
Posts: 220

PostPosted: Wed Oct 16, 2019 10:41 am    Post subject: [Works but don't know why] Locale changed / not supported Reply with quote

hello.

My locale settings got broken or something...

What i did was this:

I booted up the computer.
everything worked fine.

I installed net-dns/bind-tools
and i ran some checks with dig +short bla bla bla....

then i shut down the computer, went to the city and came back.

Then i turned on the computer, it asked me if i'd like to change the default folder names from spanish to english. I selected no.

gnome-terminal is no more running.
From the console if i run
Code:
DISPLAY=":0.0" gnome-terminal


it says
locale not supported by C library.
Using the fallback 'c' locale.

i tried running locale-gen and it didn't help.

I have these settings:

/etc/env.d/02locale
Code:
LANG="es_PE.utf8"

LC_MONETARY="fi_FI"
LC_TIME="es_ES"


/etc/locale.gen
Code:
en_US ISO-8859-1
en_US.UTF-8 UTF-8

es_PE ISO-8859-1
es_PE.UTF-8 UTF-8

es_ES ISO-8859-1
es_ES.UTF-8 UTF-8

fi_FI ISO-8859-1
fi_FI.UTF-8 UTF-8


Last edited by heikkikk on Thu Oct 17, 2019 9:42 am; edited 1 time in total
Back to top
View user's profile Send private message
heikkikk
Apprentice
Apprentice


Joined: 05 Feb 2008
Posts: 220

PostPosted: Wed Oct 16, 2019 11:13 am    Post subject: Reply with quote

now i rebooted, i did no changes to the system

now even the graphical environment isn't running ok.
i get a mouse cursor but nothing more
Back to top
View user's profile Send private message
heikkikk
Apprentice
Apprentice


Joined: 05 Feb 2008
Posts: 220

PostPosted: Wed Oct 16, 2019 3:28 pm    Post subject: Reply with quote

Xorg log file:
https://pastebin.com/RZSA7YKW

Dmesg:
https://pastebin.com/6vn84dvf
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Wed Oct 16, 2019 3:58 pm    Post subject: Reply with quote

  1. Which desktop environment do you use? Gnome?

  2. When you boot your machine: does it boot to a login manager? Or does it booty to a TTY console, you log in and start the X environment using 'startx'?

  3. In case you use a login (display) manager: Which one do you use?

  4. Please post the output of
    Code:
    emerge --info

  5. Please post the output of
    Code:
    eselect locale list

Back to top
View user's profile Send private message
heikkikk
Apprentice
Apprentice


Joined: 05 Feb 2008
Posts: 220

PostPosted: Wed Oct 16, 2019 4:18 pm    Post subject: Reply with quote

1. I use Gnome
2. It used to go to Gnome 3 automatically logged in as a normal user.
It doesn't go anymore. It just opens the mouse cursor
3. I use GDM
4. emerge --info: https://pastebin.com/u92HJhqZ
5.
Code:
# eselect locale list
Available targets for the LANG variable:
  [1]   C
  [2]   C.utf8
  [3]   en_US
  [4]   en_US.iso88591
  [5]   en_US.utf8
  [6]   es_ES
  [7]   es_ES.iso88591
  [8]   es_ES.utf8
  [9]   es_PE
  [10]  es_PE.iso88591
  [11]  es_PE.utf8 *
  [12]  fi_FI
  [13]  fi_FI.iso88591
  [14]  fi_FI.utf8
  [15]  POSIX
  [ ]   (free form)



BTW...
Seems like only GTK programs are NOT running.
gnome-terminal not running
gnome-shell not running
nautilus not running

But i got icewm running now. With that i can run chrome, xterm etc...

The problem is the gnome 3
Back to top
View user's profile Send private message
heikkikk
Apprentice
Apprentice


Joined: 05 Feb 2008
Posts: 220

PostPosted: Wed Oct 16, 2019 4:33 pm    Post subject: Reply with quote

And yes, icewm came in spanish, as it should.
Back to top
View user's profile Send private message
heikkikk
Apprentice
Apprentice


Joined: 05 Feb 2008
Posts: 220

PostPosted: Wed Oct 16, 2019 4:38 pm    Post subject: Reply with quote

Sorry, i take it back. I got gnome-terminal running from IceWM

But still gnome 3 not running.
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Wed Oct 16, 2019 4:44 pm    Post subject: Reply with quote

The problem is probably NOT related to locale settings.

It seems that something is wrong with your Gnome environment. Did you update or install any Gnome packages during the last 2 weeks? (look at /var/log/emerge.log or at the ouput of 'qlop -m')

The ouput of 'emerge --info' looks good. You switched to unstable/testing. Don't be surprised that things break occasionally. :)
Back to top
View user's profile Send private message
heikkikk
Apprentice
Apprentice


Joined: 05 Feb 2008
Posts: 220

PostPosted: Wed Oct 16, 2019 4:47 pm    Post subject: Reply with quote

heikkikk wrote:
Sorry, i take it back. I got gnome-terminal running from IceWM


I will take the takeback back..... or something..
Got it running once, not running anymore ????

Code:
heikki@gentookone ~ $ gnome-terminal
# Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Back to top
View user's profile Send private message
heikkikk
Apprentice
Apprentice


Joined: 05 Feb 2008
Posts: 220

PostPosted: Wed Oct 16, 2019 4:56 pm    Post subject: Reply with quote

again a different error message running gnome-terminal

got the mesage in spanish (as expected), but by running LANG="en_US.utf8" gnome-terminal
i got the same in english:
Code:
# Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
# Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.gnome.Terminal': timed out (service_start_timeout=120000ms)
Back to top
View user's profile Send private message
heikkikk
Apprentice
Apprentice


Joined: 05 Feb 2008
Posts: 220

PostPosted: Thu Oct 17, 2019 9:41 am    Post subject: Reply with quote

now from icewm i tried to run
Code:
emerge --ask --verbose media-gfx/luminance-hdr


There were 18 packages to be compiled. when it was compiling number 17 i hit Ctrl+C because i had to move the computer to another location and i have a bad battery.

I shut down the computer and at the other location the computer worked fine again. Gnome 3 started normally at the boot.
Strange.

Edit:
Any ideas on what might have caused this??
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum