You are not logged in.

#1 2023-01-13 09:48:43

telometto
Member
From: Braunau
Registered: 2020-09-30
Posts: 23

Changing regional settings in KDE

I've changed everything under the 'Region & Language' tab to my country except from 'Language', which I left at US English. When I clicked 'Apply', I got this strange "error":

 Locale has been configured, but this KCM currently doesn't support auto locale generation on non-glibc systems, please refer to your distribution's manual to install fonts and generate locales 

I find this odd, since I have edited /etc/locale.gen, ran sudo locale-gen and rebooted. Also, glibc is installed (2.36-6) and the output of locale in the terminal lists everything correctly; the only thing that is unassigned is LC_ALL but, from what I gather, that should be assigned just in case of troubleshooting?

EDIT: forgot to mention that I have a Fedora laptop and doing the same did not yield that message.

Last edited by telometto (2023-01-13 09:49:41)


"Concern should drive us to action and not into depression."
    -- Pythagoras

Offline

#2 2023-01-13 12:15:35

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,403

Re: Changing regional settings in KDE

that should be assigned just in case of troubleshooting?

Yes.
I doubt that this is is a glibc issue and more a "elevate privileges" issue.
As a sanity check:

loginctl session-status

But idk. whether this would require some distro-provided polkit rule or whatever KDE is expecting there.

Online

#3 2023-01-13 13:18:05

telometto
Member
From: Braunau
Registered: 2020-09-30
Posts: 23

Re: Changing regional settings in KDE

seth wrote:

As a sanity check:

loginctl session-status

The output is:

2 - [MYUSER] (1000)
           Since: Fri 2023-01-13 10:55:26 CET; 3h 20min ago
          Leader: 934 (sddm-helper)
            Seat: seat0; vc1
             TTY: tty1
         Service: sddm; type wayland; class user
         Desktop: KDE
           State: active
            Unit: session-2.scope
                  ├─934 /usr/lib/sddm/sddm-helper --socket /tmp/sddm-auth04bd74b7-300c-45e8-89a7-e87b09c6ba88 --id 1 --start "/usr/lib/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland" --user [MYUSER]
                  ├─954 /usr/bin/kwalletd5 --pam-login 12 14
                  └─955 /usr/bin/startplasma-wayland

jan. 13 10:55:27 [MY PC] systemd[1]: Started Session 2 of User [MYUSER].
jan. 13 10:55:27 [MY PC] sddm-helper[953]: pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket
jan. 13 10:55:27 [MY PC] sddm-helper[955]: Jumping to VT 1
jan. 13 10:55:27 [MY PC] sddm-helper[955]: VT mode didn't need to be fixed

I'm not exactly sure what to do with this info, though, tbh.

EDIT: I've read a bit on the Wiki about polkit and it seems to be quite handy - should I install it or is there really no point in doing so?

Last edited by telometto (2023-01-13 13:21:53)


"Concern should drive us to action and not into depression."
    -- Pythagoras

Offline

#4 2023-01-13 13:19:52

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,403

Re: Changing regional settings in KDE

The only relevant part is that this is an active session and not a "degenerated" one (happens a lot w/ broken xinitrc's)

Online

#5 2023-01-13 13:25:07

telometto
Member
From: Braunau
Registered: 2020-09-30
Posts: 23

Re: Changing regional settings in KDE

seth wrote:

The only relevant part is that this is an active session and not a "degenerated" one (happens a lot w/ broken xinitrc's)

I assume this is gathered from 'State'? What are some other states this can be in, apart from "inactive"? Also, you beat me in answering before I edited the previous reply tongue Should I install polkit or is there really no need to do so? It seems to be handy.


"Concern should drive us to action and not into depression."
    -- Pythagoras

Offline

#6 2023-01-13 16:48:14

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,403

Re: Changing regional settings in KDE

"degraded"
You most likely have polkit installed

pacman -Qs polkit

It'd be more about a rule that allows that kcm and for the active user to generate locales.

The only reference I found for that particular error is https://bbs.archlinuxcn.org/viewtopic.php?id=13053 and all I can tell you is that it's most likely misinterpreting some condition.

pacman -Qkk glibc
type locale-gen

Online

Board footer

Powered by FluxBB