Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   Where to set language with lightdm (http://www.linux-archive.org/gentoo-user/613306-where-set-language-lightdm.html)

Michael Mol 12-23-2011 04:40 PM

Where to set language with lightdm
 
Michael Hampicke wrote:

Hey there,
I've been having some problems with GDM recently (freeze after reboot,
freeze after suspend) so I thought I'd give lightdm a shot.
So far everything works great, but I cannot set a language for a lightdm
session.

My system locale is set to en_US.utf8 because when working with command
line tools I prefere if they talk english to me.
But I like my Desktop (everything running under X) to be in german. With
GDM that was no problem: just set the system locale to english and
create a .dmrc file in the home directory where you set
'Language=de_DE.UTF-8'

Lightdm ignores that file. After some google foo I found that if you
edit /etc/lightdm/lightdm-gtk-greeter.conf and set
'show-language-selector=true' you can choose a language before logging
in (like with GDM) - however, I can choose what i wan't, my Desktop is
still in english.

So far it seems that nothing works, except setting the system's default
locale to german in /etc/env.d/02locale - but that's not what I want.

Do you have any thoughts?



Not directly related to your question, but perhaps related to your problem:

Did you rebuild all of the xf86 drivers and modules after updating xorg
from 1.10 to 1.11? I didn't run into a problem until xscreensaver kicked in.

Michael Hampicke 12-23-2011 06:11 PM

Where to set language with lightdm
 
> Did you rebuild all of the xf86 drivers and modules after updating xorg
> from 1.10 to 1.11? I didn't run into a problem until xscreensaver kicked
> in.

Yeah I did, everything is working fine, except playing videos files
using the xv video out and ati-drivers.
But there's already a bugreport on bugzilla:
https://bugs.gentoo.org/show_bug.cgi?id=391193

Aljosha Papsch 12-23-2011 11:00 PM

Where to set language with lightdm
 
Am Freitag, den 23.12.2011, 18:17 +0100 schrieb Michael Hampicke:
> Hey there,
> I've been having some problems with GDM recently (freeze after reboot,
> freeze after suspend) so I thought I'd give lightdm a shot.
> So far everything works great, but I cannot set a language for a lightdm
> session.
>
> My system locale is set to en_US.utf8 because when working with command
> line tools I prefere if they talk english to me.
> But I like my Desktop (everything running under X) to be in german. With
> GDM that was no problem: just set the system locale to english and
> create a .dmrc file in the home directory where you set
> 'Language=de_DE.UTF-8'
>
> Lightdm ignores that file. After some google foo I found that if you
> edit /etc/lightdm/lightdm-gtk-greeter.conf and set
> 'show-language-selector=true' you can choose a language before logging
> in (like with GDM) - however, I can choose what i wan't, my Desktop is
> still in english.
>
> So far it seems that nothing works, except setting the system's default
> locale to german in /etc/env.d/02locale - but that's not what I want.
>
> Do you have any thoughts?
>

As a temporary solution you may set your locale to de_DE.UTF-8 but
export LC_ALL="en_US" in the shell's rc file.

Regards,

Michael Hampicke 12-24-2011 07:36 AM

Where to set language with lightdm
 
> As a temporary solution you may set your locale to de_DE.UTF-8 but
> export LC_ALL="en_US" in the shell's rc file.

Well, I can live with that - for now :) Thx

Still hope lightdm will behave like GDM in the future. If you google
around you find some bugs related to "set language" issues, so there's
still hope.


All times are GMT. The time now is 07:49 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.