You are not logged in.
Well, setting text_buffer_size to 4864 didn't work. And Teo's comment about 4096 working for him prompted me to check the prior version of the script. The prior version had 4096 and that worked, so now I'm thinking that the text_buffer_size may not be the issue. The only changes I've made to the .conkyrc_1_hourly_2016 script are replacing $HOME/1_accuweather with $HOME/bin/1_accuweather, commenting out the top right alignment line and uncommenting the bottom left alignment line, and changing the gap_x and gap_y coordinates.
Edit 20170523-01: I placed another copy of the 1_accuweather folder under my home directory, configured the .conkyrc_1_hourly_2016 script for proper placement on my screen, and then ran the script. The icons are showing, so I've done something during the changes (probably the folder changes) I've made to the other script. My apologies to all for chasing a non-existent issue.
Edit 20170523-02: I found the issue. I missed needing to change line 693 in the 1_accuweather script.
Original line:
sed -i "4s/$/\${image \$HOME\/1_accuweather\/hourly_2016\/hourly_$i.png -s 36x36 -p $jump_to,49}/" $HOME/1_accuweather/altogether16_2016
Now reads:
sed -i "4s/$/\${image \$HOME\/bin\/1_accuweather\/hourly_2016\/hourly_$i.png -s 36x36 -p $jump_to,49}/" $HOME/bin/1_accuweather/altogether16_2016
Last edited by KrunchTime (2017-05-23 07:49:41)
Offline
No worries Krunchtime, your feedback is always valuable, false alarm or not.
As for the deprecated conky commands, I'll deal with it as soon as possible - it's high time I did...
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
ANNOUNCEMENT
I updated some deprecated conky commands in scripts 1, 1-RSS, 3 and 4 (2 was OK), namely the lines
use_spacer='yes'
...
border_margin='9'
have now become
use_spacer='right'
...
border_inner_margin=9
Also, I've changed the 4_Moon conkyrc to conky 10 (Lua) format. It was the only one remaining.
This update is only for perfectionists, your conky will work perfectly as it were.
Last edited by TeoBigusGeekus (2017-05-24 18:29:30)
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
^^ Teo
thanks for the compliment "for all perfectionists" here.
Offline
You know who you are
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
^ Thank you. I don't know if I've posted my favorite wallpaper site in that thread, but I don't feel like going through 16 pages to find out. 8)
Yup, you did on Page 3, but if your not going to look I'm not telling! And Earth is here.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
ANNOUNCEMENT
Thanks boss!
Barkeep, whatever he's having is on my bill.
Yea, that's right, that little 1cm x 1cm one, that's mine.
Seriously, Thanks Teo.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Thanks for the support all these years buddy...
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've made it easy.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Thank you for looking, but you didn't have to.
@Teo: Thank you for the updates.
Last edited by KrunchTime (2017-05-25 02:00:32)
Offline
^ Not a problem, took less then a minute. Now if there was 400+ pages I doubt I would have bothered because that's when I'd find it on page 345.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
I have a question, it's kind of weather related so I thought I'd post it here, but I'm happy to create a new thread if necessary. I was wondering if anyone had seen a conky / script for displaying air pollution levels? I did a few searches but couldn't find anything.
In France we have various air pollution websites (such as http://www.air-rhonealpes.fr/monair/commune/69123) which give an overall indicator between 0 and 100, updated daily (it can go over 100 when it's really bad).
Unfortunately I have no idea how these scripts work or I would try and do it myself...
Last edited by Jimbo_G (2017-05-30 07:42:45)
Offline
I have a question, it's kind of weather related so I thought I'd post it here, but I'm happy to create a new thread if necessary. I was wondering if anyone had seen a conky / script for displaying air pollution levels? I did a few searches but couldn't find anything.
In France we have various air pollution websites (such as http://www.air-rhonealpes.fr/monair/commune/69123) which give an overall indicator between 0 and 100, updated daily (it can go over 100 when it's really bad).
Unfortunately I have no idea how these scripts work or I would try and do it myself...
Here i found something, see if it can be useful
https://github.com/Lahorde/pws
Offline
I have a question, it's kind of weather related so I thought I'd post it here, but I'm happy to create a new thread if necessary. I was wondering if anyone had seen a conky / script for displaying air pollution levels? I did a few searches but couldn't find anything.
In France we have various air pollution websites (such as http://www.air-rhonealpes.fr/monair/commune/69123) which give an overall indicator between 0 and 100, updated daily (it can go over 100 when it's really bad).
Unfortunately I have no idea how these scripts work or I would try and do it myself...
Voila
#!/bin/bash
wget -O $HOME/Desktop/le_pollution http://www.air-rhonealpes.fr/monair/commune/69123
sed -i '/<div class=\"indice\"/!d' $HOME/Desktop/le_pollution
sed -i -e 's/^.*indice\">//' -e 's/<.*$//' $HOME/Desktop/le_pollution
It will create a file on your Desktop with the air pollution value.
You can then do whatever you want with it with conky.
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
Hi teo,
I tried your script from the terminal but did not create the file, you could indicate how to put it in the conky.
thank you
regards
answer terminal:
ettore@ectorpc:~$ '/home/ettore/meteo.sh'
/home/ettore/Desktop/le_pollution: File o directory non esistente
sed: impossibile leggere /home/ettore/Desktop/le_pollution: File o directory non esistente
sed: impossibile leggere /home/ettore/Desktop/le_pollution: File o directory non esistente
ettore@ectorpc:~$
edit
I realized that I did not have the Desktop folder,you script work!
sig
ettore@ectorpc:~$ '/home/ettore/meteo.sh'
--2017-05-31 10:36:16-- http://www.air-rhonealpes.fr/monair/commune/69123
Risoluzione di www.air-rhonealpes.fr (www.air-rhonealpes.fr)... 195.54.62.174
Connessione a www.air-rhonealpes.fr (www.air-rhonealpes.fr)|195.54.62.174|:80... connesso.
Richiesta HTTP inviata, in attesa di risposta... 200 OK
Lunghezza: non specificato [text/html]
Salvataggio in: "/home/ettore/Music/le_pollution"
/home/ettore/Music/l [ <=> ] 198,05K 904KB/s in 0,2s
2017-05-31 10:36:21 (904 KB/s) - "/home/ettore/Music/le_pollution" salvato [202800]
ettore@ectorpc:~$
Last edited by ector1935 (2017-05-31 08:38:40)
Offline
#!/bin/bash wget -O $HOME/Desktop/le_pollution http://www.air-rhonealpes.fr/monair/commune/69123 sed -i '/<div class=\"indice\"/!d' $HOME/Desktop/le_pollution sed -i -e 's/^.*indice\">//' -e 's/<.*$//' $HOME/Desktop/le_pollution
That is awesome, thank you Teo! I'll look forward to trying it out later...
As I don't know anything about this, I'd like to try and understand the code, please correct me if I'm wrong:
- wget copies the specified html to a file on the desktop (or wherever) called le_pollution. The information we want to extract is the number contained in the line <div class="indice">52</div>
- the first sed command deletes everything except the line beginning <div class="indice"
- the second sed command deletes the beginning of the line as far as the number 52 and the end of the line, leaving just the number
Or something like that??
Offline
TeoBigusGeekus wrote:#!/bin/bash wget -O $HOME/Desktop/le_pollution http://www.air-rhonealpes.fr/monair/commune/69123 sed -i '/<div class=\"indice\"/!d' $HOME/Desktop/le_pollution sed -i -e 's/^.*indice\">//' -e 's/<.*$//' $HOME/Desktop/le_pollution
That is awesome, thank you Teo! I'll look forward to trying it out later...
As I don't know anything about this, I'd like to try and understand the code, please correct me if I'm wrong:
- wget copies the specified html to a file on the desktop (or wherever) called le_pollution. The information we want to extract is the number contained in the line <div class="indice">52</div>
- the first sed command deletes everything except the line beginning <div class="indice"
- the second sed command deletes the beginning of the line as far as the number 52 and the end of the line, leaving just the number
Or something like that??
Exactly like that.
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
Hello all,
I've got an error in terminal after launching the wunderground script:
15:52 raphix > conky -c ~/2b_Wunderground_API/.conkyrc1 < debian:pts/4:~
conky: desktop window (dc) is root window
conky: window type - normal
conky: drawing to created window (0x3400001)
conky: drawing to double buffer
conky: forked to background, pid is 18135
15:52 raphix > < debian:pts/4:~
sed: impossible de lire /home/raphix/2_Wunderground_API/Conditions: Aucun fichier ou dossier de ce type
sed: impossible de lire /home/raphix/2_Wunderground_API/Simple_Forecast: Aucun fichier ou dossier de ce type
sed: impossible de lire /home/raphix/2_Wunderground_API/Simple_Forecast: Aucun fichier ou dossier de ce type
sed: impossible de lire /home/raphix/2_Wunderground_API/Simple_Forecast: Aucun fichier ou dossier de ce type
sed: impossible de lire /home/raphix/2_Wunderground_API/Simple_Forecast: Aucun fichier ou dossier de ce type
sed: impossible de lire /home/raphix/2_Wunderground_API/Simple_Forecast: Aucun fichier ou dossier de ce type
sed: impossible de lire /home/raphix/2_Wunderground_API/Simple_Forecast: Aucun fichier ou dossier de ce type
sed: impossible de lire /home/raphix/2_Wunderground_API/Simple_Forecast: Aucun fichier ou dossier de ce type
sed: impossible de lire /home/raphix/2_Wunderground_API/Simple_Forecast: Aucun fichier ou dossier de ce type
sed: impossible de lire /home/raphix/2_Wunderground_API/Simple_Forecast: Aucun fichier ou dossier de ce type
sed: impossible de lire /home/raphix/2_Wunderground_API/Conditions: Aucun fichier ou dossier de ce type
sed: impossible de lire /home/raphix/2_Wunderground_API/Simple_Forecast: Aucun fichier ou dossier de ce type
sed: impossible de lire /home/raphix/2_Wunderground_API/Simple_Forecast: Aucun fichier ou dossier de ce type
...
I'm now on debian stretch:
OS: Debian GNU/Linux 9.0 (stretch) x86_64
Kernel: 4.9.0-3-amd64
Thanks for help
Offline
Working perfect here.
You are using conky 1.10?
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Have you made the script executable?
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