Author Topic: Conky ?? (NUKED)  (Read 5427 times)

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15829
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Conky ?? (NUKED)
« Reply #30 on: May 01, 2011, 09:07:11 AM »
Every step forward is a step closer to the ultimate goal. :D

Offline weirdwolf

  • Hero Member
  • *****
  • Posts: 4096
  • AWHFY
Re: Conky ?? (NUKED)
« Reply #31 on: May 01, 2011, 03:39:59 PM »
This thing is easier than I thought, thank you

It can be as easy or as complicated as you want ;D (I choose the easy way ;D)
Glad you found my .conf useful as a starting point Crow, You can now morph it into what ever you want as you have already started to do with Leiche's conf's. As far as weather goes, I found a conf here (Hannah- 6th post down) who has weather in her .conf's
http://crunchbanglinux.org/forums/topic/59/my-conky-config/
Maybe that will give you some ideas?

http://conky.sourceforge.net/variables.html has info for weather as well

Best of luck to you!

Plan to be spontaneous tomorrow.


Offline Crow

  • Hero Member
  • *****
  • Posts: 8817
  • OBJECTS IN MIRROR... ARE LOSING
Re: Conky ?? (NUKED)
« Reply #32 on: May 01, 2011, 04:44:57 PM »
Thank you weirdwolf, will try that
I shall pass this way but once;
any good therefore that I can do,
or any kindness that I can show
let me not defer nor neglect it,
for I shall not pass this way again.

Linux User #330412

Offline Meemaw

  • Hero Member
  • *****
  • Posts: 2729
  • Never stop learning!
Re: Conky ?? (NUKED)
« Reply #33 on: May 13, 2011, 01:50:25 PM »
Hope you got conky sorted out, Crow.....

