Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #196  
Old 16th September 2011, 04:03 PM
input Offline
Registered User
 
Join Date: Nov 2010
Posts: 161
linuxfedorafirefox
Re: Conky & .conkyrc - Examples & Screenshots

Quote:
Originally Posted by ozjd View Post
I realise I've never posted a shot of my Conky here so here is the one off one of my machines. It grew out of the one Craig presented in the original post too. The config file is below. Feel free to experiment with it if you wish. Click here for a full size view



Code:
# .conkyrc - for fourpot

# --- Window Layout & Options --- #
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_argb_visual yes
double_buffer yes
use_spacer right
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 1
short_units yes
alignment top_right
maximum_width 300
gap_x 10
gap_y 20
if_up_strictness address

# --- Colours, Sizes, Fonts & Margins --- #
update_interval 2
stippled_borders 3
border_width 0
default_color white
color0 ccaa77
color1 grey
color2 ffff99      #yellow
color3 lightgrey
color4 990033      #dark red
color5 ccaa66      #light gold
color6 green
color7 red

# --- Text --- #
draw_outline no
draw_borders no
font Monospace:size=8:weight=bold
uppercase no
draw_shades yes

TEXT
${color5}${font DejaVu Sans:weight=bold:size=16}${alignc}${time %H:%M:%S}
${font DejaVu Sans:weight=bold:size=14}${alignc}${time %A}, ${time %e} ${time %B} ${time %G}

${font DejaVu Sans:weight=bold:size=10}${color0}SYSTEM INFORMATION ${hr 2}
$font${color1}Uptime$color $uptime 
${color1}Kernel$color $kernel
${color1}KDE Version: $color${execi 99999 kde4-config --version | grep 'KDE' | tail --bytes=7 | cut -c-5}${alignr}${color1}Arch$color $machine

${font DejaVu Sans:weight=bold:size=10}${color0}CPU ${hr 2}$color
$font${execi 99999 cat /proc/cpuinfo | grep "model name" -m1 | cut -d":" -f2 | cut -d" " -f2- | sed 's#Processor ##'}
${color1}Core 0: $color${execi 10 sensors | grep "Core 0" | cut -c15-19} degC${alignr}${color1}Core 1: $color${execi 10 sensors | grep "Core 1" | cut -c15-19} degC
${color1}Freq:$color $font$color${freq_g 1}GHz ${color1}${alignr}Freq:$color $font$color${freq_g 2}GHz
${color0}${cpugraph cpu1 25,145 990033 ffbb55} ${color0}${cpugraph cpu2 25,145 990033 ffbb55}
${color5}${cpubar cpu1 4,145} ${cpubar cpu2 4,145}
${color1}Core 2: $color${execi 10 sensors | grep "Core 2" | cut -c15-19} degC${alignr}${color1}Core 3: $color${execi 10 sensors | grep "Core 3" | cut -c15-19} degC
${color1}Freq:$color $font$color${freq_g 3}GHz ${color1}${alignr}Freq:$color $font$color${freq_g 4}GHz
${color0}${cpugraph cpu3 25,145 990033 ffbb55} ${cpugraph cpu4 25,145 990033 ffbb55}
${color5}${cpubar cpu3 4,145} ${cpubar cpu4 4,145}

${font DejaVu Sans:weight=bold:size=10}${color0}NVIDIA ${execi 30 ~/.conky/nvidia.sh} GPU ${hr 2}
$font${color1}Temp: $color${execi 30 nvidia-settings -q gpucoretemp | grep '):' | 
awk '{print $4}' | cut -c -2} degC ${color1}${alignr}Driver: $font$color${execi 30 nvidia-settings -q NvidiaDriverVersion | grep '):' | awk '{print $4}' | cut -c -9}

${font DejaVu Sans:weight=bold:size=10}${color0}TOP 5 PROCESSES ${hr 2}
$font${color1}Processes:$color $running_processes/ $processes
${color1}   NAME              PID      CPU      MEM
${color2}1. ${top name 1}${top pid 1}   ${top cpu 1}   ${top mem 1}$color
2. ${top name 2}${top pid 2}   ${top cpu 2}   ${top mem 2}
3. ${top name 3}${top pid 3}   ${top cpu 3}   ${top mem 3}
4. ${top name 4}${top pid 4}   ${top cpu 4}   ${top mem 4}
5. ${top name 5}${top pid 5}   ${top cpu 5}   ${top mem 5}

${font DejaVu Sans:weight=bold:size=10}${color0}MEMORY & SWAP ${hr 2}
$font${color1}RAM$color   $mem/ $memmax
${color1}RAM$color   $memperc%   ${color5}${membar 6}$color
${color1}Swap$color  $swapperc%   ${color5}${swapbar 6}$color

${font DejaVu Sans:weight=bold:size=10}${color0}DISK FREE SPACE ${hr 2}
$font${color1}Home -  $color${fs_free /home} of ${fs_size /home}  ${fs_free_perc /home}% free
${color1}Drive Temperature: $color${hddtemp /dev/sda} degC
${color5}${fs_bar 6 /home}
$font${color1}Video - $color${fs_free /media/Video} of ${fs_size /media/Video}  ${fs_free_perc /media/Video}% free
${color1}Drive Temperature: $color${hddtemp /dev/sdb} degC
${color5}${fs_bar 6 /media/Video}

${if_up ppp0}${font DejaVu Sans:weight=bold:size=10}${color0}MOBILE INTERNET ${font :size=9}(${addr ppp0}) ${hr 2}
$font${color1}Down:$color  ${downspeed ppp0}/s${alignr}${color1}Up:$color ${upspeed ppp0}/s
${color0}${downspeedgraph ppp0 25,145 990033 ffbb55} ${alignr}${upspeedgraph ppp0 25,145 990033 ffbb55}
${color1}Downloaded: $color${totaldown ppp0} $alignr ${color1}Uploaded: $color${totalup ppp0}

