You are not logged in.

#1 2013-11-02 17:39:25

Creak
Member
Registered: 2013-10-23
Posts: 89

Change GDM language

Hi!

I'm trying to change the GDM default language to french, but I can't find it (I googled everywhere, I even installed gdm3setup from AUR but there is no options about languages).
I've frequently seen that I should change some lines in /etc/rc.conf to change the language, but this file doesn't exist (anymore?).

Is it at least possible to do this?

Thanks,
Creak

Offline

#2 2013-11-02 17:46:43

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Change GDM language

What's the output of 'localectl'?
rc.conf doesn't exist anymore https://www.archlinux.org/news/final-sy … n-warning/

Offline

#3 2013-11-02 17:54:06

Creak
Member
Registered: 2013-10-23
Posts: 89

Re: Change GDM language

It shows Canadian French (what I would like to have actually):

~$ localectl 
   System Locale: LANG=fr_CA.UTF-8
       VC Keymap: cf
      X11 Layout: ca

I also tried this command as root in a virtual term (Ctrl+Alt+2) and it gives the same output.

Offline

#4 2013-11-02 18:03:11

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Change GDM language

What's the output of 'locale -a'?

I know nothing about gnome and gdm, but I found some threads mentioning /var/lib/AccountsService/users/<username> e.g. https://bbs.archlinux.org/viewtopic.php … 8#p1292808
Maybe that's how you control this?

Do you have accountsservice installed?

Offline

#5 2013-11-02 18:10:34

Creak
Member
Registered: 2013-10-23
Posts: 89

Re: Change GDM language

Here is the locale -a output. I have both fr_CA and fr_FR (just in case):

~$ locale -a
C
en_US.utf8
fr_CA.utf8
fr_FR.utf8
POSIX

Apparently I have accountservice installed, I'll try to change the /var/lib/AccountsService/users/gdm file to see if it works.

BRB

Offline

#6 2013-11-02 18:42:14

Creak
Member
Registered: 2013-10-23
Posts: 89

Re: Change GDM language

Woohoo it works!!
In /var/lib/AccountsService/users/gdm, I changed the line:

Language=

to:

Language=fr_CA.UTF-8

And I rebooted and now it works.
What's strange is that after the reboot, the "Language" line is empty again. But I rebooted again and the language is still french. There is some magic behind this.

I'll update the GDM page.
https://wiki.archlinux.org/index.php/GDM#Configuration

Offline

Board footer

Powered by FluxBB