Commit e7e03383 authored by Dimitris T's avatar Dimitris T

fix weather settings

parent 49cf4772
......@@ -52,14 +52,11 @@ gsettings set com.linuxmint.updates refresh-hours 0
gsettings set com.linuxmint.updates refresh-minutes 10
# weather
echo 'adjusting settings needed for panel weather...'
#gsettings set org.mate.panel.applet.clock:/org/mate/panel/objects/clock/prefs/ cities "['<location name="" city="Athens" timezone="Europe/Athens" latitude="37.933334" longitude="23.933332" code="LGAV" current="true"/>']"
gsettings set org.mate.panel.applet.clock:/org/mate/panel/objects/clock/prefs/ format '24-hour'
gsettings set org.mate.panel.applet.clock:/org/mate/panel/objects/clock/prefs/ speed-unit 'Beaufort scale'
gsettings set org.mate.panel.applet.clock:/org/mate/panel/objects/clock/prefs/ show-weather true
gsettings set org.mate.panel.applet.clock:/org/mate/panel/objects/clock/prefs/ show-temperature true
echo 'you can also set your location in the mate panel, to get weather updates (right click on the Clock -> Preferences)'
echo 'adjusting settings needed for panel weather app...'
dconf write /org/mate/panel/objects/clock/prefs/format "'24-hour'"
dconf write /org/mate/panel/objects/clock/prefs/cities "['<location name="" city="Athens" timezone="Europe/Athens" latitude="37.933334" longitude="23.933332" code="LGAV" current="true"/>']"
dconf write /org/mate/panel/objects/clock/prefs/custom-format "''"
dconf write /org/mate/panel/objects/clock/prefs/speed-unit "'Beaufort scale'"
echo 'thats all! please reboot now!'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment