You are not logged in.
Hi,
It was up top and it had a .sh when I called it. So that is my bad, here is what I have now:
${texeci 900 /home/jwon/.bin/accuweather_conky/accuw_script}
${color Green}${font conkyweather:size=50}${execi 600 sed -n '2p' ~/.bin/accuweather_conky/curr_cond}${font}${goto 75}${font Radio Space}${voffset -40} Currently: ${execpi 600 sed -n '4p' $HOME/.bin/accuweather_conky/curr_cond}°C
${goto 75} ${execpi 600 sed -n '3p' $HOME/.bin/accuweather_conky/curr_cond|fold -w30}${font}
Now can this update automatically?
Offline
Now can this update automatically?
Sure thing.
Wait for 900 seconds and see for yourself (better start conky from a terminal to see the script updating after the texeci interval).
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 yes this works well, so essentially it is up to conkyrc to restart / update frequently to reflect this i assume. Cron job you suggest?
thanks great script and great support.
Offline
Oh yes this works well, so essentially it is up to conkyrc to restart / update frequently to reflect this i assume. Cron job you suggest?
thanks great script and great support.
No cron job whatsoever. Just add to the startup scripts of your system the command to start conky and you're done.
In my system for example - running Openbox - I created a file called conky_start.sh with these contents
sleep 2
conky
and then added to my /home/teo/.config/openbox/autostart file the following line:
bash ~/conky_start.sh &
(notice the ambersand - it forces the command to be run in the background).
And that's all about 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
Works like a charm!! I appreciate your time!
Offline
You're welcome mate!
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
.
Last edited by rulet (2013-02-15 13:07:45)
Offline
Looking back through that last terminal output I did see this error
Conky: /home/r/.conkyrc: 37: no such configuration: 'border_margin'
You no longer need these lines
# border margins border_margin 9
Also maybe try changing
own_window_type override
to
own_window_type desktop
Ive had some issues with conky displaying correctly with override
Are you running a compositor?
Ok. I did as you say and the conky's window appeared(but with not very readable fonts and is too big itself on the desktop) http://dl.dropbox.com/u/21108895/95.png
But that window disappears when I click somewhere on the desktop.
Here is output(I terminated command manually using system-monitor) http://pastebin.com/4KHKzXYc
I'm using Debian 7 with Gnome 3.4.2 and gnome-shell 3.4.2 and conky 1.9.0-2 version.
Last edited by rulet (2013-02-15 13:24:21)
Offline
Can you post us your full conkyrc file?
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
@ rulet
border_margin is depreciated - there are now two commands and these will serve you well.
# border margins
border_inner_margin 9
border_outer_margin 0
If you use:
own_window_type override
none of the own_window_hints take affect.
own_window_hints
If own_window is yes, you may use these window manager hints to affect the way Conky displays. Notes: Use own_window_type desktop as another way to implement many of these hints implicitly. If you use own_window_type override, window manager hints have no meaning and are ignored.
I suggest:
own_window yes
own_window_type normal
own_window_hints undecorated,below,skip_taskbar,skip_pager
own_window_transparent yes
own_window_class Conky
own_window_type normal allows right clicking on the desktop as if there was no conky there and the hints are used.
Check the highlighted code in the conky and how it displays on the screen:
Again like TeoBigusGeekus said: Can you post your full conkyrc file?
I'm using Debian SID with OpenBox your config will probably need tweaking for the GNOME desktop.
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Ok, I tried what you suggested. This time I used 1d1_Accuweather_INT_Images script. And something appeared http://dl.dropbox.com/u/21108895/96.png. Here is .conkyrc http://pastebin.com/bD3gMSba. Here is ~/Accuweather_Conky_Int_Images/acc_int_images file http://pastebin.com/AwiEDXQQ. Here is output of a command http://pastebin.com/zAeg2JyC.
Offline
As I've told you before, the scripts cannot be used in the Russian and/or Ukranian languge. You have to make do with English.
In your conkyrc, change these lines
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal
own_window_hints undecorated,below,skip_taskbar,skip_pager
own_window_transparent yes
own_window_class Conky
with
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
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
I did so. This time nothing appears and here is output http://pastebin.com/twawRmWj. The .conkyrc file http://pastebin.com/YPiEgqL3.
As I've told you before, the scripts cannot be used in the Russian and/or Ukranian languge.
Yeah, that's bad. You have to modify script for supporting different languages, because accuweather itself support many languages.
What is interesting that conky-all package supports some "weather" http://dl.dropbox.com/u/21108895/97.png itself, but I don't understand what that means and how to configure it.
Last edited by rulet (2013-02-16 17:48:17)
Offline
Give
killall -9 conky
to kill all instances of conky, replace this line
#put your Accuweather address here
address="http://www.accuweather.com/ru/ua/kiev/324505/weather-forecast/324505"
in the script with
#put your Accuweather address here
address="http://www.accuweather.com/en/ua/kiev/324505/weather-forecast/324505"
and try again.
I used to maintain different language versions of some of the scripts, but it's too much of a work to do, since the scripts change occasionally.
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
Give
killall -9 conky
to kill all instances of conky, replace this line
#put your Accuweather address here address="http://www.accuweather.com/ru/ua/kiev/324505/weather-forecast/324505"
in the script with
#put your Accuweather address here address="http://www.accuweather.com/en/ua/kiev/324505/weather-forecast/324505"
and try again.
I used to maintain different language versions of some of the scripts, but it's too much of a work to do, since the scripts change occasionally.
I did that(and even rebooted) but again nothing appeared on the desktop http://pastebin.com/mziZGmzZ
Offline
Ok, one final attempt: please post your complete version of the script and your complete conkyrc file.
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
It's 1d1_Accuweather_INT_Images script, .conkyrc http://pastebin.com/5fTLD4Yt.
Debian 7(wheezy) with Gnome 3.4.2 and gnome-shell 3.4.2 and conky-all 1.9.0-2 version.
Thank's for response.
Last edited by rulet (2013-02-16 18:49:14)
Offline
Using your conkyrc, I get this:
ie. everything's screwed up.
Using my conkyrc, I get this:
ie. everythings's OK.
All in all, you should get something on your screen.
Are you sure you're calling the correct conkyrc file?
Just to eliminate this possibility, kill conky and start it with
conky -c /path/.conkyrc
Replace path with the actual path of the file of course.
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
Hmm... I tried with conky -c .conkyrc command and nothing appears at all. Output http://pastebin.com/YagNSGdA
Offline
Sorry mate, but it must be something with your system and/or your conky installation.
I don't use Debian or Crunchbang, so if anybody else would like to hop in the conversation, he'd be perfectly 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
What system do you use? I don't think that something wrong with my the system or conky as it works itself well.
Offline
I use Arch.
Tried with your conkyrc and I did get results, therefore I presume it must be something with your system or setup.
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
Greetings all, nice to see Teo and Sector 11 here. Has been a while since I have enjoyed playing with Conky. I kinda figured after Orange and Blue, that this would most logically be the next place to look.
Well, I tried the Accuweather_Conky_USA_Images. Read the readme file. After extraction to my /home/ichase02/Conky_Scripts folder I copied the Accuweather_Conky_USA_Images folder to my /home/ichase02 folder. I made the script executable using chmod +x.
I then attempted to execute the conky by typing:
$ conky -c /home/ichase02/Conky_Scripts/TeoBigusGeekus_Conky_Weather_Scripts_16-1-12/1e_Accuweather_USA_Images/.conkyrc_acc_usa_images/.conkyrc_acc_usa_images
At this point I get a TON of sed errors such as:
sed: can't read /home/ichase02/Accuweather_Conky_USA_Images/curr_cond: No such file or directory
wget: no process found
/home/ichase02/Accuweather_Conky_USA_Images/acc_usa_images: line 225: wget: command not found
/home/ichase02/Accuweather_Conky_USA_Images/acc_usa_images: line 228: wget: command not found
grep: /home/ichase02/Accuweather_Conky_USA_Images/tod_ton_raw: No such file or directory
/home/ichase02/Accuweather_Conky_USA_Images/acc_usa_images: line 236: wget: command not found
sed: can't read /home/ichase02/Accuweather_Conky_USA_Images/curr_cond: No such file or directory
sed: can't read /home/ichase02/Accuweather_Conky_USA_Images/curr_cond: No such file or directory
sed: can't read /home/ichase02/Accuweather_Conky_USA_Images/curr_cond: No such file or directory
sed: can't read /home/ichase02/Accuweather_Conky_USA_Images/curr_cond: No such file or directory
sed: can't read /home/ichase02/Accuweather_Conky_USA_Images/curr_cond: No such file or directory
wget: no process found
/home/ichase02/Accuweather_Conky_USA_Images/acc_usa_images: line 225: wget: command not found
/home/ichase02/Accuweather_Conky_USA_Images/acc_usa_images: line 228: wget: command not found
grep: /home/ichase02/Accuweather_Conky_USA_Images/tod_ton_raw: No such file or directory
/home/ichase02/Accuweather_Conky_USA_Images/acc_usa_images: line 236: wget: command not found
sed: can't read /home/ichase02/Accuweather_Conky_USA_Images/curr_cond: No such file or directory
sed: can't read /home/ichase02/Accuweather_Conky_USA_Images/curr_cond: No such file or directory
sed: can't read /home/ichase02/Accuweather_Conky_USA_Images/curr_cond: No such file or directory
That is just a snippit, there are more sed errors after that, but did not think I needed to post all of them The above was probably MORE than enought LOL
The screen writes with only the layout of the conky but no images:
Obviously it is something that I am doing wrong and nothing wrong with Teo's great scripts. I thought I followed the instructions in the read_me file to the letter but very well may have done something wrong.
I do have conky-lau installed in Arch vice just the straight conky package.
If you require more information, please let me know, and please accept my appreciation for your help and guidance.
All the best,
Ian
EDIT: Never mind, figured it out, I did not have wget installed. Just recently moved to a newer laptop, installed Arch from a fresh build and did not bring in wget.
Last edited by ichase (2013-02-23 18:03:41)
Offline
Hi Ian and good to hear from you again, it's been a long time.
/home/ichase02/Accuweather_Conky_USA_Images/acc_usa_images: line 225: wget: command not found
Methinks it's just that you don't have wget installed.
Debian:
sudo apt-get install wget
Arch:
sudo pacman -S wget
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
Hahaha Teo, is great to see you, I hope this post finds you doing well. I just edited my last post. After going through the errors, it was apparent of just that I did not have wget installed.
All the best and great to be back,
Ian
Is it normal not to be getting wind humidity readings?
Last edited by ichase (2013-02-23 18:06:25)
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat