Which is the proper method to set the language in XFCE?

classic Classic list List threaded Threaded
24 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Which is the proper method to set the language in XFCE?

Carlos E. R.-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

I do not see a setting to set the user language in XFCE, different from
the system language.

Traditionally I use the file .i18n file, like this:

LC_TIME=en_DK.UTF-8
LC_MONETARY=es_ES@euro
LC_NUMERIC=es_ES@euro
LC_PAPER=es_ES@euro
LC_TELEPHONE=es_ES@euro
LC_MEASUREMENT=es_ES@euro
LC_NAME=es_ES@euro

which works. But if I try to set the entire environment to Spanish, it
fails:

LANG=es_ES.utf8


I get English (this is already reported in Bugzilla). Is there another
"correct" way to set the language per user on XFCE?

- --
Cheers

  Carlos E. R.
  (from 42.2 x86_64 "Malachite" at Telcontar)


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAloJkLYACgkQtTMYHG2NR9X+TgCgigy+z8IRf5cgRt03e+Y1M1pq
j+IAn0PxMr0wYLFAb8A1YWx3xdZD+ts/
=zJJo
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Which is the proper method to set the language in XFCE?

listreader
On Mon, 13 Nov 2017 13:31:49 +0100 (CET)
"Carlos E. R." <[hidden email]> wrote:

> I do not see a setting to set the user language in XFCE, different
> from the system language.
>
> Traditionally I use the file .i18n file, like this:
>
> LC_TIME=en_DK.UTF-8
> LC_MONETARY=es_ES@euro
> LC_NUMERIC=es_ES@euro
> LC_PAPER=es_ES@euro
> LC_TELEPHONE=es_ES@euro
> LC_MEASUREMENT=es_ES@euro
> LC_NAME=es_ES@euro
>
> which works. But if I try to set the entire environment to Spanish,
> it fails:
>
> LANG=es_ES.utf8
>
>
> I get English (this is already reported in Bugzilla). Is there
> another "correct" way to set the language per user on XFCE?

This isn't something I come across because I use English exclusively
nowadays (tho I grew up on a Spanish-speaking Caribbean island, that
was a long l-o-n-g time ago) but it is interesting enough that I did a
quick google. It appears that like pretty much everything in XFCE (such
as how one locks the desktop icons) there are multiple ways to
successfully accomplish what you want to do, but no 'official' way.
Look at...

https://bbs.archlinux.org/viewtopic.php?pid=1503191#p1503191

... which uses .bashrc and .profile variables.  Does that work?

Ralph

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Which is the proper method to set the language in XFCE?

Carlos E. R.-2
On 2017-11-13 20:56, listreader wrote:
> On Mon, 13 Nov 2017 13:31:49 +0100 (CET) "Carlos E. R." <> wrote:
>
>> I do not see a setting to set the user language in XFCE, different
>> from the system language.
>>
>> Traditionally I use the file .i18n file, like this:

...

>> I get English (this is already reported in Bugzilla). Is there
>> another "correct" way to set the language per user on XFCE?
>
> This isn't something I come across because I use English exclusively
> nowadays (tho I grew up on a Spanish-speaking Caribbean island, that
> was a long l-o-n-g time ago) but it is interesting enough that I did a
> quick google. It appears that like pretty much everything in XFCE (such
> as how one locks the desktop icons) there are multiple ways to
> successfully accomplish what you want to do, but no 'official' way.
> Look at...
>
> https://bbs.archlinux.org/viewtopic.php?pid=1503191#p1503191
>
> ... which uses .bashrc and .profile variables.  Does that work?
Probably, yes. Not tested.

I found some methods that work, thanks, while talking on the other bugzilla.

The "proper" way in openSUSE is to select the language _before_ login.
This does not work for XFCE, at least (tested on TW). Maybe for a new
user on the first login, dunno.

However, there are two methods that work:

{HOME}/.i18n:

LANG=es_ES.utf8
LC_LANG=es_ES.utf8
unset _save

which I do not know if it has other effects. Or, in the same file:

LANG=es_ES.utf8
LC_LANG=es_ES.utf8
GDM_LANG=es_ES.utf8


This works because the system scripts decide to override LANG if
GDM_LANG is set, and this can not be changed. So the above works - at
least as long as I don't use KDE (untested).


I never hit this problem personally because I prefer to see programs in
English, but sometimes I let other people use my computer and they do
want Spanish.

--
Cheers / Saludos,

                Carlos E. R.
                (from 42.2 x86_64 "Malachite" at Telcontar)


