Comments (24)
[aaron@aaronlu ~]$ dconf read /org/mate/panel/objects/object_2/prefs/cities
location name="" city="Shanghai" timezone="Asia/Shanghai" latitude="31.166668" longitude="121.433334" code="ZSSS" current="true"/
from libmateweather.
We found ot some interesting thing with Shanghai weather zone.
I choose Shanghai in the applet settings --- no icon displayed.
Than i open the applet and hover with the mouse over the clock in locations and clicked on the now displayed edit button
than i answered to the policy query, and than i saw the full moon icon of shanghai
from libmateweather.
Ok, we have track down the issue more. Changing the weather location could be be also change the system time, which isn't allowed for a normal user account by this policy.
org.mate.settingsdaemon.datetimemechanism.settime
We was forced to change the policy from
<allow_active>auth_self_keep</allow_active>
to
<allow_active>auth_admin_keep</allow_active>
by this rhbz report.
https://bugzilla.redhat.com/show_bug.cgi?id=878102
I think your office system was installed with another timezone location than Shanghai.
In you screenshots i saw you're working for intel, right?
So i think the system was installed with 'Us' location first.
It seems that if you use vnc-session you've admin rights and won't be bother by this policy.
In result without admin rights you can't apply the setting by what i have described in previous post.
But for your home laptop that should be work.
from libmateweather.
How can I tell which timezone I'm using now? I don't find a tool to display or set it.
from libmateweather.
system-config-date
from libmateweather.
Just installed that package and run it as root, it shows my timezone is Shanghai...I used tzselect tool to set timezone just before I was told this package, don't know if that makes a difference. I can't verify if my local session could correctly display weather now since I'm at home, I'll check it tomorrow. Thanks.
from libmateweather.
Sorry, the weather still doesn't show up...
from libmateweather.
Hmm, in the fedora report you said it is working for your home labtop, after you followed the prozedure which you described for yourself in the fedora report, right?
For your office desktop:
In this example i change from berlin to shanghai weather location.
Did you see and click on this button 'Set' in the main window after you change the weather location?
Did you enter the admin passwort in the popup policy query?
I did that and i see now the icon for Shanghai weather.
Same must be done every time if you change the weather location.
from libmateweather.
Yes it is working for my home laptop, and I didn't try to use the 'Set' button by removing Shanghai and add it again to test on my office desktop yet. I'll be on vacation from tomorrow till 10/07, so I'll try it on my desktop when I'm back.
BTW, if that works, is it normal or there is some problem that should be fixed?
from libmateweather.
I don't think that this is an issue because it depends on which timezone was choosen at system installation. I did test this today with a fresh f20 installation in a VM.
Here i choose berlin/europe in anaconda setup as localisation.
After installation, if i choose shanghai/china as weather location i need to enter the root password in the policy query for displaying the icon.
If i choose berlin/europe the icon displayed directly without a policy query.
So if the weather location match the choosen timezone location from system installation the icon displayed directly.
For this reason i think your office system was installed first with another localization than shanghai/china from the system admin.
And a normal user account shouldn't be able to change the time of the whole system in a company ;)
from libmateweather.
The office system was installed by myself :-)
If I remembered correctly, I set Shanghai as as my timezone during installation.
from libmateweather.
BTW, I do not need to do anything special in VNC session for the weather to show up. It just doesn't show up in local session, I think it should be a different problem.
from libmateweather.
But you can now set the local weather?
from libmateweather.
What do you mean by 'set the local weather'?
from libmateweather.
You can now set the shanghai weather at your office system?
from libmateweather.
Yes, I set Shanghai as my location in clock->locations and my timezone is Asia/Shanghai.
from libmateweather.
Ok, than you agree with me that this isn't a bug and we can close this report.
from libmateweather.
Err...I'm not sure, the problem is, I don't have weather show up in clock applet in local session. Is this a problem?
from libmateweather.
Hmm, you can't set up the weather location in local session as i did described it in comment 9 ?
You only need to hover with the mouse over the clock in the main window, click on the 'Set' button and enter your admin password.
from libmateweather.
I can setup the weather location in local session and the problem is, the weather still doesn't show up.
from libmateweather.
Ok, you set up the location.
Did you hover with the mouse over the clock in the main window, click on the 'Set' button and enter your admin password?
from libmateweather.
Yes I've done that, but I do not need to enter admin password, just my own password. This is the same as my home laptop. The problem is, the office desktop still have problem showing up the weather in a local session but not in a VNC session. I think it may be some odd problem and doesn't apply to other systems so may not worth the effort, please feel free to close it.
发自我的 iPad
在 2013年10月8日,下午6:45,Wolfgang Ulbrich [email protected] 写道:
Ok, you set up the location.
Did you hover with the mouse over the clock in the main window, click on the 'Set' button and enter your admin password?—
Reply to this email directly or view it on GitHub.
from libmateweather.
"mark as can be closed" not a bug
from libmateweather.
Ps: you need the systemadmin password
from libmateweather.
Related Issues (20)
- Documentation for adding missing locations HOT 2
- Travis CI `.build.yml` fails on Fedora but passes on Debian HOT 1
- About corrections of some city names
- Port to libsoup 3 HOT 1
- About corrections of some city names HOT 1
- Add airport Ingolstadt-Manching (IGS)
- Unable to load weather data since 16.10.2023 HOT 3
- Can we put the weather data server URL into an easier configurable place? HOT 13
- aviationweather.gov METAR URL change HOT 2
- Hong Kong International Airport location name is outdated (since 1998) HOT 1
- unable to pull data again 30-Oct-2023 HOT 1
- libmateweather 1.28 release source files are missing HOT 2
- Segfault on adding new location to calendar HOT 11
- FTBFS against tzdata 2020a HOT 2
- Clock applet stopped showing weather (Fedora) HOT 25
- No weather data on Manjaro Mate Edition HOT 1
- How to build HOT 4
- Failed to get METAR data HOT 1
- Please, ADD two cities into Brazil Locations HOT 8
- Missing TLS certificate verification HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libmateweather.