Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #190591 > unrolled thread
| Started by | john doe <johndoe65534@mail.com> |
|---|---|
| First post | 2018-01-03 10:00 +0100 |
| Last post | 2018-01-07 20:00 +0100 |
| Articles | 4 — 2 participants |
Back to article view | Back to linux.debian.user
Different language per user in MATE and change default lang of greeter john doe <johndoe65534@mail.com> - 2018-01-03 10:00 +0100
Re: Different language per user in MATE and change default lang of greeter Alex ARNAUD <alexarnaud@hypra.fr> - 2018-01-04 10:50 +0100
Re: Different language per user in MATE and change default lang of greeter john doe <johndoe65534@mail.com> - 2018-01-07 19:00 +0100
Re: Different language per user in MATE and change default lang of greeter john doe <johndoe65534@mail.com> - 2018-01-07 20:00 +0100
| From | john doe <johndoe65534@mail.com> |
|---|---|
| Date | 2018-01-03 10:00 +0100 |
| Subject | Different language per user in MATE and change default lang of greeter |
| Message-ID | <v3N3Y-4NH-5@gated-at.bofh.it> |
Hi list,
My system locale is 'C.UTF-8'.
Obviously, this is not desirable for the users.
So I want to change the language per user in MATE, so user1 would have
language 'a', user 2 lang 'b' and so on.
Thanks to the list I have all language pack installed for both users
('a' and 'b').
I have two questions:
- How can I set the language independently for each user?
- How can I change the default language at the prompt when I need to
enter the credentials (lightdm-greeter, I believe)?
All of this is on a Debian 9 installation with the packages 'debian
desktop environment' and 'MATE' ('1' and '6').
I'd like to do this using the command line, that way, the users don't
have to do it themself and I don't need to logg into each one.
--
John Doe
[toc] | [next] | [standalone]
| From | Alex ARNAUD <alexarnaud@hypra.fr> |
|---|---|
| Date | 2018-01-04 10:50 +0100 |
| Message-ID | <v4ajT-3Gm-7@gated-at.bofh.it> |
| In reply to | #190591 |
Hello John,
I've configured a multilingual system based on Debian Jessie last month.
The steps I've followed are:
1) Install the language pack of your targeted languages like
"task-english", don't miss to install the language pack for Firefox,
Thunderbird and LibreOffice if needed.
2) Enable the locales of your users and move the default locale to
"None" with :
sudo dpkg-reconfigure locales
3) Log in with one account
4) Edit the file "~/.dmrc", replace the locale with the locale you want.
5) Do the strep "4" for all the users
You have to reboot your computer after applying the configuration to
avoid cache. IMO, you should login into all your users to ensure that it
works or test the procedure on a VM first.
Could you let me know if it works correctly for you and what issues do
you have to be sure that my Jessie procedure continues to work on Stretch ?
Best regards.
--
Alex ARNAUD
Visual-Impairment Project Manager
Hypra - "Humanizing technology"
Le 03/01/2018 à 09:51, john doe a écrit :
> Hi list,
>
> My system locale is 'C.UTF-8'.
> Obviously, this is not desirable for the users.
> So I want to change the language per user in MATE, so user1 would have
> language 'a', user 2 lang 'b' and so on.
> Thanks to the list I have all language pack installed for both users
> ('a' and 'b').
>
> I have two questions:
> - How can I set the language independently for each user?
> - How can I change the default language at the prompt when I need to
> enter the credentials (lightdm-greeter, I believe)?
>
> All of this is on a Debian 9 installation with the packages 'debian
> desktop environment' and 'MATE' ('1' and '6').
> I'd like to do this using the command line, that way, the users don't
> have to do it themself and I don't need to logg into each one.
>
[toc] | [prev] | [next] | [standalone]
| From | john doe <johndoe65534@mail.com> |
|---|---|
| Date | 2018-01-07 19:00 +0100 |
| Message-ID | <v5noJ-2sM-1@gated-at.bofh.it> |
| In reply to | #190645 |
On 1/4/2018 10:50 AM, Alex ARNAUD wrote: > Hello John, > > I've configured a multilingual system based on Debian Jessie last month. > > The steps I've followed are: > 1) Install the language pack of your targeted languages like > "task-english", don't miss to install the language pack for Firefox, > Thunderbird and LibreOffice if needed. > > 2) Enable the locales of your users and move the default locale to > "None" with : > sudo dpkg-reconfigure locales > > 3) Log in with one account > > 4) Edit the file "~/.dmrc", replace the locale with the locale you want. > > 5) Do the strep "4" for all the users > > You have to reboot your computer after applying the configuration to > avoid cache. IMO, you should login into all your users to ensure that it > works or test the procedure on a VM first. > > Could you let me know if it works correctly for you and what issues do > you have to be sure that my Jessie procedure continues to work on Stretch ? > Hi Alex and sorry for my late answer :) Your procedure doesn't seem to work anymore on Debian Stretch. -- John Doe
[toc] | [prev] | [next] | [standalone]
| From | john doe <johndoe65534@mail.com> |
|---|---|
| Date | 2018-01-07 20:00 +0100 |
| Message-ID | <v5okO-398-11@gated-at.bofh.it> |
| In reply to | #190755 |
On 1/7/2018 6:52 PM, john doe wrote: > On 1/4/2018 10:50 AM, Alex ARNAUD wrote: >> Hello John, >> >> I've configured a multilingual system based on Debian Jessie last month. >> >> The steps I've followed are: >> 1) Install the language pack of your targeted languages like >> "task-english", don't miss to install the language pack for Firefox, >> Thunderbird and LibreOffice if needed. >> >> 2) Enable the locales of your users and move the default locale to >> "None" with : >> sudo dpkg-reconfigure locales >> >> 3) Log in with one account >> >> 4) Edit the file "~/.dmrc", replace the locale with the locale you want. >> >> 5) Do the strep "4" for all the users >> >> You have to reboot your computer after applying the configuration to >> avoid cache. IMO, you should login into all your users to ensure that >> it works or test the procedure on a VM first. >> >> Could you let me know if it works correctly for you and what issues do >> you have to be sure that my Jessie procedure continues to work on >> Stretch ? >> > > Hi Alex and sorry for my late answer :) > > Your procedure doesn't seem to work anymore on Debian Stretch. > I got it working: You also need to set the desired locale in '/var/lib/AccountsService/users/<USER-NAME>'. https://www.freedesktop.org/wiki/Software/AccountsService/ https://afrantzis.wordpress.com/2012/06/11/changing-gdmlightdm-user-login-settings-programmatically/ -- John Doe
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web