You are not logged in.

#1 2019-08-20 20:38:42

TheDevKiller
Member
Registered: 2019-08-20
Posts: 19

Locale : POSIX only in X.org

Hello again, I use Ly (it's a DM, https://github.com/cylgom/ly ) and when I login with a shell session, no problem, the locale is fr_FR.UTF-8 as it should be, but when I start a X.org session (i3), it's different, my locale is POSIX. I've seen two threads on this forum, I read it carefully, I learned a lot of things, it helped me a lot identifying the problem (which is, I think, related to the execution of /etc/profile.d/locale.sh, but I don't know when it should be executed on a normal installation)

X.org : locale : http://dpaste.com/25F34AF

/etc/locale.conf : http://dpaste.com/22S6KAZ
/etc/locale.gen : http://dpaste.com/2QG2KZ3
/etc/profile : http://dpaste.com/1JDXWH7
/etc/profile.d/locale.sh : http://dpaste.com/172G15D
ls -l /etc/profile/locale.sh : http://dpaste.com/3DKSF1X
~/.xinitrc : I don't have one

Inxi -Fxz : http://dpaste.com/3HBH6P6

Again, sorry for my bad english, I'm french, and ask me if there are not enough informations

Offline

#2 2019-08-20 21:08:35

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: Locale : POSIX only in X.org

Offline

#3 2019-08-20 21:11:04

TheDevKiller
Member
Registered: 2019-08-20
Posts: 19

Re: Locale : POSIX only in X.org

Oh ok thanks I'll make a pull request, I didn't know the profile execution was made too in the DM, thank you a lot!

Offline

#4 2019-08-20 21:40:05

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: Locale : POSIX only in X.org

If you are using https://aur.archlinux.org/packages/ly/ the PKGBUILD has a few issues I just noticed:

  • It does not build from source or suffix the pkgname with -bin to signify it is not built from source.

  • Unneeded makedepends unzip,  bsdtar can extract zip archives.

  • Does not contain a backup entry for configuration files,  so user changes are not preserved.

Offline

#5 2019-08-20 22:38:03

TheDevKiller
Member
Registered: 2019-08-20
Posts: 19

Re: Locale : POSIX only in X.org

Can we do like pull requests for PKGBUILD?

Offline

#6 2019-08-20 22:40:36

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Locale : POSIX only in X.org

Leave a note on the page asking the maintainer to fix it.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2019-08-20 22:42:37

TheDevKiller
Member
Registered: 2019-08-20
Posts: 19

Re: Locale : POSIX only in X.org

Ok I'll do it thanks

Offline

Board footer

Powered by FluxBB