$else${font DejaVu Sans:weight=bold:size=10}${color0}INTERNET ${font DejaVu Sans:weight=bold:size=9}(${addr eth0}) ${hr 2}
$font${color1}Down:$color6  ${downspeed eth0}/s${alignr}${color1}Up:$color7 ${upspeed eth0}/s
${color0}${downspeedgraph eth0 25,145 ffbb55 66dd00} ${alignr}${upspeedgraph eth0 25,145 ffbb55 cc0000}
${color1}Session:    ${color6}${totaldown eth0} $alignr ${color7}${goto 160}${totalup eth0}
${color1}Today:      ${color6}${execi 300 vnstat | grep "today" | awk '{print $2 $3}'}${goto 160}$color7${execi 300 vnstat | grep "today" | awk '{print $5 $6}'}${goto 245}$color${execi 300 vnstat | grep "today" | awk '{print $8 $9}'}
${color1}Yesterday: ${color6} ${execi 300 vnstat | grep "yesterday" | awk '{print $2 $3}'}${goto 160}${color7}${execi 300 vnstat | grep "yesterday" | awk '{print $5 $6}'}${goto 245}${color}${execi 300 vnstat | grep "yesterday" | awk '{print $8 $9}'}
${color1}Week:       ${color6}${execi 300 vnstat -w | grep "current week" | awk '{print $3 $4}'}${goto 160}${color7}${execi 300 vnstat -w | grep "current week" | awk '{print $6 $7}'}${goto 245}${color}${execi 300 vnstat -w | grep "current week" | awk '{print $9 $10}'}
${color1}Month:      ${color6}${execi 300 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $3 $4}'}${goto 160}${color7}${execi 300 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $6 $7}'}${goto 245}${color}${execi 300 vnstat -m | grep "`date +"%b '%y"`" | awk '{print $9 $10}'}${font}
${endif}
Your example does not show the CPU temperature
How can I set this up.

Thanks
Reply With Quote
  #197  
Old 16th September 2011, 04:49 PM
dispenser Offline
Registered User
 
Join Date: Jun 2010
Posts: 79
linuxfirefox
Re: Conky & .conkyrc - Examples & Screenshots

Yeah, conky is great. I was using it back when I was on ubuntu. I'll have to get it going again on fedora.
Reply With Quote
  #198  
Old 16th September 2011, 11:57 PM
ozjd's Avatar
ozjd Online
Registered User
 
Join Date: Feb 2008
Location: Sydney Australia
Age: 57
Posts: 2,228
linuxchrome
Re: Conky & .conkyrc - Examples & Screenshots

Quote:
Originally Posted by input View Post
Your example does not show the CPU temperature
How can I set this up.

Thanks
It is in the second line under CPU. It shows the individual temps for each core. You need lm_sensors installed and running. Sensors numbers cores from zero.
Code for each core is
Code:
${color1}Core 0: $color${execi 10 sensors | grep "Core 0" | cut -c15-19} degC
Just replace zero with the core number. In my case 0 - 3 for a quad core.
Reply With Quote
  #199  
Old 29th October 2011, 02:57 PM
ackernan Offline
Registered User
 
Join Date: Oct 2011
Posts: 2
linuxfirefox
Re: Conky & .conkyrc - Examples & Screenshots

Here's the conkys I have. I was using Mint and Crunchbang. They were using conky 1.8.0. It took me a few hours to get it to work on FC15 and conky 1.81, especially the conkyforecast.

Full Desktopt
Attached Thumbnails
Click image for larger version

Name:	Conky (localhost.localdomain)_009.png
Views:	406
Size:	152.3 KB
ID:	21991  

Last edited by ackernan; 29th October 2011 at 03:30 PM.
Reply With Quote
  #200  
Old 28th November 2011, 08:53 PM
Xylocaine Offline
Registered User
 
Join Date: May 2011
Posts: 29
linuxfirefox
Re: Conky & .conkyrc - Examples & Screenshots

here is my conky configuration, it is running on fedora 16 gnome shell with the latest kernel, it seems nice, most of the configuration taken from pinguy forum, but i had to edit most of it.

~/.conkyrc
PHP Code:
# Use Xft?
use_xft yes
xftfont Sans
:size=8
xftalpha 0.8
#text_buffer_size 2048

# Update interval in seconds
update_interval 1

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated
,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 182 690
maximum_width 182

# Draw shades?
draw_shades no
default_color D6D6D6 
#4D4D4D
# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_inner_margin  5

# border width
border_width 1

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 15
gap_y 40

# -- Lua Load -- #
lua_load ~/.scripts/draw_bg.lua
lua_draw_hook_pre draw_bg

TEXT
SYSTEM 
${hr 2}
${goto 
6}${voffset 6}${font OpenLogos:size=22}u${font}${goto 36}${voffset -18}${pre_exec cat /etc/issue.net$machine
${goto 36}Kernel: ${kernel}  
${
hr 2}

${goto 
6}${font StyleBats:size=16}A${font}${voffset -4}${goto 32}CPU1: ${cpu cpu0}% ${alignr}${cpubar cpu0 8,60}
${goto 
6}${voffset 4}${font StyleBats:size=16}A${font}${voffset -4}${goto 32}CPU2: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${goto 
6}${voffset 4}${font StyleBats:size=16}A${font}${voffset -4}${goto 32}CPU3: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
${goto 
6}${voffset 4}${font StyleBats:size=16}A${font}${voffset -4}${goto 32}CPU4: ${cpu cpu3}% ${alignr}${cpubar cpu3 8,60}
${goto 
6}${voffset 4}${font StyleBats:size=16}g${font}${voffset -4}${goto 32}RAM: ${mem} ${alignr}${membar 8,60}
${goto 
6}${voffset 4}${font StyleBats:size=16}x${font}${voffset -4}${goto 32}DISK: ${diskio}${alignr}${diskiograph 8,60 F57900 FCAF3E}
${goto 
6}${voffset 4}${font StyleBats:size=16}j${font}${voffset -4}${goto 32}SWAP$swapperc% ${alignr}${swapbar 8,60}
${goto 
6}${voffset 4}${font StyleBats:size=16}q${font}${voffset -4}${goto 32}Uptime: ${alignr}${uptime}
${goto 
6}${voffset 4}${font StyleBats:size=16}k${font}${voffset -4}${goto 32}Processes: ${alignr}$processes ($running_processes running)
${goto 
7.5}${voffset 4}${font Poky:size=15}a${font}${goto 32}${voffset -10}Highest: ${alignr 13}CPU${alignr}RAM
${goto 32}${voffset -5.5}${hr 1}
${
voffset -1}${goto 32}${top name 1} ${goto 124}${top cpu 1}${alignr }${top mem 1}
${
voffset -1}${goto 32}${top name 2} ${goto 124}${top cpu 2}${alignr }${top mem 2}
${
voffset -1}${goto 32}${top name 3} ${goto 124}${top cpu 3}${alignr }${top mem 3}
${
voffset -1}${goto 32}${top name 4} ${goto 124}${top cpu 4}${alignr }${top mem 4}

${
voffset -1}DATE ${hr 2}
${
alignc 35}${font Arial Black:size=26}${time %H:%M}${font}
${
alignc}${time %%%B}

${
voffset -1}HD ${hr 2}
${goto 
3}${voffset 4}${font Poky:size=16}H${font}${goto 29}${voffset -11Root: ${fs_used_perc /}%${alignr}${fs_size /}
${goto 
29Free: ${fs_free /}${alignr}${fs_bar 8,60 /}
${goto 
3}${voffset 8}${font Poky:size=16}H${font}${goto 29}${voffset -11Home: ${fs_used_perc /home}%${alignr}${fs_size /home}
${goto 
29Free: ${fs_free /home}${alignr}${fs_bar 8,60 /home}

${
voffset -1}NETWORK ${hr 2}
${
if_existing /sys/devices/virtual/net/lo/subsystem/wlan0/operstate up}
${
font Poky:size=14}Y${font}${goto 32}${voffset -8}SSID: ${wireless_essid wlan0}
${goto 
32}Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
${
voffset 4}${font VariShapes Solid:size=14}q${font}${goto 32}${voffset -6}Up: ${upspeed wlan0}${font} ${alignr}${upspeedgraph wlan0 8,60 F57900 FCAF3E}
${goto 
32}Total: ${totalup wlan0}
${
voffset 4}${font VariShapes Solid:size=14}Q${font}${goto 32}${voffset -6}Down: ${downspeed wlan0}${font} ${alignr}${downspeedgraph wlan0 8,60 F57900 FCAF3E}
${goto 
32}Total: ${totaldown wlan0}
${
voffset 4}${font Poky:size=13}w${font}${goto 32}${voffset -8}Local IP: ${alignr}${addr wlan0}
${goto 
32}Public IP: ${alignr}${execi 3600 wget -http://whatismyip.org/ | tail}
#
# |--ETH0
#
$else${if_existing /sys/devices/virtual/net/lo/subsystem/wlan1/operstate up}
${
font Poky:size=14}Y${font}${goto 32}${voffset -8}SSID: ${wireless_essid wlan1}
${goto 
32}Signal: ${wireless_link_qual wlan1}% ${alignr}${wireless_link_bar 8,60 wlan1}
${
voffset 4}${font VariShapes Solid:size=14}q${font}${goto 32}${voffset -6}Up: ${upspeed wlan1}${font} ${alignr}${upspeedgraph wlan1 8,60 F57900 FCAF3E}
${goto 
32}Total: ${totalup wlan1}
${
voffset 4}${font VariShapes Solid:size=14}Q${font}${goto 32}${voffset -6}Down: ${downspeed wlan1}${font} ${alignr}${downspeedgraph wlan1 8,60 F57900 FCAF3E}
${goto 
32}Total: ${totaldown wlan1}
${
voffset 4}${font Poky:size=13}w${font}${goto 32}${voffset -8}Local IP: ${alignr}${addr wlan1}
${goto 
32}Public IP: ${alignr}${execi 3600 wget -http://whatismyip.org/ | tail}
#
# |--em0
#
$else
${if_existing /sys/devices/virtual/net/lo/subsystem/em0/operstate up}
${
font Poky:size=14}Y${font}${goto 32}${voffset -8}SSID: ${wireless_essid em0}
${goto 
32}Signal: ${wireless_link_qual em0}% ${alignr}${wireless_link_bar 8,60 em0}
${
voffset 4}${font VariShapes Solid:size=14}q${font}${goto 32}${voffset -6}Up: ${upspeed em0}${font} ${alignr}${upspeedgraph em0 8,60 F57900 FCAF3E}
${goto 
32}Total: ${totalup em0}
${
voffset 4}${font VariShapes Solid:size=14}Q${font}${goto 32}${voffset -6}Down: ${downspeed em0}${font} ${alignr}${downspeedgraph em0 8,60 F57900 FCAF3E}
${goto 
32}Total: ${totaldown em0}
${
voffset 4}${font Poky:size=13}w${font}${goto 32}${voffset -8}Local IP: ${alignr}${addr em0}
${goto 
32}Public IP: ${alignr}${execi 3600 wget -http://whatismyip.org/ | tail}
$else
${voffset 35}${font PizzaDude Bullets:size=12}4${font}${goto 40}Network Unavailable
$endif
${voffset 40}${hr 2
and lua script :
PHP Code:
--[[
Background by londonali1010 (2009)

This script draws a background to the Conky windowIt covers the whole of the Conky windowbut you can specify rounded corners, if you wish.

To call this script in Conky, use (assuming you have saved this script to ~/scripts/):
    
lua_load ~/.scripts/draw_bg.lua
    lua_draw_hook_pre draw_bg

Changelog
:
v1.0 -- Original release (07.10.2009)
]]

-- 
Change these settings to affect your background.
-- 
"corner_r" is the radiusin pixelsof the rounded corners. If you don't want rounded corners, use 0.

corner_r=15

-- Set the colour and transparency (alpha) of your background.
-- bg_colour=0x4D4D4D
bg_colour=0x000000
bg_alpha=0.8

require '
cairo'
function rgb_to_r_g_b(colour,alpha)
    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end

function conky_draw_bg()
    if conky_window==nil then return end
    local w=conky_window.width
    local h=conky_window.height
    local cs=cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, w, h)
    cr=cairo_create(cs)
    
    cairo_move_to(cr,corner_r,0)
    cairo_line_to(cr,w-corner_r,0)
    cairo_curve_to(cr,w,0,w,0,w,corner_r)
    cairo_line_to(cr,w,h-corner_r)
    cairo_curve_to(cr,w,h,w,h,w-corner_r,h)
    cairo_line_to(cr,corner_r,h)
    cairo_curve_to(cr,0,h,0,h,0,h-corner_r)
    cairo_line_to(cr,0,corner_r)
    cairo_curve_to(cr,0,0,0,0,corner_r,0)
    cairo_close_path(cr)
    
    cairo_set_source_rgba(cr,rgb_to_r_g_b(bg_colour,bg_alpha))
    cairo_fill(cr)
end 
this configuration will only show the first active connection in the network area so if you have more than one connection it will only show the first one if you wanna to show more than one connection you will need to replace $else with $endif

hope you like it.
Attached Thumbnails
Click image for larger version

Name:	Screenshot.png
Views:	359
Size:	128.2 KB
ID:	22215  
Reply With Quote
  #201  
Old 28th November 2011, 09:32 PM
joe74's Avatar
joe74 Offline
Registered User
 
Join Date: Aug 2007
Location: Managua, Nicaragua
Age: 38
Posts: 46
linuxchrome
Re: Conky & .conkyrc - Examples & Screenshots

My conkyrc and lua script (which still has original font settings (Ubuntu), but it works fine in Fedora as it gets some xfont as default).
Attached Thumbnails
Click image for larger version

Name:	Screenshot at 2011-11-28 15:24:17.png
Views:	302
Size:	88.7 KB
ID:	22218  
Attached Files
File Type: bz2 conky_g.tar.bz2 (3.6 KB, 75 views)
__________________
joe74

http://teoten.wordpress.com/
Reply With Quote
  #202  
Old 1st January 2012, 03:58 AM
ozjd's Avatar
ozjd Online
Registered User
 
Join Date: Feb 2008
Location: Sydney Australia
Age: 57
Posts: 2,228
linuxchrome
Re: Conky & .conkyrc - Examples & Screenshots

If anyone is using Craig's conkyrc or a version of it from the first post in this thread and find the year doesn't change to the current one it is the time command. Replace
Code:
${time %G}
with
Code:
${time %Y}
The G uses the week to decide the year and it can take a day or 2 to change. Y seems to work better as it just shows the current year. See 'man strftime' for the full info.
Reply With Quote
  #203  
Old 1st April 2012, 01:56 AM
Bandit's Avatar
Bandit Offline
Registered User
 
Join Date: Jan 2006
Location: Walnut, MS, USA
Age: 34
Posts: 139
linuxfirefox
Re: Conky & .conkyrc - Examples & Screenshots

I may have over looked it in this thread, but does anyone know where I can get the ConkyForcast script. I used to have it, but lost it somewhere.

Thanks,
Joe
__________________
Fedora Core16 - Gnome 3.2
Phenom 9850 Quad Core, 4GB DDR2-800, MSI NV460 GTX, WD Caviar Blue HDD's 4x 320GB/ea RAID0 (1.3TB, 380MB/s Read / 370MB/s Write)
Regesterd Linux User# 380654, CIW Certified Internet Web Professional: 435668, CompTIA A+ Certified
Reply With Quote
  #204  
Old 1st April 2012, 06:31 AM
chepioq's Avatar
chepioq Offline
Registered User
 
Join Date: Jun 2007
Location: Aubagne France
Age: 58
Posts: 399
linuxfirefox
Re: Conky & .conkyrc - Examples & Screenshots

Since November 2011 weather.com is no longer free , and conky-forecast script don't work, unless you pay a subscription to weather.com.

You can read alternative way here (it's in french) http://forum.ubuntu-fr.org/viewtopic...03141#p6803141
or here in English : http://ubuntuforums.org/showthread.php?t=1156383
Reply With Quote
  #205  
Old 9th May 2012, 05:10 PM
thund3rstruck Offline
Registered User
 
Join Date: Mar 2011
Posts: 24
linuxfirefox
Re: Conky & .conkyrc - Examples & Screenshots

Quote:
Originally Posted by chepioq View Post
Since November 2011 weather.com is no longer free , and conky-forecast script don't work, unless you pay a subscription to weather.com.

You can read alternative way here (it's in french) http://forum.ubuntu-fr.org/viewtopic...03141#p6803141
or here in English : http://ubuntuforums.org/showthread.php?t=1156383
I wrote a little Java shell application that fetches the weather, but it only works for U.S. zipcodes. If anyone is interested I'd be glad to share.

I just wanted to thank the posters on this thread. It really jump started me on conky and I've just about got mine the way I want it. I'm working on a single helper script now that will fetch all the custom data (QOTD, TCP connections, weather, etc) at once so I can clean up all the embedded EXECI calls out of the conkyrc.

Reply With Quote
  #206  
Old 9th May 2012, 08:13 PM
ackernan Offline
Registered User
 
Join Date: Oct 2011
Posts: 2
linuxubuntufirefox
Re: Conky & .conkyrc - Examples & Screenshots

Quote:
Originally Posted by Bandit View Post
I may have over looked it in this thread, but does anyone know where I can get the ConkyForcast script. I used to have it, but lost it somewhere.

Thanks,
Joe
MrPeachy wrote a lua script to get weather info from intellicast.com, it's posted on crunchbang forums. I believe it does any country, some people are working on translations.

Quote:
crunchbanglinux.org/forums/topic/16100/weather-in-conky



*** Sorry about url, new posts are limited by number of urls included.

Last edited by ackernan; 9th May 2012 at 08:15 PM.
Reply With Quote
  #207  
Old 10th May 2012, 07:57 PM
input Offline
Registered User
 
Join Date: Nov 2010
Posts: 161
linuxfirefox
Re: Conky & .conkyrc - Examples & Screenshots

I use Fedora 16 and the desktop cinnamon but conky is not working
Reply With Quote
  #208  
Old 19th October 2012, 09:22 AM
steveking's Avatar
steveking Offline
Registered User
 
Join Date: Apr 2012
Location: Surrey
Posts: 52
linuxubuntufirefox
Re: Conky & .conkyrc - Examples & Screenshots

.conkyrc :

# Conky settings #
background yes
update_interval 1

cpu_avg_samples 2
net_avg_samples 2

override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 2048
#imlib_cache_size 0

temperature_unit fahrenheit

# Window specifications #

own_window yes
own_window_type conky
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

border_inner_margin 0
border_outer_margin 0

## This Resolution is set according to the sreen resolution of 1366x768
## Adjust Accoring to yours

minimum_size 800 560
maximum_width 1366

alignment tr
gap_x 10
gap_y 55

# Graphics settings #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no

# Text settings #
use_xft yes
xftfont caviar dreams:size=8
xftalpha 0.5

uppercase no

temperature_unit celsius


default_color FFFFFF

# Lua Load #
lua_load ~/.lua/scripts/haunted.lua
lua_draw_hook_pre clock_rings

## Adjust these fields according to the your screen size i have modded them for 1366X768

TEXT
${offset 700}${color EAEAEA}${font GE Inspira:pixelsize=120}${time %H:%M}${font}${voffset -84}${voffset 10}${color FFA300}${font GE Inspira:pixelsize=42}${time %d} ${voffset -15}${color EAEAEA}${font GE Inspira:pixelsize=22}${time %B} ${time %Y}${font}${voffset 124}${font GE Inspira:pixelsize=58}${offset -800}${time %A}${font}
${offset 720}${voffset -100}${font Ubuntu:pixelsize=10}${color FFA300}HD ${offset 9}$color${fs_free /} / ${fs_size /}${offset 30}${color FFA300}RAM ${offset 9}$color$mem / $memmax${offset 30}${color FFA300}CPU ${offset 9}$color${cpu cpu0}%
${voffset 10}${offset 270}${color 2c2c2c}${hr 4}
${image ~/.conky/rev-eng.png}


${offset 130}${voffset 222}${font Santana:size=9:style=Bold}root : ${font Santana:size=9}${fs_used /}/${fs_size /}
${offset 130}${voffset 10}${font Santana:size=9:style=Bold}home: ${font Santana:size=9}${fs_used /home/Rev-Eng/Solaris}/${fs_size /home/Rev-Eng/Solaris}$font
${offset 120}${voffset 12}${color ffffff}${font Santana:size=9:style=Bold}swap: ${font Santana:size=8} ${swap} / ${swapfree}$font
${offset 570}${voffset -110} ${color EAEAEA}Linux ${kernel} kernel
${offset 570}${voffset 5} Uptime :${uptime}
${offset 825}${voffset -80}${color ffffff}${font Santana:size=10:style=Bold}${exec whoami}@${nodename}
${offset 825}${voffset 0}${color ffffff}${font Santana:size=8}${top name 5} ${top mem 5}




${offset 680}${voffset 130}${color ffffff}${font Santana:size=8}IP Address :${addr wlan0}
${offset 705}${voffset 10}${color ffffff}${font Santana:size=8}Down :${downspeed wlan0} k/s ${offset 8}Up:${upspeed wlan0} k/s
${offset 703}${voffset 10}${color ffffff}${font Santana:size=8}TCP Connections: ${tcp_portmon 1 65535 count}
${offset 680}${voffset 10}${color ffffff}${font Santana:size=8}Speed Graph :
${offset 680}${voffset -10}${color ffffff}${font Santana:size=8}${color #000000}${downspeedgraph wlan0 32,150 000000 ffffff} ${color #000000}${upspeedgraph wlan0 32,150 000000 ffffff}


Attatched is a .png that goes along with this conky. I quite like it. It isn't my creation just my edit. If anyone want the complete package let me know as I have it in .zip format for you to edit etc ...
Attached Thumbnails
Click image for larger version

Name:	rev-eng.png
Views:	116
Size:	28.3 KB
ID:	23904  

Last edited by steveking; 19th October 2012 at 09:24 AM. Reason: damn smilies making my .conky look too happy!
Reply With Quote
  #209  
Old 19th October 2012, 12:24 PM
steveking's Avatar
steveking Offline
Registered User
 
Join Date: Apr 2012
Location: Surrey
Posts: 52
linuxubuntufirefox
Re: Conky & .conkyrc - Examples & Screenshots

Here is a screenshot of the above
Attached Thumbnails
Click image for larger version

Name:	conky_001.jpg
Views:	140
Size:	130.0 KB
ID:	23906  
Reply With Quote
  #210  
Old 19th October 2012, 12:49 PM
PabloEsc's Avatar
PabloEsc Offline
Registered User
 
Join Date: Apr 2010
Location: Poznan, Poland
Age: 33
Posts: 58
windows_xp_2003firefox
Re: Conky & .conkyrc - Examples & Screenshots

Quote:
Originally Posted by steveking View Post
Here is a screenshot of the above
Nice one, I like it, but You'd better attach lua scripts :
Code:
lua_load ~/.lua/scripts/haunted.lua
lua_draw_hook_pre clock_rings
for anyone (like me ) can use it also.
Reply With Quote
Reply

Tags
conky, screenshot

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install conky/setup conky in F10? Von-Dyke Using Fedora 14 10th July 2009 11:24 AM
package for python examples? daviddoria Using Fedora 1 21st April 2009 03:31 AM
Examples of Ruby using SqLite? tashirosgt Programming & Packaging 0 29th March 2006 09:10 PM
VirtualHost Examples not working dmode Servers & Networking 4 19th March 2005 03:20 AM


Current GMT-time: 00:19 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat