You are not logged in.
#Put the command you use to launch conky here, between the double quotes #ie. "conky", "conky -c /home/yourusername/.conkyrc", etc. #DON'T USE TILDES (~) #If this script is used by more than one conkyrc files, use the conky_launch2, conky_launch3, etc. variables conky_launch="conky" #conky_launch2="conky -c /folder/.conkyconfig" #conky_launch3="conky -c /otherfolder/.otherconkyconfig" . . . . pkill -xf "$conky_launch" --signal STOP #If this script is used by more than one conkyrc files, use the conky_launch2, conky_launch3, etc. variables #pkill -xf "$conky_launch2" --signal STOP #pkill -xf "$conky_launch2" --signal STOP
What about now?
Yea that would probably work BUT with one OOPS! it's means each conky would be using the same set of images or the font.
No, the way you had it was best ... set to "pause" all conkys - that a user can comment out if they want.
NO WAIT: Your right that would work, each conky calls the script with different options. ...
Oooooooooo this looks good!
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
I knew it was overkill.
I corrected the post above (the one with the experimental script).
Waiting for feedback.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
#Put the command you use to launch conky here, between the double quotes
#ie. "conky", "conky -c /home/yourusername/.conkyrc", etc.
#DON'T USE TILDES (~)
#If this script is used by more than one conkyrc files, use the conky_launch2, conky_launch3, etc. variables
conky_launch="wmctrl -s 3 && conky -q -c /media/5/Conky/S12/S12_time_tm.conky"
conky_launch2="wmctrl -s 2 && conky -q -c /media/5/Conky/The_Clock_3-9day_2.conky"
conky_launch3="wmctrl -s 0 && conky -q -c $HOME/1_accuweather/S11_accu_tm_BAR.conky"
conky_launch4="wmctrl -s 0 && conky -q -c $HOME/1_accuweather/S11_accu_bm_BAR.conky"
.
.
.
.
pkill -xf "$conky_launch" --signal STOP
#If this script is used by more than one conkyrc files, use the conky_launch2, conky_launch3, etc. variables
pkill -xf "$conky_launch2" --signal STOP
pkill -xf "$conky_launch3" --signal STOP
pkill -xf "$conky_launch4" --signal STOP
If that part works ... it would be great.
IE:
/media/5/Conky/S12/S12_time_tm.conky could have:
TEXT
${execi 900 bash $HOME/1_accuweather/1_accuweather -f2016 -h2016}\
next: /media/5/Conky/The_Clock_3-9day_2.conky
TEXT
${execi 900 bash $HOME/1_accuweather/1_accuweather -f2015 -h2015}\
and the two: $HOME/1_accuweather/S11_accu_tm_BAR.conky and $HOME/1_accuweather/S11_accu_bm_BAR.conky would only read the data files and use the weatherfont.
Same thing for the 16 hour conky, since the images are there it can be set to use the existing images and data. That's a conky I call without the "undecorated" option so read and [x] to close.
Last edited by Sector11 (2016-09-19 17:52:27)
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
How's that? up one.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
conky_launch="conky -q -c /media/5/Conky/S12/S12_time_tm.conky"
conky_launch2="conky -q -c /media/5/Conky/The_Clock_3-9day_2.conky"
conky_launch3="conky -q -c $HOME/1_accuweather/S11_accu_tm_BAR.conky"
conky_launch4="conky -q -c $HOME/1_accuweather/S11_accu_bm_BAR.conky"
Better delete the wmctrl part from the variables.
Isn't this procedure a bit confusing for the average user though?
EDIT:
Also, change all the pkill instances, not just the one I used as an example.
Last edited by TeoBigusGeekus (2016-09-19 17:55:46)
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Average - define average. hahahaha
YES it would be a LOT confusing for many. I was hoping for an easier way.
Not going to happen.
Make it simple ... as per your original idea - the script pauses all conkys. And I'll do what I always do, comment out those lines.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
I just had an idea.
The script, as it is written, allows either the 2015 or the 2016 images to be used, ie. you can't have both.
If you gave
./1_accuweather -f2015 -f2016
it would use the 2016 images only.
Would a modification of the script, so that the above command uses both the 2015 and 2016 images, be welcome?
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Waiting for feedback.
Unfortunately, I'm 500 km from home and can test anything on the PC here.
Offline
Never mind unklar, test it when you can.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
You read my mind. It's only 22 images.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Wait for it.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Unfortunately, I'm 500 km from home and can test anything on the PC here.
I will test for you
Be safe.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Teos new Accuweather script:
One Script to rule them all, One script to find them; One script to bring them all and in the conky bind them.
a mis-quote from LOTR
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
DELETED
In favour of this post where the script has been updated yet again.
Last edited by TeoBigusGeekus (2016-09-21 16:50:40)
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
OH YEA! TEO! YOU ROCK!
I called for the accuweather data in one conky, my wife's, see the two lines in medit. That conky gets called first ... and then used the data in three more accuweather conkys. YEA with no calls to the net.
All the sub-dirs populated properly!
Time to do some serious playing! THANK YOU!
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
You're welcome buddy, good night.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Oh right, time difference - night Teo .. pleasant dreams.
Tomorrow I'll start building a new "companion" conky or conkys as required.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Hello
Théo you are going to think that I abuse but it would be possible to you to put the hours of
the sun-rise sunset and the moon-rise and moon-set in the format 24 hours
Thank's in advance.
@+
Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Offline
Hello
Théo you are going to think that I abuse but it would be possible to you to put the hours of
the sun-rise sunset and the moon-rise and moon-set in the format 24 hours
Thank's in advance.
@+
Is there such an option in Accuweather's page?
Can't find any.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline