You are not logged in.

#1121 2016-09-19 17:30:21

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,010

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

TeoBigusGeekus wrote:
#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

#1122 2016-09-19 17:30:50

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

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

#1123 2016-09-19 17:33:20

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,010

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

#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.
2016_09_19_14_51_45_Scrot11.jpg

Last edited by Sector11 (2016-09-19 17:52:27)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1124 2016-09-19 17:47:23

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,010

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

How's that?  up one.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1125 2016-09-19 17:53:13

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

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

#1126 2016-09-19 17:59:10

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,010

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Average - define average.  smile hahahaha

YES it would be a LOT confusing for many.  I was hoping for an easier way.
Not going to happen.  sad

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.  smile


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1127 2016-09-19 18:03:50

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

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

#1128 2016-09-19 18:13:49

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,645

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

TeoBigusGeekus wrote:

Waiting for feedback.

Unfortunately, I'm 500 km from home and can test anything on the PC here.   hmm

Offline

#1129 2016-09-19 18:15:17

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

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

#1130 2016-09-19 18:26:51

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,010

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

You read my mind.  It's only 22 images.  smile


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1131 2016-09-19 18:29:28

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

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

#1132 2016-09-19 18:39:24

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,010

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1133 2016-09-19 18:43:19

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,010

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

unklar wrote:

Unfortunately, I'm 500 km from home and can test anything on the PC here.   hmm

I will test for you  smile
Be safe.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1134 2016-09-19 19:14:23

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,010

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

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

#1135 2016-09-19 19:41:38

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

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

#1136 2016-09-19 20:41:44

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,010

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

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!
2016_09_19_17_36_21_Scrot11.jpg

Time to do some serious playing! THANK YOU!


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1137 2016-09-19 20:42:57

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

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

#1138 2016-09-19 20:47:18

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,010

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

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

#1139 2016-09-20 10:42:48

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

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

#1140 2016-09-20 11:18:27

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

loutch wrote:

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

Board footer

Powered by FluxBB