signature.asc (188 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Which is the proper method to set the language in XFCE?

Dave Howorth-3
On Tue, 14 Nov 2017 14:21:47 +0100
"Carlos E. R." <[hidden email]> wrote:
> The "proper" way in openSUSE is to select the language _before_ login.
> This does not work for XFCE, at least (tested on TW). Maybe for a new
> user on the first login, dunno.

That's a feature of the display manager, is it not? So it depends which
one you're using.

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Which is the proper method to set the language in XFCE?

Carlos E. R.-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Tuesday, 2017-11-14 at 15:02 -0000, Dave Howorth wrote:
> On Tue, 14 Nov 2017 14:21:47 +0100 "Carlos E. R." <> wrote:
>> The "proper" way in openSUSE is to select the language _before_ login.
>> This does not work for XFCE, at least (tested on TW). Maybe for a new
>> user on the first login, dunno.
>
> That's a feature of the display manager, is it not? So it depends which
> one you're using.

Bug 1068047 - Choosing language on login does not work lightdm

- --
Cheers,
        Carlos E. R.
        (from openSUSE 42.2 x86_64 "Malachite" at Telcontar)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAloLMpEACgkQtTMYHG2NR9VtZACfTPJhdB/meqNiVRXGByyNTJgi
fIkAoJVaM6OxzLPvuFSn57l8bxgQe+3o
=GqJl
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Which is the proper method to set the language in XFCE?

gumb
On 14/11/17 19:14, Carlos E. R. wrote:
>
> Bug 1068047 - Choosing language on login does not work lightdm

You might want to try lxdm. I used to use that successfully to login to
xfce with a selected language.

gumb

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Which is the proper method to set the language in XFCE?

Dave Howorth-3
In reply to this post by Carlos E. R.-2
On Tue, 14 Nov 2017 19:14:33 +0100 (CET)
"Carlos E. R." <[hidden email]> wrote:
> Bug 1068047 - Choosing language on login does not work lightdm

Given

https://bbs.archlinux.org/viewtopic.php?id=200990

and

https://lists.gt.net/gentoo/user/244854

I expect your bug will be closed as upstream.

You might want to post at
https://lists.freedesktop.org/mailman/listinfo/lightdm

or just switch to lxdm as gumb suggests given how long the problem
appears to have been there.

Cheers, Dave

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Which is the proper method to set the language in XFCE?

Carlos E. R.-2
In reply to this post by gumb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Tuesday, 2017-11-14 at 19:25 +0100, gumb wrote:

> On 14/11/17 19:14, Carlos E. R. wrote:
>>
>>  Bug 1068047 - Choosing language on login does not work lightdm
>
> You might want to try lxdm. I used to use that successfully to login to xfce
> with a selected language.

What package contains it?

"zypper se lxdm" finds nothing, it is not in "oss". Oh, it is in
"X11:lxde", not in mainstream TW. I do not like adding repos to my TW test
system.


Anyhow, I have a working solution to select a language:

Edit file {HOME}/.i18n

LANG=es_ES.utf8
LC_LANG=es_ES.utf8
GDM_LANG=es_ES.utf8

But I expect that's not to be the official way for people to use. They
should have some mousing method with the default XFCE installed.

- --
Cheers,
        Carlos E. R.
        (from openSUSE 42.2 x86_64 "Malachite" at Telcontar)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAloRzXEACgkQtTMYHG2NR9XT9wCdFtVY4LZI0s1aomNg0YzRz/9S
qnIAoI0PGCN5qYMNfixgCEEmOEl9sXub
=73tp
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Which is the proper method to set the language in XFCE?

gumb
On 19/11/17 19:29, Carlos E. R. wrote:

> What package contains it?
>
> "zypper se lxdm" finds nothing, it is not in "oss". Oh, it is in
> "X11:lxde", not in mainstream TW. I do not like adding repos to my TW
> test system.
>
>
> Anyhow, I have a working solution to select a language:
>
> Edit file {HOME}/.i18n
>
> LANG=es_ES.utf8
> LC_LANG=es_ES.utf8
> GDM_LANG=es_ES.utf8
>
> But I expect that's not to be the official way for people to use. They
> should have some mousing method with the default XFCE installed.

Well I didn't know you were on Tumbleweed. It's available in the default
repos for Leap.

How about if you simply grab the package off OBS and try installing it
from a local directory? Maybe it doesn't have any further dependencies
and you won't need to add the repo. Though if it's a test system, I'm
not sure why that would matter much?

gumb

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Which is the proper method to set the language in XFCE?

Carlos E. R.-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Sunday, 2017-11-19 at 19:40 +0100, gumb wrote:

> On 19/11/17 19:29, Carlos E. R. wrote:
>>  What package contains it?
>>
>>  "zypper se lxdm" finds nothing, it is not in "oss". Oh, it is in
>>  "X11:lxde", not in mainstream TW. I do not like adding repos to my TW test
>>  system.
>>
>>
>>  Anyhow, I have a working solution to select a language:
>>
>>  Edit file {HOME}/.i18n
>>
>>  LANG=es_ES.utf8
>>  LC_LANG=es_ES.utf8
>>  GDM_LANG=es_ES.utf8
>>
>>  But I expect that's not to be the official way for people to use. They
>>  should have some mousing method with the default XFCE installed.
>
> Well I didn't know you were on Tumbleweed. It's available in the default
> repos for Leap.

Oh, sorry. My main system is Leap, but for the purpose of reporting the
bug I tried the issue in TW, a virtual machine system I have for testing.

> How about if you simply grab the package off OBS and try installing it from a
> local directory? Maybe it doesn't have any further dependencies and you won't
> need to add the repo. Though if it's a test system, I'm not sure why that
> would matter much?

Oh, installing the display manager is only 2 actual packages, not the
entire lxde environment. Not that big an issue. It is just that if I add a
repo there I will forget what it was for the next time I open that VM.

I will try lxdm, nevertheless, time permitting :-)

- --
Cheers,
        Carlos E. R.
        (from openSUSE 42.2 x86_64 "Malachite" at Telcontar)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAloR0i8ACgkQtTMYHG2NR9VwhwCfSNu4cMs75RRsJMPaCl/kbgun
gBcAnR3Wqy3AwprHBEpYadD9F+4eRcdC
=2Fjh
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Which is the proper method to set the language in XFCE?

Carlos E. R.-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Sunday, 2017-11-19 at 19:49 +0100, Carlos E. R. wrote:
> On Sunday, 2017-11-19 at 19:40 +0100, gumb wrote:
>>  On 19/11/17 19:29, Carlos E. R. wrote:

> I will try lxdm, nevertheless, time permitting :-)

Ok, I did, in TW: does not start.

init 3
Edited "/etc/sysconfig/displaymanager":
   DISPLAYMANAGER="lxdm"
   #DISPLAYMANAGER="lightdm"
init 5

And I still have lightdm running. Sigh :-(

Now it will be some hidden symlink somewhere, or some systemd trick, with
no YaST tool to do it.


- --
Cheers,
        Carlos E. R.
        (from openSUSE 42.2 x86_64 "Malachite" at Telcontar)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAloR5OgACgkQtTMYHG2NR9U/LACePV8lerEBQh6hojOEKDpq8PmW
13gAn1IN8J04eaOfyZ9hXgDEhn3PYF7J
=URT9
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Which is the proper method to set the language in XFCE?

Dr. Werner Fink
On Sun, Nov 19, 2017 at 08:09:06PM +0000, Carlos E. R. wrote:

>
>
> On Sunday, 2017-11-19 at 19:49 +0100, Carlos E. R. wrote:
> > On Sunday, 2017-11-19 at 19:40 +0100, gumb wrote:
> >>  On 19/11/17 19:29, Carlos E. R. wrote:
>
> > I will try lxdm, nevertheless, time permitting :-)
>
> Ok, I did, in TW: does not start.
>
> init 3
> Edited "/etc/sysconfig/displaymanager":
>    DISPLAYMANAGER="lxdm"
>    #DISPLAYMANAGER="lightdm"
> init 5
>
> And I still have lightdm running. Sigh :-(

Ohmm ... on console

   systemctl restart display-manager.service

Werner

--
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Which is the proper method to set the language in XFCE?

Carlos E. R.-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Monday, 2017-11-20 at 09:41 +0100, Dr. Werner Fink wrote:

> On Sun, Nov 19, 2017 at 08:09:06PM +0000, Carlos E. R. wrote:
>>
>>
>> On Sunday, 2017-11-19 at 19:49 +0100, Carlos E. R. wrote:
>>> On Sunday, 2017-11-19 at 19:40 +0100, gumb wrote:
>>>>  On 19/11/17 19:29, Carlos E. R. wrote:
>>
>>> I will try lxdm, nevertheless, time permitting :-)
>>
>> Ok, I did, in TW: does not start.
>>
>> init 3
>> Edited "/etc/sysconfig/displaymanager":
>>    DISPLAYMANAGER="lxdm"
>>    #DISPLAYMANAGER="lightdm"
>> init 5
>>
>> And I still have lightdm running. Sigh :-(
>
> Ohmm ... on console
>
>   systemctl restart display-manager.service
AFAIK

  init 3 ; init 5

does the same, even better.

Look:


Tumbleweed:~ # init 3
Tumbleweed:~ # ps afxu | grep light
root      3832  0.0  0.1   7432   816 pts/0    S+   13:13   0:00          \_ grep --color=auto light
Tumbleweed:~ # ps afxu | grep lxdm
root      3837  0.0  0.1   7432   816 pts/0    S+   13:13   0:00          \_ grep --color=auto lxdm
Tumbleweed:~ # systemctl status display-manager.service
● display-manager.service - X Display Manager
    Loaded: loaded (/usr/lib/systemd/system/display-manager.service; enabled; vendor preset: enabled)
    Active: inactive (dead) since Mon 2017-11-20 13:13:03 CET; 1min 20s ago
   Process: 3800 ExecStop=/usr/lib/X11/display-manager stop (code=exited, status=0/SUCCESS)
   Process: 2577 ExecStart=/usr/lib/X11/display-manager start (code=exited, status=0/SUCCESS)
  Main PID: 2632 (code=exited, status=0/SUCCESS)

Nov 19 21:04:32 Tumbleweed display-manager[2577]: Command: localectl set-keymap es
Nov 19 21:04:32 Tumbleweed display-manager[2577]: I: Using systemd /usr/share/systemd/kbd-model-map mapping
Nov 19 21:04:33 Tumbleweed display-manager[2577]: Starting service lightdm..done
Nov 19 21:04:33 Tumbleweed systemd[1]: Started X Display Manager.
Nov 19 21:04:34 Tumbleweed lightdm[2632]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Nov 20 13:13:02 Tumbleweed systemd[1]: Stopping X Display Manager...
Nov 20 13:13:02 Tumbleweed display-manager[3800]: /usr/lib/X11/display-manager: line 132: type: console_vars: not found
Nov 20 13:13:02 Tumbleweed display-manager[3800]: /usr/lib/X11/display-manager: line 132: type: default-displaymanager_vars: not found
Nov 20 13:13:03 Tumbleweed display-manager[3800]: Shutting down service lightdm..done
Nov 20 13:13:03 Tumbleweed systemd[1]: Stopped X Display Manager.
Tumbleweed:~ # init 5
Tumbleweed:~ # ps afxu | grep light
root      3981  0.0  0.1   7432   884 pts/0    S+   13:14   0:00          \_ grep --color=auto light
root      3900  0.1  0.9 351588  6824 ?        Sl   13:14   0:00 /usr/sbin/lightdm
root      3906  2.4  6.1 358308 45508 tty7     Ssl+ 13:14   0:00  \_ /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
root      3929  0.0  1.1 275100  8308 ?        Sl   13:14   0:00  \_ lightdm --session-child 17 20
lightdm   3945  6.8  8.2 592444 60964 ?        Ssl  13:14   0:00  |   \_ /usr/sbin/lightdm-gtk-greeter
root      3979  0.1  0.9 125236  7028 ?        S    13:14   0:00  \_ lightdm --session-child 13 20
lightdm   3939  0.4  1.0  69688  7700 ?        Ss   13:14   0:00 /usr/lib/systemd/systemd --user
lightdm   3940  0.0  0.3 198628  2408 ?        S    13:14   0:00  \_ (sd-pam)
lightdm   3947  0.0  0.5  41720  4296 ?        Ss   13:14   0:00  \_ /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation
lightdm   3948  0.1  0.7 344832  5420 ?        Ssl  13:14   0:00  \_ /usr/lib/at-spi2/at-spi-bus-launcher
lightdm   3953  0.0  0.5  41600  4156 ?        S    13:14   0:00  |   \_ /bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
lightdm   3956  0.1  0.7 218524  5500 ?        Sl   13:14   0:00  \_ /usr/lib/at-spi2/at-spi2-registryd --use-gnome-session
lightdm   3957  0.1  0.9 281352  6776 ?        Ssl  13:14   0:00  \_ /usr/lib/gvfs/gvfsd
lightdm   3964  0.1  0.9 350432  7192 ?        Sl   13:14   0:00  \_ /usr/lib/gvfs/gvfsd-fuse /run/user/476/gvfs -f -o big_writes
Tumbleweed:~ #

- --
Cheers,
        Carlos E. R.
        (from openSUSE 42.2 x86_64 "Malachite" at Telcontar)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAloSx5kACgkQtTMYHG2NR9Xo5ACfUksGvhqvxrEmz9rOXtf7g7Qy
ru0An0sfNtFkjOnH/qis6JxJUxmBOjSK
=YlqK
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Which is the proper method to set the language in XFCE?

Knurpht - Gertjan Lettink
Op maandag 20 november 2017 13:16:18 CET schreef Carlos E. R.:

> On Monday, 2017-11-20 at 09:41 +0100, Dr. Werner Fink wrote:
> > On Sun, Nov 19, 2017 at 08:09:06PM +0000, Carlos E. R. wrote:
> >> On Sunday, 2017-11-19 at 19:49 +0100, Carlos E. R. wrote:
> >>> On Sunday, 2017-11-19 at 19:40 +0100, gumb wrote:
> >>>>  On 19/11/17 19:29, Carlos E. R. wrote:
> >>> I will try lxdm, nevertheless, time permitting :-)
> >>
> >> Ok, I did, in TW: does not start.
> >>
> >> init 3
> >>
> >> Edited "/etc/sysconfig/displaymanager":
> >>    DISPLAYMANAGER="lxdm"
> >>    #DISPLAYMANAGER="lightdm"
> >>
> >> init 5
> >>
> >> And I still have lightdm running. Sigh :-(
> >
> > Ohmm ... on console
> >
> >   systemctl restart display-manager.service
>
> AFAIK
>
>   init 3 ; init 5
>
> does the same, even better.
>
> --
> Cheers,
>         Carlos E. R.
>         (from openSUSE 42.2 x86_64 "Malachite" at Telcontar)

'init' these days is no more than a symlink to systemd. Since init is
deprecated, I'd rather use the systemct equivalents. Look:

lrwxrwxrwx 1 root root 26 28 okt 15:11 /sbin/init -> ../usr/lib/systemd/
systemd


--
Gertjan Lettink, a.k.a. Knurpht

openSUSE Board Member
openSUSE Forums Team

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Which is the proper method to set the language in XFCE?

Carlos E. R.-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Monday, 2017-11-20 at 13:42 +0100, Knurpht - Gertjan Lettink wrote:

> Op maandag 20 november 2017 13:16:18 CET schreef Carlos E. R.:
>> On Monday, 2017-11-20 at 09:41 +0100, Dr. Werner Fink wrote:
>>> On Sun, Nov 19, 2017 at 08:09:06PM +0000, Carlos E. R. wrote:
>>>> On Sunday, 2017-11-19 at 19:49 +0100, Carlos E. R. wrote:
>>>>> On Sunday, 2017-11-19 at 19:40 +0100, gumb wrote:
>>>>>>  On 19/11/17 19:29, Carlos E. R. wrote:
>>>>> I will try lxdm, nevertheless, time permitting :-)
>>>>
>>>> Ok, I did, in TW: does not start.
>>>>
>>>> init 3
>>>>
>>>> Edited "/etc/sysconfig/displaymanager":
>>>>    DISPLAYMANAGER="lxdm"
>>>>    #DISPLAYMANAGER="lightdm"
>>>>
>>>> init 5
>>>>
>>>> And I still have lightdm running. Sigh :-(
>>>
>>> Ohmm ... on console
>>>
>>>   systemctl restart display-manager.service
>>
>> AFAIK
>>
>>   init 3 ; init 5
>>
>> does the same, even better.
>
> 'init' these days is no more than a symlink to systemd. Since init is
> deprecated, I'd rather use the systemct equivalents. Look:
>
> lrwxrwxrwx 1 root root 26 28 okt 15:11 /sbin/init -> ../usr/lib/systemd/
> systemd

That's not the problem.

None of those will work if /etc/sysconfig/displaymanager is ignored.

It has to be done with update-alternatives, and this is not documented in
the sysconfig file. And of course, has to be done in text mode.

- --
Cheers,
        Carlos E. R.
        (from openSUSE 42.2 x86_64 "Malachite" at Telcontar)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAloS0B0ACgkQtTMYHG2NR9X0SgCcD3l5TD6kiMr5E7LbLA9v3reE
wiwAnj0GEi4SteRq6O1IV/dCe9RI86KD
=GXP4
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Which is the proper method to set the language in XFCE?

Carlos E. R.-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Content-ID: <[hidden email]>


On Monday, 2017-11-20 at 13:52 +0100, Carlos E. R. wrote:

> On Monday, 2017-11-20 at 13:42 +0100, Knurpht - Gertjan Lettink wrote:
>>  Op maandag 20 november 2017 13:16:18 CET schreef Carlos E. R.:
>>>  On Monday, 2017-11-20 at 09:41 +0100, Dr. Werner Fink wrote:
>>>>  On Sun, Nov 19, 2017 at 08:09:06PM +0000, Carlos E. R. wrote:
>>>>>  On Sunday, 2017-11-19 at 19:49 +0100, Carlos E. R. wrote:
>>>>>>  On Sunday, 2017-11-19 at 19:40 +0100, gumb wrote:
>>>>>>>   On 19/11/17 19:29, Carlos E. R. wrote:
>>>>>>  I will try lxdm, nevertheless, time permitting :-)
>>>>>
>>>>>  Ok, I did, in TW: does not start.
>>>>>
>>>>>  init 3
>>>>>
>>>>>  Edited "/etc/sysconfig/displaymanager":
>>>>>     DISPLAYMANAGER="lxdm"
>>>>>     #DISPLAYMANAGER="lightdm"
>>>>>
>>>>>  init 5
>>>>>
>>>>>  And I still have lightdm running. Sigh :-(
>>>>
>>>>  Ohmm ... on console
>>>>
>>>>    systemctl restart display-manager.service
>>>
>>>  AFAIK
>>>
>>>    init 3 ; init 5
>>>
>>>  does the same, even better.
>>
>>  'init' these days is no more than a symlink to systemd. Since init is
>>  deprecated, I'd rather use the systemct equivalents. Look:
>>
>>  lrwxrwxrwx 1 root root 26 28 okt 15:11 /sbin/init -> ../usr/lib/systemd/
>>  systemd
>
> That's not the problem.
>
> None of those will work if /etc/sysconfig/displaymanager is ignored.
>
> It has to be done with update-alternatives, and this is not documented in
> the sysconfig file. And of course, has to be done in text mode.
And lxdm is not in the list:


=================watch-line-wrap============================================================================================================================
YaST2 - alternatives @ Tumbleweed
                                                             ┌────────────────────────────────────────────────────────────┐
                                                             │ Name:default-displaymanager                                │
                                                             │ Status:auto                                                │
                                                             │ Current choice:/usr/lib/X11/displaymanagers/lightdm        │
  ┌──────────────────────────────────────────────────────────│┌──────────────────────────────────────────────────────────┐│ ──────────────────────────────┐
  │Name                    │Current choice                   ││Choice                              │Priority             ││                               ┬
  │cherryd                 │/usr/bin/cherryd-3.6             ││/usr/lib/X11/displaymanagers/console│5                    ││                               │
  │dbus-launch             │/usr/bin/dbus-launch.x11         ││/usr/lib/X11/displaymanagers/lightdm│15                   ││                               │
  │default-displaymanager  │/usr/lib/X11/displaymanagers/ligh││/usr/lib/X11/displaymanagers/xdm    │10                   ││                               │
  │default-xsession.desktop│/usr/share/xsessions/xfce.desktop││                                                          ││                               │
  │easy_install            │/usr/bin/easy_install-3.6        ││                                                          ││                               │
  │gtk-update-icon-cache   │/usr/bin/gtk-update-icon-cache-3.│└──────────────────────────────────────────────────────────┘│                               │
  │icewm                   │/usr/bin/icewm-default           │┌──────────────────────────────────────────────────────────┐│                               │
  │java                    │/usr/lib64/jvm/jre-1.8.0-openjdk/││                                                          ││                               │
  │jre_openjdk             │/usr/lib64/jvm/jre-1.8.0-openjdk ││                                                          ││                               │
  │libblas.so.3            │/usr/lib64/blas/libblas.so.3     ││                                                          ││                               │
  │libcblas.so.3           │/usr/lib64/blas/libcblas.so.3    ││                                                          ││                               │
  │liblapack.so.3          │/usr/lib64/lapack/liblapack.so.3 ││                                                          ││                               ┴
  │mt                      │/usr/bin/mtst                    ││                                                          ││                               │
  └──────────────────────────────────────────────────────────│└──────────────────────────────────────────────────────────┘│ ──────────────────────────────┘
   [Help]                                                    │          [Set choice][Set automatic mode][Cancel]          │         [Edit][Cancel][Accept]


- --
Cheers,
        Carlos E. R.
        (from openSUSE 42.2 x86_64 "Malachite" at Telcontar)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAloS0o0ACgkQtTMYHG2NR9Vx9QCglMONq2O7bGWdwhSldpHqzcH/
PlIAnjBuSRuwv2mPWTKCltXoOsIcoUU2
=53m3
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: Which is the proper method to set the language in XFCE?

Knurpht - Gertjan Lettink
In reply to this post by Carlos E. R.-2
Op maandag 20 november 2017 13:52:45 CET schreef Carlos E. R.:

> On Monday, 2017-11-20 at 13:42 +0100, Knurpht - Gertjan Lettink wrote:
> > Op maandag 20 november 2017 13:16:18 CET schreef Carlos E. R.:
> >> On Monday, 2017-11-20 at 09:41 +0100, Dr. Werner Fink wrote:
> >>> On Sun, Nov 19, 2017 at 08:09:06PM +0000, Carlos E. R. wrote:
> >>>> On Sunday, 2017-11-19 at 19:49 +0100, Carlos E. R. wrote:
> >>>>> On Sunday, 2017-11-19 at 19:40 +0100, gumb wrote:
> >>>>>>  On 19/11/17 19:29, Carlos E. R. wrote:
> >>>>> I will try lxdm, nevertheless, time permitting :-)
> >>>>
> >>>> Ok, I did, in TW: does not start.
> >>>>
> >>>> init 3
> >>>>
> >>>> Edited "/etc/sysconfig/displaymanager":
> >>>>    DISPLAYMANAGER="lxdm"
> >>>>    #DISPLAYMANAGER="lightdm"
> >>>>
> >>>> init 5
> >>>>
> >>>> And I still have lightdm running. Sigh :-(
> >>>
> >>> Ohmm ... on console
> >>>
> >>>   systemctl restart display-manager.service
> >>
> >> AFAIK
> >>
> >>   init 3 ; init 5
> >>
> >> does the same, even better.
> >
> > 'init' these days is no more than a symlink to systemd. Since init is
> > deprecated, I'd rather use the systemct equivalents. Look:
> >
> > lrwxrwxrwx 1 root root 26 28 okt 15:11 /sbin/init -> ../usr/lib/systemd/
> > systemd
>
> That's not the problem.
>
> None of those will work if /etc/sysconfig/displaymanager is ignored.

See here:
/usr/lib/systemd/system # ls -l runlevel*
lrwxrwxrwx 1 root root 15 28 okt 15:11 runlevel0.target -> poweroff.target
lrwxrwxrwx 1 root root 13 28 okt 15:11 runlevel1.target -> rescue.target
lrwxrwxrwx 1 root root 17 28 okt 15:11 runlevel2.target -> multi-user.target
lrwxrwxrwx 1 root root 17 28 okt 15:11 runlevel3.target -> multi-user.target
lrwxrwxrwx 1 root root 17 28 okt 15:11 runlevel4.target -> multi-user.target
lrwxrwxrwx 1 root root 16 28 okt 15:11 runlevel5.target -> graphical.target
lrwxrwxrwx 1 root root 13 28 okt 15:11 runlevel6.target -> reboot.target


>
> It has to be done with update-alternatives, and this is not documented in
> the sysconfig file. And of course, has to be done in text mode.
>
> --
> Cheers,
>         Carlos E. R.
>         (from openSUSE 42.2 x86_64 "Malachite" at Telcontar)


--
Gertjan Lettink, a.k.a. Knurpht

openSUSE Board Member
openSUSE Forums Team

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Which is the proper method to set the language in XFCE?

Carlos E. R.-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Monday, 2017-11-20 at 14:15 +0100, Knurpht - Gertjan Lettink wrote:

> Op maandag 20 november 2017 13:52:45 CET schreef Carlos E. R.:
>> On Monday, 2017-11-20 at 13:42 +0100, Knurpht - Gertjan Lettink wrote:
>>> Op maandag 20 november 2017 13:16:18 CET schreef Carlos E. R.:
>>>> On Monday, 2017-11-20 at 09:41 +0100, Dr. Werner Fink wrote:
>>>>> On Sun, Nov 19, 2017 at 08:09:06PM +0000, Carlos E. R. wrote:
>>>>>> On Sunday, 2017-11-19 at 19:49 +0100, Carlos E. R. wrote:
>>>>>>> On Sunday, 2017-11-19 at 19:40 +0100, gumb wrote:
>>>>>>>>  On 19/11/17 19:29, Carlos E. R. wrote:
>>>>>>> I will try lxdm, nevertheless, time permitting :-)
>>>>>>
>>>>>> Ok, I did, in TW: does not start.
>>>>>>
>>>>>> init 3
>>>>>>
>>>>>> Edited "/etc/sysconfig/displaymanager":
>>>>>>    DISPLAYMANAGER="lxdm"
>>>>>>    #DISPLAYMANAGER="lightdm"
>>>>>>
>>>>>> init 5
>>>>>>
>>>>>> And I still have lightdm running. Sigh :-(
>>>>>
>>>>> Ohmm ... on console
>>>>>
>>>>>   systemctl restart display-manager.service
>>>>
>>>> AFAIK
>>>>
>>>>   init 3 ; init 5
>>>>
>>>> does the same, even better.
>>>
>>> 'init' these days is no more than a symlink to systemd. Since init is
>>> deprecated, I'd rather use the systemct equivalents. Look:
>>>
>>> lrwxrwxrwx 1 root root 26 28 okt 15:11 /sbin/init -> ../usr/lib/systemd/
>>> systemd
>>
>> That's not the problem.
>>
>> None of those will work if /etc/sysconfig/displaymanager is ignored.
>
> See here:
> /usr/lib/systemd/system # ls -l runlevel*
> lrwxrwxrwx 1 root root 15 28 okt 15:11 runlevel0.target -> poweroff.target
> lrwxrwxrwx 1 root root 13 28 okt 15:11 runlevel1.target -> rescue.target
> lrwxrwxrwx 1 root root 17 28 okt 15:11 runlevel2.target -> multi-user.target
> lrwxrwxrwx 1 root root 17 28 okt 15:11 runlevel3.target -> multi-user.target
> lrwxrwxrwx 1 root root 17 28 okt 15:11 runlevel4.target -> multi-user.target
> lrwxrwxrwx 1 root root 16 28 okt 15:11 runlevel5.target -> graphical.target
> lrwxrwxrwx 1 root root 13 28 okt 15:11 runlevel6.target -> reboot.target

Please, that is not the issue...

Read this again and the other post:

>> It has to be done with update-alternatives, and this is not documented in
>> the sysconfig file. And of course, has to be done in text mode.

- --
Cheers,
        Carlos E. R.
        (from openSUSE 42.2 x86_64 "Malachite" at Telcontar)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAloS1joACgkQtTMYHG2NR9UulwCfRO9AF0VUuY5/EIRukAIBv2lm
K+MAoIxdKM77zEir8HyFt1C6YyPsGq9l
=uiAC
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Which is the proper method to set the language in XFCE?

Patrick Shanahan-2
In reply to this post by Carlos E. R.-2
* Carlos E. R. <[hidden email]> [11-20-17 08:15]:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Content-ID: <[hidden email]>
>
>
> On Monday, 2017-11-20 at 13:52 +0100, Carlos E. R. wrote:
> >On Monday, 2017-11-20 at 13:42 +0100, Knurpht - Gertjan Lettink wrote:
> >> Op maandag 20 november 2017 13:16:18 CET schreef Carlos E. R.:
> >>> On Monday, 2017-11-20 at 09:41 +0100, Dr. Werner Fink wrote:
> >>>> On Sun, Nov 19, 2017 at 08:09:06PM +0000, Carlos E. R. wrote:
> >>>>> On Sunday, 2017-11-19 at 19:49 +0100, Carlos E. R. wrote:
> >>>>>> On Sunday, 2017-11-19 at 19:40 +0100, gumb wrote:
> >>>>>>>  On 19/11/17 19:29, Carlos E. R. wrote:
> >>>>>> I will try lxdm, nevertheless, time permitting :-)
> >>>>>
> >>>>> Ok, I did, in TW: does not start.
> >>>>>
> >>>>> init 3
> >>>>>
> >>>>> Edited "/etc/sysconfig/displaymanager":
> >>>>>    DISPLAYMANAGER="lxdm"
> >>>>>    #DISPLAYMANAGER="lightdm"
> >>>>>
> >>>>> init 5
> >>>>>
> >>>>> And I still have lightdm running. Sigh :-(
> >>>>
> >>>> Ohmm ... on console
> >>>>
> >>>>   systemctl restart display-manager.service
> >>>
> >>> AFAIK
> >>>
> >>>   init 3 ; init 5
> >>>
> >>> does the same, even better.
> >>
> >> 'init' these days is no more than a symlink to systemd. Since init is
> >> deprecated, I'd rather use the systemct equivalents. Look:
> >>
> >> lrwxrwxrwx 1 root root 26 28 okt 15:11 /sbin/init -> ../usr/lib/systemd/
> >> systemd
> >
> >That's not the problem.
> >
> >None of those will work if /etc/sysconfig/displaymanager is ignored.
> >
> >It has to be done with update-alternatives, and this is not documented in
> >the sysconfig file. And of course, has to be done in text mode.
>
> And lxdm is not in the list:
>
>
> =================watch-line-wrap============================================================================================================================
> YaST2 - alternatives @ Tumbleweed
>                                                             ┌────────────────────────────────────────────────────────────┐
>                                                             │ Name:default-displaymanager                                │
>                                                             │ Status:auto                                                │
>                                                             │ Current choice:/usr/lib/X11/displaymanagers/lightdm        │
>  ┌──────────────────────────────────────────────────────────│┌──────────────────────────────────────────────────────────┐│ ──────────────────────────────┐
>  │Name                    │Current choice                   ││Choice                              │Priority             ││                               ┬
>  │cherryd                 │/usr/bin/cherryd-3.6             ││/usr/lib/X11/displaymanagers/console│5                    ││                               │
>  │dbus-launch             │/usr/bin/dbus-launch.x11         ││/usr/lib/X11/displaymanagers/lightdm│15                   ││                               │
>  │default-displaymanager  │/usr/lib/X11/displaymanagers/ligh││/usr/lib/X11/displaymanagers/xdm    │10                   ││                               │
>  │default-xsession.desktop│/usr/share/xsessions/xfce.desktop││                                                          ││                               │
>  │easy_install            │/usr/bin/easy_install-3.6        ││                                                          ││                               │
>  │gtk-update-icon-cache   │/usr/bin/gtk-update-icon-cache-3.│└──────────────────────────────────────────────────────────┘│                               │
>  │icewm                   │/usr/bin/icewm-default           │┌──────────────────────────────────────────────────────────┐│                               │
>  │java                    │/usr/lib64/jvm/jre-1.8.0-openjdk/││                                                          ││                               │
>  │jre_openjdk             │/usr/lib64/jvm/jre-1.8.0-openjdk ││                                                          ││                               │
>  │libblas.so.3            │/usr/lib64/blas/libblas.so.3     ││                                                          ││                               │
>  │libcblas.so.3           │/usr/lib64/blas/libcblas.so.3    ││                                                          ││                               │
>  │liblapack.so.3          │/usr/lib64/lapack/liblapack.so.3 ││                                                          ││                               ┴
>  │mt                      │/usr/bin/mtst                    ││                                                          ││                               │
>  └──────────────────────────────────────────────────────────│└──────────────────────────────────────────────────────────┘│ ──────────────────────────────┘
>   [Help]                                                    │          [Set choice][Set automatic mode][Cancel]          │         [Edit][Cancel][Accept]
>
>

maybe you need to add it:

  #> update-alternatives --help
  Usage: update-alternatives [<option> ...] <command>
 
  Commands:
    --install <link> <name> <path> <priority>

and there is a man page
--
(paka)Patrick Shanahan       Plainfield, Indiana, USA          @ptilopteri
http://en.opensuse.org    openSUSE Community Member    facebook/ptilopteri
Registered Linux User #207535                    @ http://linuxcounter.net
Photos: http://wahoo.no-ip.org/piwigo                    paka @ IRCnet freenode

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Which is the proper method to set the language in XFCE?

Carlos E. R.-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Monday, 2017-11-20 at 08:26 -0500, Patrick Shanahan wrote:
> * Carlos E. R. <> [11-20-17 08:15]:
>> On Monday, 2017-11-20 at 13:52 +0100, Carlos E. R. wrote:
>>> On Monday, 2017-11-20 at 13:42 +0100, Knurpht - Gertjan Lettink wrote:
>>>> Op maandag 20 november 2017 13:16:18 CET schreef Carlos E. R.:
>>>>> On Monday, 2017-11-20 at 09:41 +0100, Dr. Werner Fink wrote:
>>>>>> On Sun, Nov 19, 2017 at 08:09:06PM +0000, Carlos E. R. wrote:

...

>>> It has to be done with update-alternatives, and this is not documented in
>>> the sysconfig file. And of course, has to be done in text mode.
>>
>> And lxdm is not in the list:
>>

...

> maybe you need to add it:
>
>  #> update-alternatives --help
>  Usage: update-alternatives [<option> ...] <command>
>
>  Commands:
>    --install <link> <name> <path> <priority>
>
> and there is a man page

Or wait for the bug to be corrected. ;-)

Yes, I'm aware of update-alternatives process, I have done it previously.
But I would need to go find out the proper parameters to give it, and it
is not a priority for me. I'm not going further this road, sorry.

- --
Cheers,
        Carlos E. R.
        (from openSUSE 42.2 x86_64 "Malachite" at Telcontar)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAloS2jUACgkQtTMYHG2NR9XnBQCgh7ld3hKpXD07q2NO1vCKXpN0
xksAoIW8JTz89qq4WejeCm4IJidRG1Zw
=T+rL
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

12