[Bug 1099878] [NEW] startkde ignores globale Country setting
Christian Affolter
c.affolter at stepping-stone.ch
Tue Jan 15 15:09:05 UTC 2013
Public bug reported:
/usr/bin/startkde ignores the Country setting outside the user's
kdeglobals file (for example within /etc/kde4/kdeglobals) and sets them
according to the system's locale. Specifying a default Country setting
(which differs from the system's default locale) for all users on a
system is therefore impossible.
For example, my system's locale is set to 'en_US.UTF-8' (for English
messages), but I would like to have the KDE country set to 'ch' for
Switzerland (for Swiss number, time, currency etc. settings) per default
and not to 'us'.
Steps to reproduce:
Specify the country setting (here 'ch' for Switzerland) within a global kdeglobals file:
cat << EOF > /etc/kde4/kdeglobals
[Locale]
Country=ch
EOF
chmod 644 /etc/kde4/kdeglobals
Add a fresh user (which doesn't have a ~/.kde configuration directory already):
useradd -m test && passwd test
Login with the previously created user into KDE, and check the Country
settings within Applications -> Settings -> System Settings -> Locale.
The country will be set to "United States of America" instead of
"Switzerland".
Environment:
Description: Ubuntu 12.04.1 LTS amd64
Release: 12.04
kde-workspace-bin:
Installed: 4:4.8.5-0ubuntu0.2
Candidate: 4:4.8.5-0ubuntu0.2
Please find attached a tiny patch which fixes this issue by checking if the country was set within any of the available kdeglobals files instead of only looking it up within the one in the user's home directory.
** Affects: kde-workspace (Ubuntu)
Importance: Undecided
Status: New
** Patch added: "startkde-honor-global-country-setting.patch"
https://bugs.launchpad.net/bugs/1099878/+attachment/3484067/+files/startkde-honor-global-country-setting.patch
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1099878
Title:
startkde ignores globale Country setting
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kde-workspace/+bug/1099878/+subscriptions
More information about the kubuntu-bugs
mailing list