I keep messing with mine to try to improve it..... (haven't found a weather section I like yet!) and parnote and Sproggy each have good conky scripts as well... (they may be posted somewhere on the forum already.)
 
 ;D
Meemaw
PCLinuxOS Magazine Asst. Editor



We miss you, Joble!!!

Offline Sproggy

  • Hero Member
  • *****
  • Posts: 1484
Re: Conky ?? (NUKED)
« Reply #34 on: May 13, 2011, 03:22:15 PM »
Hi Guys ...

heres my conky file and scripts and pixmaps

Code: [Select]
# Default Fonts
use_xft yes
xftfont DejaVu Sans:size=8
override_utf8_locale yes

# Performance Settings
update_interval 1
total_run_times 0
double_buffer yes
no_buffers yes
net_avg_samples 2
text_buffer_size 1024

# Window Settings
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Window border
draw_borders no
draw_shades no

# Default Color
default_color E0DFDE

# Color Title.
color0 FFFFFF

# Size and position
minimum_size 1280 192
gap_x 0
gap_y 29
alignment bottom_left

TEXT
${image ~/.conky/pix/background.png -p 0,0 -s 1280x192}

${GOTO 292}${font DejaVu Sans:bold:size=9}${color0}Disk Space${font}${color}${GOTO 405}${font DejaVu Sans:size=9}${color0}Free / Total GiB${font}${color}${GOTO 548}${font DejaVu Sans:bold:size=9}${color0}Network${font}${color}${GOTO 804}${font DejaVu Sans:bold:size=9}${color0}CPU/GPU Temp${font}${color}${GOTO 1060}${font DejaVu Sans:bold:size=9}${color0}Time and date${font}${color}
${GOTO 36}Kernel:${GOTO 120}${kernel}${GOTO 292}System (/):${GOTO 405}${fs_free /}/${fs_size /}${GOTO 548}Upspeed:${GOTO 632}${upspeedgraph eth0 10,75 B7B2AD B7B2AD}  ${upspeedf eth0}k/s${GOTO 804}CPU:${GOTO 888}${platform it87.2576 temp 1}°C${GOTO 1060}Time: ${time %H:%M:%S}  
${GOTO 36}CPU0:${GOTO 120}${cpubar cpu0 10,50} ${cpu cpu0}%${GOTO 215}${freq_g}Ghz${GOTO 292}${GOTO 316}${fs_bar 10,100 /}${GOTO 548}Downspeed:${GOTO 632}${downspeedgraph eth0 10,75 B7B2AD B7B2AD}  ${downspeedf eth0}k/s${GOTO 804}GPU:${GOTO 888}${execi 60 nvidia-settings -t -q GPUCoreTemp} °C${GOTO 1060}
${GOTO 36}CPU1:${GOTO 120}${cpubar cpu1 10,50} ${cpu cpu1}%${GOTO 215}${freq_g}Ghz${GOTO 292}Home (/home):${GOTO 405}${fs_free /home}/${fs_size /home}${GOTO 804}Fan:${GOTO 888}${platform it87.2576 fan 1} RPM${GOTO 1060}Date: ${time %A}, ${time %d} ${time %B} ${time %Y}
${GOTO 36}CPU2:${GOTO 120}${cpubar cpu2 10,50} ${cpu cpu2}%${GOTO 215}${freq_g}Ghz${GOTO 292}${GOTO 316}${fs_bar 10,100 /home}${GOTO 548}Uploaded:${GOTO 632}${totalup eth0}${GOTO 804}
${GOTO 36}CPU3:${GOTO 120}${cpubar cpu3 10,50} ${cpu cpu3}%${GOTO 215}${freq_g}Ghz${GOTO 292}Data (/media/sdb3):${GOTO 405}${fs_free /media/sdb3}/${fs_size /media/sdb3} ${GOTO 804}${font DejaVu Sans:bold:size=9}${color0}GMail Inbox${font}${color}${GOTO 1060}Uptime: ${uptime}
${GOTO 36}RAM:${GOTO 120}${membar 10,50} ${memperc}%${GOTO 215}${memmax}${GOTO 292}${GOTO 316}${fs_bar 10,100 /media/sdb3}${GOTO 548}Downloaded:${GOTO 632}${totaldown eth0}${GOTO 804}You have ${execi 60 python ~/.conky/script/gmail.py}
${GOTO 36}SWAP:${GOTO 120}${swapbar 10,50} ${swapperc}%${GOTO 215}${swapmax}${GOTO 292}${GOTO 316}${GOTO 548}
${GOTO 36}Processor: ${GOTO 120}${voffset -13}${execi 3 ~/.conky/script/cpu.sh}${GOTO 548}Local IP:${GOTO 632}${addr eth0}${GOTO 804}${font DejaVu Sans:bold:size=9}${color0}Local Weather${font}${color}${GOTO 1060}
${GOTO 36}Machine:${GOTO 120}${machine}${GOTO 120}${GOTO 548}Public IP:${GOTO 632}${execi 10000 ~/.conky/script/ip.sh}${GOTO 632}${GOTO 804}${rss http://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&locCode=EUR|UK|UK105|Bedford 300 item_titles 1}${GOTO 1060}Conky Version: ${conky_version}

My Conky



extract the .7z file
... rename the conky folder to .conky and the conkyrc to .conkyrc and place both in your home directory

you will need to install LM-Sensors ... and run sensors-detect as root ... mine is a Quad core version but you can remove the none needed cores ...

to edit the Gmail Settings open the gmail.py file in the scripts folder and enter your username and password for Gmail and save the file ....

to edit the Weather settings open the .conkyrc and edit the following section

${GOTO 36}Machine:${GOTO 120}${machine}${GOTO 120}${GOTO 548}Public IP:${GOTO 632}${execi 10000 ~/.conky/script/ip.sh}${GOTO 632}${GOTO 804}${rss http://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&locCode=EUR|UK|UK105|Bedford 300 item_titles 1}${GOTO 1060}Conky Version: ${conky_version}

adjust the rss feed:-

Go to the accuweather rss url

http://www.accuweather.com/rss-center.asp

choose location and take a note of the returned url - in my case

http://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&locCode=EUR|UK|UK105|Bedford

Replace the address in the url command with yours

Kori


« Last Edit: May 14, 2011, 04:50:05 AM by Sproggy »

Offline Sproggy

  • Hero Member
  • *****
  • Posts: 1484
Re: Conky ?? (NUKED)
« Reply #35 on: May 14, 2011, 06:32:06 AM »
it might help if i added my archive DUH!!!!

Offline longtom

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3339
  • Satellite Station Africa
Re: Conky ?? (NUKED)
« Reply #36 on: May 14, 2011, 06:33:57 AM »
it might help if i added my archive DUH!!!!

You think?   ;D
Regards longtom

PCLinuxOS KDE 32bit
Intel Core 2 Duo E2200 / 2.2 GHz
2GB Ram
Nvidia GT610

Offline Meemaw

  • Hero Member
  • *****
  • Posts: 2729
  • Never stop learning!
Re: Conky ?? (NUKED)
« Reply #37 on: May 14, 2011, 07:53:30 PM »
Well, I used a couple of people's scripts....  (thanks for the weather, Sproggy!!!) and this is mine which I can share...   but I'm using xfce....  but it should work the same on lxde.


 
 ;D
« Last Edit: May 14, 2011, 07:55:53 PM by Meemaw »
Meemaw
PCLinuxOS Magazine Asst. Editor



We miss you, Joble!!!

Offline Crow

  • Hero Member
  • *****
  • Posts: 8817
  • OBJECTS IN MIRROR... ARE LOSING
Re: Conky ?? (NUKED)
« Reply #38 on: May 14, 2011, 08:13:09 PM »
Meemaw I made some things work thanks to the posts of weirdwolf and Leiche as you can see here http://www.pclinuxos.com/forum/index.php/topic,90609.msg759621.html#msg759621  

I will add the lines of Sproggy for weather  ;D

Edit.  I remembered that I made some changes, here is the latest

« Last Edit: May 14, 2011, 08:36:19 PM by Crow »
I shall pass this way but once;
any good therefore that I can do,
or any kindness that I can show
let me not defer nor neglect it,
for I shall not pass this way again.

Linux User #330412

Offline Meemaw

  • Hero Member
  • *****
  • Posts: 2729
  • Never stop learning!
Re: Conky ?? (NUKED)
« Reply #39 on: May 14, 2011, 08:37:21 PM »
Very nice, Crow!!!!
 
 ;D
Meemaw
PCLinuxOS Magazine Asst. Editor



We miss you, Joble!!!

Offline longtom

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3339
  • Satellite Station Africa
Re: Conky ?? (NUKED)
« Reply #40 on: May 15, 2011, 12:02:20 AM »
Well, I used a couple of people's scripts....  (thanks for the weather, Sproggy!!!) and this is mine which I can share...   but I'm using xfce....  but it should work the same on lxde.


 
 ;D


This is a very nice one, Meemaw.  Care to share your script?
Regards longtom

PCLinuxOS KDE 32bit
Intel Core 2 Duo E2200 / 2.2 GHz
2GB Ram
Nvidia GT610

Offline Meemaw

  • Hero Member
  • *****
  • Posts: 2729
  • Never stop learning!
Re: Conky ?? (NUKED)
« Reply #41 on: May 15, 2011, 02:23:42 PM »
This is a very nice one, Meemaw.  Care to share your script?


Sure!  Here it is....

http://dl.dropbox.com/u/10371249/conkyrc.txt
Meemaw
PCLinuxOS Magazine Asst. Editor



We miss you, Joble!!!

Offline Crow

  • Hero Member
  • *****
  • Posts: 8817
  • OBJECTS IN MIRROR... ARE LOSING
Re: Conky ?? (NUKED)
« Reply #42 on: May 15, 2011, 04:34:35 PM »
Thank you Meemaw weather added  ;D


Edit. Trying to understand where I download the code for my city
« Last Edit: May 15, 2011, 04:46:37 PM by Crow »
I shall pass this way but once;
any good therefore that I can do,
or any kindness that I can show
let me not defer nor neglect it,
for I shall not pass this way again.

Linux User #330412

Offline Meemaw

  • Hero Member
  • *****
  • Posts: 2729
  • Never stop learning!
Re: Conky ?? (NUKED)
« Reply #43 on: May 15, 2011, 09:04:14 PM »
Thank you Meemaw weather added  ;D

Edit. Trying to understand where I download the code for my city

Well, I'm not sure how Sproggy did it, but the only place I could find it was to right-click the page and 'View Page Source'.... (after I chose my location)...... towards the top of that code it said "AccuWeather.com RSS Feed for my town"  and the link was right after it....  I never could find it on the actual page (unless I'm blind.......)

Hope that helps....
 
 ;D

Meemaw
PCLinuxOS Magazine Asst. Editor



We miss you, Joble!!!

Offline Crow

  • Hero Member
  • *****
  • Posts: 8817
  • OBJECTS IN MIRROR... ARE LOSING
Re: Conky ?? (NUKED)
« Reply #44 on: May 15, 2011, 10:02:45 PM »
I think I'm the blind, I can't find the needed lines  ??? 

Maybe tomorow
I shall pass this way but once;
any good therefore that I can do,
or any kindness that I can show
let me not defer nor neglect it,
for I shall not pass this way again.

Linux User #330412