startkde ignores global Country setting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kde-workspace (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
/usr/bin/startkde ignores the Country setting outside the user's kdeglobals file (for example within /etc/kde4/
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/
[Locale]
Country=ch
EOF
chmod 644 /etc/kde4/
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.
summary: |
- startkde ignores globale Country setting + startkde ignores global Country setting |
The attachment "startkde- honor-global- country- setting. patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]