Hi brydonhunter looks good.
Can you post your moon.sh and pressure.sh script or a link to a download of a
conky that uses the same weather.
What do I need to see forecast images?
Hi brydonhunter looks good.
Can you post your moon.sh and pressure.sh script or a link to a download of a
conky that uses the same weather.
What do I need to see forecast images?
Here is one I have kind of settled on for a while.
Conkys are available upon request. There are 3 for this setup.
Last edited by QDR06VV9; September 24th, 2015 at 06:17 PM.
Hi CantanRus,
Here are my scripts:
moon.sh
pressure.shCode:#!/bin/bash #function: moonrise_set moonrise_set () { case "$1" in "FirstQuarter") echo "Noon/Midnight" ;; "FullMoon") echo "6PM/6AM" ;; "LastQuarter") echo "Midnight/Noon" ;; "NewMoon") echo "6AM/6PM" ;; "WaningCrescent") echo "3AM/3PM" ;; "WaningGibbous") echo "9PM/9AM" ;; "WaxingCrescent") echo "9AM/9PM" ;; "WaxingGibbous") echo "3PM/3AM" ;; *) echo "Unavailable" esac } #kill -STOP $(pidof conky) #killall wget #put your hemisphere here: n for north, s for south hemisphere=n wget -O $HOME/conky/raw "http://www.moongiant.com/phase/today" #wget -O $HOME/conky/cornwall "http://aa.usno.navy.mil/cgi-bin/aa_phases.pl?year=2015&month=8&day=20&nump=4&format=p" #grep -o 'Next Full Moon:[^"]*' cornwall > moon #sed -i 's/<[^>]*>//g' moon rm $HOME/conky/moon.png sed -i -e '/^ *$/d' -e 's/^ *//g' $HOME/conky/raw sed -i '/var jArray=\|"todayMoonContainer"/!d' $HOME/conky/raw sed -i -e '/var jArray/s/","/\n/g' -e 's/<span>\|<b>\|<\\\/span>\|<\\\/b>\|\\n//g' $HOME/conky/raw sed -i 's/"\].*\[\"/\n/g' $HOME/conky/raw sed -i '/var jArray/d' $HOME/conky/raw sed -i -e 's/"\]};//g' -e 's/^.*today_phase\///g' -e 's/\.jpg.*$//g' $HOME/conky/raw phase=$(sed -n 7p $HOME/conky/raw|sed 's/ //') mrise_mset=$(moonrise_set $phase) sed -i 7a$(moonrise_set $phase) $HOME/conky/raw img_in=$(sed -n 44p $HOME/conky/raw) cp $HOME/conky/moonicon/$img_in.png $HOME/conky/moon.png
let me know if you have a y questionsCode:#!/bin/bash # UV.sh by Scott Hayes 2015-08-19 # Usage: UV.sh <UV Number> # Uses ~/.config/weather.xml from weather.yahoo.com UV=`grep "yweather:atmosphere" ~/.cache/weather.xml | grep -o "rising=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | tr '[a-z]' '[A-Z]'` if [ "$UV" = 0 ]; then printf "Steady" elif [ "$UV" = 1 ]; then printf "Rising" else printf "Falling" fi printf "\n"
scott
I am using gnome-shell 3.16 with ubuntu 15.10 and I can't get conky to display on my default display on my secondary display which is a TV. Here is a snippet of my config:
Code:alignment top_left double_buffer yes no_buffers yes gap_x 1600 gap_y 40
| Corsair Carbide Series® 300R | Intel Core i5 650@3.20Ghz| OCZ-Vertex3 120 Gb SSD | Western Digital 640 Gb HDD | Western Digital 1 Tb HDD ||Gigabyte GeForce GTX 950 Extreme | Ubuntu 16.04 x86_64 | Windows 10 Pro |
Try this tad1073
Gosh I hope I"m remembering correctly.
Yours Reads
Try insteadCode:gap_x 1600
If that is not right make it 1601.Code:gap_x 1599
I'm sure you get the drift.
Regards
Last edited by QDR06VV9; September 5th, 2015 at 12:57 AM.
| Corsair Carbide Series® 300R | Intel Core i5 650@3.20Ghz| OCZ-Vertex3 120 Gb SSD | Western Digital 640 Gb HDD | Western Digital 1 Tb HDD ||Gigabyte GeForce GTX 950 Extreme | Ubuntu 16.04 x86_64 | Windows 10 Pro |
Try config settings as in this post
I once created an even simpler solution. Would be interesting to see if it helps.
http://ubuntuforums.org/showthread.php?t=1797174
Last edited by 42dorian2; September 5th, 2015 at 08:01 PM.
Didn't work!
Code:alignment tl double_buffer yes no_buffers yes gap_x 1600 gap_y 40 update_interval 0.5 cpu_avg_samples 5 net_avg_samples 5 background yes own_window yes own_window_transparent yes own_window_argb_visual yes own_window_type normal draw_shades no draw_graph_borders no own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager,below minimum_size 300 1080 maximum_width 300 use_xft yes xftalpha 0.1 xftfont Ubuntu:size=8 default_color white
| Corsair Carbide Series® 300R | Intel Core i5 650@3.20Ghz| OCZ-Vertex3 120 Gb SSD | Western Digital 640 Gb HDD | Western Digital 1 Tb HDD ||Gigabyte GeForce GTX 950 Extreme | Ubuntu 16.04 x86_64 | Windows 10 Pro |
Yeah, sorry no experience with conky and dual monitors so can't help much.
Bookmarks