You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
plasma-hud will stop working if the user changes the locale settings using the Regional Preferences KCM in System Settings.
To Reproduce
Steps to reproduce the behavior:
Install Nitrux
Boot to installation and login
Open an app that exports its menu to the global menu applet like Kcalc
Change locale preferences in System Settings and logout
Log in and try to open plasma-hud
plasma-hud does not work
Expected behavior
plasma-hud works
Desktop (please complete the following information):
Nitrux
Additional context
After running plasma-hud from the terminal using the command killall plasma-hud; LOGLEVEL=DEBUG /usr/lib/plasma-hud/plasma-hud, an error from Rofi will be displayed to the terminal output.
Failed to set locale.
After checking the locale variables using the command locale, the locale for my installation should be es_MX.UTF-8 in my case. However, I used the KCM and changed the locale to es_ES.UTF-8; nonetheless, not all variables were set to this locale, nor was the locale appropriately detected by the system.
I had errors in the variables below.
LC_ALL
LC_MESSAGES
LC_CTYPE
To fix this, I had to edit the file /etc/default/locale and add these variables with the correct locale.
As far as I can understand, this is a problem caused by the KCM or whatever the KCM uses to adjust locale variables in /etc/default/locale(with the implication that the KCM might be using some fallback method due to localectl missing because we don't use systemd).
As is, we don't touch this file, and Calamares correctly configures locale settings during installation.
The file Plasma configures and saves is ~/.config/plasma-localerc, which I also corrected to the appropriate locale.
The distribution also includes /etc/locale/conf, but I didn't need to edit it.
The text was updated successfully, but these errors were encountered:
Describe the bug
plasma-hud will stop working if the user changes the locale settings using the Regional Preferences KCM in System Settings.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
plasma-hud works
Desktop (please complete the following information):
Additional context
After running plasma-hud from the terminal using the command
killall plasma-hud; LOGLEVEL=DEBUG /usr/lib/plasma-hud/plasma-hud
, an error from Rofi will be displayed to the terminal output.After checking the locale variables using the command
locale
, the locale for my installation should bees_MX.UTF-8
in my case. However, I used the KCM and changed the locale toes_ES.UTF-8
; nonetheless, not all variables were set to this locale, nor was the locale appropriately detected by the system.I had errors in the variables below.
To fix this, I had to edit the file
/etc/default/locale
and add these variables with the correct locale.As far as I can understand, this is a problem caused by the KCM or whatever the KCM uses to adjust locale variables in
/etc/default/locale
(with the implication that the KCM might be using some fallback method due tolocalectl
missing because we don't use systemd).As is, we don't touch this file, and Calamares correctly configures locale settings during installation.
The file Plasma configures and saves is
~/.config/plasma-localerc
, which I also corrected to the appropriate locale.The distribution also includes
/etc/locale/conf
, but I didn't need to edit it.The text was updated successfully, but these errors were encountered: