[rhelv6-list] weird clock applet question on locations

Gary Gatling gsgatlin at ncsu.edu
Fri Dec 3 21:33:05 UTC 2010


Hello,

I am trying to change the default location in the clock applet from being 
Boston Ma. to Raleigh, NC. in RHEL 6 for our labs. I want to do this so 
that the weather icon shows up for any lab users and so that it shows the 
correct weather for my location in Raleigh.

I installed a fresh machine and configured the panel the way I want it. I 
deleted Boston Ma. and added Raleigh, NC. by hand as I configured the 
panel. Then I ran:

gconftool-2 --dump /apps/panel > my-panel-setup.entries

and set up on a fresh install on another machine:

gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --load my-panel-setup.entries

Everything is "almost" correct. My icons are all set up on the panel the 
way I want them. But when I click on the clock applet, it shows my 
location in Raleigh as a blinking red / white dot. When I hover over the 
analog clock in the GUI, a "set..." button pops up. When I click on the 
"set..." button it prompts me for the root password and then it changes 
the dot into a blue "house" icon.

After this "set..." button has been clicked on the weather icon magically 
appears in the panel with the correct weather for my location. For "all" 
users on the system. (not just my account)

Does anyone know how I can programattically do that with a command? 
/etc/localtime seems to be the same on both machines. I've looked at the 
sources to the gnome-panel rpm but its a lot of code and I can't seem to 
figure this one out on my own. :(

Thanks for any ideas anyone has? Do you think it will be possible to do 
what I am trying to do? (change clock applet to show weather in Raleigh, 
NC.)

Gary Gatling      | ITECS Systems




More information about the rhelv6-list mailing list