Author Topic: modify conky on latest i3 spin, how?(SOLVED)  (Read 854 times)

0 Members and 1 Guest are viewing this topic.

Offline gychang

  • Vollwertiges Mitglied
  • ***
  • Posts: 217
  • Skill: Novice
modify conky on latest i3 spin, how?(SOLVED)
« on: 18. July 2015, 08:40:35 »
very nice spin for my netbook, seems to run reasonably fast.

On the default conky, how do I change the default city?, it is showing the wrong city temperature...,

thanks,

« Last Edit: 29. July 2015, 23:16:03 by gychang »

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: modify conky on latest i3 spin, how?
« Reply #1 on: 23. July 2015, 08:22:37 »
Oh, sorry to have missed this post - I was on holiday and not so regularly on the forum...
The explanation is directly in the conky config file conky_lua_grey
You go to http://weather.noaa.gov/ and search for your country and then for the city closest to you.
This will lead you to a webpage-address that looks like this: http://weather.noaa.gov/weather/current/xxxx.html where xxxx is the four letter code for your city.
The same four letters need to replace 'LOWS' in line 60 of the original conky config. The name of your city goes in line 58.
So if you would live in Paris that part of your conky-file will become
Code: [Select]
${voffset 160}${font Caviar Dreams:size=10}${alignr}Paris${font}
# for the four letter city code use the search funcion on http://weather.noaa.gov/
${font Caviar Dreams:size=12}${color}${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ LFPG temperature temperature 15} °C${font}
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline gychang

  • Vollwertiges Mitglied
  • ***
  • Posts: 217
  • Skill: Novice
Re: modify conky on latest i3 spin, how? (SOLVED)
« Reply #2 on: 24. July 2015, 23:46:56 »
Oh, sorry to have missed this post - I was on holiday and not so regularly on the forum...
The explanation is directly in the conky config file conky_lua_grey
You go to http://weather.noaa.gov/ and search for your country and then for the city closest to you.
This will lead you to a webpage-address that looks like this: http://weather.noaa.gov/weather/current/xxxx.html where xxxx is the four letter code for your city.
The same four letters need to replace 'LOWS' in line 60 of the original conky config. The name of your city goes in line 58.
So if you would live in Paris that part of your conky-file will become
Code: [Select]
${voffset 160}${font Caviar Dreams:size=10}${alignr}Paris${font}
# for the four letter city code use the search funcion on http://weather.noaa.gov/
${font Caviar Dreams:size=12}${color}${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ LFPG temperature temperature 15} °C${font}

thanks your detailed instructions work great.