Re: Post your .conkyrc files w/ screenshots
Here is my conkyrc file and screenshot. I have Conky and Beryl running together great!
HTML Code:
# set to yes if you want Conky to be forked in the background
background yes
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font 6x10
#font 7x13
#font 8x13
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=8
own_window_transparent no
own_window_colour hotpink
own_window yes
own_window_type utility
own_window_hints undecorated,below,skip_taskbar
# Text alpha when using Xft
xftalpha 0.8
on_bottom yes
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 1
# Create own window instead of using desktop (required in nautilus)
own_window no
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
#minimum_size 280 5
#maximum_width 150
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 10
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color black
default_shade_color red
default_outline_color black
# Text alignment, other possible values are commented
#alignment top_left
#minimum_size 10 10
gap_x 13
gap_y 13
#alignment top_right
#alignment bottom_left
alignment bottom_right
# Gap between borders of screen and text
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer no
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# boinc (seti) dir
# seti_dir /opt/seti
TEXT
${color lightgrey}System Info ${hr 2}
${color #000000}$nodename - $sysname $kernel on $machine
${color #000000}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'} ${color lightgrey}${freq_dyn}Mhz
${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
${color lightgrey}CPU Usage:${color #ff0000} ${cpu}% ${cpubar}
${color black}${cpugraph 000000 ff0000}
${color lightgrey}RAM Usage:${color #ff0000} $mem/$memmax - $memperc% $membar
${color lightgrey}Swap Usage:${color #ff0000} $swap/$swapmax - $swapperc% ${swapbar}
${color lightgrey}Processes:$color $processes ${color grey}Running:$color $running_processes
${color lightgrey}Networking Info ${hr 2}
${color lightgrey} Down:${color #000000} ${downspeed ath0} k/s${color lightgrey} ${offset 70}Up:${color #ff0000} ${upspeed ath0} k/s
${color black}${downspeedgraph ath0 32,150 000000 ff0000} $alignr${color black}${upspeedgraph ath0 32,150 000000 ff0000}
${color lightgrey}Wireless Networking:
${color lightgrey}ip address: ${color #000000}${addr ath0}
${color lightgrey}status: ${color #000000}${linkstatus ath0} %
${color lightgrey}essid: $color${exec iwconfig ath0 | sed 's/ /\n/g' | grep ESSID | sed 's/ESSID:"//'| sed 's/"//'}
${color lightgrey}Processes ${hr 2}
${color}Name PID CPU% MEM%
${color #ff0000} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color lightgrey}Memory ${hr 2}
${color}Name PID CPU% MEM%
${color #ff0000} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color lightgrey} ${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
${color lightgrey}Port Connections ${hr 2}
${color lightgrey}Port(s)${offset 48}Connections:
${color lightgrey} ALL: ${alignc}${tcp_portmon 1 65535 count}
${color lightgrey} mpd:${alignc}${tcp_portmon 6600 6600 count}
${color lightgrey} 1 - 1024:${alignc}${tcp_portmon 1 1024 count}
${color lightgrey} 1025 - 65535:${alignc}${tcp_portmon 1024 65535 count}
${color lightgrey}Remote Address:${alignr} Local Service/Port:
${color}${tcp_portmon 1 1024 rport 0}
${color}${tcp_portmon 1 65535 rhost 0}${alignr}${tcp_portmon 1 65535 lservice 0}
${color}${tcp_portmon 1 65535 rhost 1}${alignr}${tcp_portmon 1 65535 lservice 1}
${color}${tcp_portmon 1 65535 rhost 2}${alignr}${tcp_portmon 1 65535 lservice 2}
${color}${tcp_portmon 1 65535 rhost 3}${alignr}${tcp_portmon 1 65535 lservice 3}
${color}${tcp_portmon 1 65535 rhost 4}${alignr}${tcp_portmon 1 65535 lservice 4}
http://i83.photobucket.com/albums/j2...creenshot2.png
http://i83.photobucket.com/albums/j2...creenshot1.png
Let me know what you think...
Thanks
Allen
Re: Post your .conkyrc files w/ screenshots
Quote:
Originally Posted by
nanotube
try it with python:
Code:
#!/usr/bin/python
import datetime
diff = datetime.datetime(2007, 7, 21) - datetime.datetime.today()
print diff.days,
(instead of 2007.7.21, insert your target date)
then run that script from conky. :)
It's kind of scary that 7/21 is my target date. Are you an HP fan?
Re: Post your .conkyrc files w/ screenshots
Quote:
Originally Posted by
~LoKe
It's kind of scary that 7/21 is my target date. Are you an HP fan?
haha nice!
no, i'm not a particularly big harry potter fan (nor a hewlett packard fan, for that matter... :) )
i just picked the date at random, a month out from the today of the post.
didn't even realize that's when the next hp book's gonna be released. :)
Re: Post your .conkyrc files w/ screenshots
Quote:
Originally Posted by
ahoman66
Let me know what you think...
Thanks
Allen
I think it's awesome!!!! I am curious how you got a screen shot while rotating your cube as I tried and I couldn't do it? Is it just a picture with an external camera or can you set the screenshot thing to wait a few seconds then take the screeen shot? Awesome work though!
1 Attachment(s)
Re: Post your .conkyrc files w/ screenshots
Here's mine
Quote:
# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages
# - netstat connections to your computer
#
# -- Pengo (conky@pengo.us)
#
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer yes
use_xft no
# Update interval in seconds
update_interval 1.0
# Minimum size of text area
# minimum_size 250 5
# Draw shades?
draw_shades no
# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
font arial
uppercase no # set to yes if you want all text to be in uppercase
# Stippled borders?
stippled_borders 3
# border margins
border_margin 9
# border width
border_width 10
# Default colors and also border colors, grey90 == #e5e5e5
default_color black
own_window_colour brown
own_window_transparent yes
# 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
gap_x 10
gap_y 10
# stuff after 'TEXT' will be formatted on screen
TEXT
$color
${color orange}SYSTEM ${hr 2}$color
$nodename $sysname $kernel on $machine
Uptime: $uptime
${color orange}CPU ${hr 2}$color
${execi 30 cat /proc/cpuinfo | grep 'model name' | cut -c14-46}
CPU Frequency: ${freq}MHz CPU Temp: ${execi 30 sensors | grep CPU | paste -s | cut -c15-16} C
$cpubar
${cpugraph 000000 ffffff}
NAME PID CPU% MEM%
${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color orange}MEMORY / DISK ${hr 2}$color
RAM: $memperc% ${membar 6}$color
Swap: $swapperc% ${swapbar 6}$color
Root: ${fs_used /}/${fs_size /} ${fs_bar 6 /}$color
Kane: ${fs_used /media/sda1}/${fs_size /media/sda1} ${fs_bar 6 /media/sda1}$color
E63: ${fs_used /media/hdb1}/${fs_size /media/hdb1} ${fs_bar 6 /media/hdb1}
SCT: ${fs_used /media/sdb1}/${fs_size /media/sdb1} ${fs_bar 6 /media/sdb1}
Vista: ${fs_used /media/hdb2}/${fs_size /media/hdb2} ${fs_bar 6 /media/hdb2}
${color orange}GPU ${hr 2}$color
Card: ${execi 30 nvclock -i | grep 'Card:' | cut -c16-29}
GPU: ${execi 30 nvclock -i | grep 'Architecture:' | cut -c16-19} @ ${execi 30 nvclock -i | grep 'GPU clock:' | cut -c13-23}
Mem: ${execi 30 nvclock -i | grep 'Amount:' | cut -c10-15} ${execi 30 nvclock -i | grep 'Type:' | cut -c17-20} @ ${execi 30 nvclock -i | grep 'Clock:' | cut -c10-21}
GPU Temp: ${execi 30 nvidia-settings -q gpucoretemp |grep '):' | cut -c 38-39} C
${color orange}HDD Temp ${hr 2}$color
WD1600JB: ${execi 30 hddtemp /dev/hdb | cut -c32-33} C
WD2000JS: ${execi 30 hddtemp /dev/sda | cut -c55-56} C
WD3200JS: ${execi 30 hddtemp /dev/sdb | cut -c55-56} C
${color orange}NETWORK (${addr eth0}) ${hr 2}$color
Down: $color${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
${downspeedgraph eth0 25,140 000000 ff0000} ${alignr}${upspeedgraph eth0
25,140 000000 00ff00}$color
Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}
Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768
61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}
${color orange}WEATHER ${hr 2}$color
${execi 60 /usr/bin/pymetar LRBS}
Any idea what shade of grey i could use to make the text visible on my light coloured wallpaper? I'm using black now instead of the default "grey, lightgrey" and i don't quite like it.
Re: Post your .conkyrc files w/ screenshots
This is great!
I've fooled around with Torsmo for a while and it works nicely for the most part, but I love seeing what other people have for their code. gDesklets, for my system, takes too much resources (it's an old, weak computer).
I copied the OP's code to give my self a start (I'll post when I get something nice).
BTW, how do I make it show up on all of my desktops automatically when I boot up? I'll have to see the performance hit and whether it's worth it, but I'll give it a try.
My goal is to have all of my monitors on the desktop, through something like this, in Xfce and then remove all of the panels from the desktop completely (since the entire main menu is available on a right-click or bound key, as well as a list of all desktops and open apps via middle-click).
Re: Post your .conkyrc files w/ screenshots
Quote:
Originally Posted by
dannyboy79
I think it's awesome!!!! I am curious how you got a screen shot while rotating your cube as I tried and I couldn't do it? Is it just a picture with an external camera or can you set the screenshot thing to wait a few seconds then take the screeen shot? Awesome work though!
I used the gnome screenshot utility and used a 6-7 second delay. Thats it.
Later
Allen
Re: Post your .conkyrc files w/ screenshots
Quote:
Originally Posted by
AriciU
Here's mine
Any idea what shade of grey i could use to make the text visible on my light coloured wallpaper? I'm using black now instead of the default "grey, lightgrey" and i don't quite like it.
try ' slate grey '
Re: Post your .conkyrc files w/ screenshots
Tried it. It's way to light... can't see anything.
1 Attachment(s)
Re: Post your .conkyrc files w/ screenshots
HTML Code:
# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages
# - netstat connections to your computer
#
# -- Pengo (conky@pengo.us)
#
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer yes
use_xft no
# Update interval in seconds
update_interval 3.0
# Minimum size of text area
# minimum_size 250 5
# Draw shades?
draw_shades no
# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
font arial
uppercase no # set to yes if you want all text to be in uppercase
# Stippled borders?
stippled_borders 3
# border margins
border_margin 9
# border width
border_width 10
# Default colors and also border colors, grey90 == #e5e5e5
default_color slate grey
own_window_colour brown
own_window_transparent yes
# 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
gap_x 10
gap_y 20
# set to 1 to diable
cpu_avg_samples 2
# stuff after 'TEXT' will be formatted on screen
TEXT
$color
${color orange}SYSTEM ${hr 2}$color
Machine: $nodename / $sysname on $machine}
Kernel: $kernel
Uptime: ${uptime}
Battery: ${battery} ${battery_time}
${color orange}${execi 30 cat /proc/cpuinfo | grep 'model name' | cut -c14-48} ${hr 2}$color
CPU0: ${cpu cpu1}% ${cpubar cpu1}
CPU1: ${cpu cpu2}% ${cpubar cpu2}
${color orange}PROCESSES ${hr 2}$color
NAME PID CPU% MEM%
${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color orange}MEMORY / DISK ${hr 2}$color
RAM: $memperc% ${membar 6}$color
Swap: $swapperc% ${swapbar 6}$color
Disk: ${fs_free_perc /} % ${fs_bar 6 /}$color
${color orange}NETWORK (${addr wlan0}${linkstatus wlan0}%) ${hr 2}$color
Down: $color${downspeed wlan0} k/s ${alignr}Up: ${upspeed wlan0} k/s
${downspeedgraph wlan0 25,140 000000 ff0000} ${alignr}${upspeedgraph wlan0
25,140 000000 00ff00}$color
Total: ${totaldown wlan0} ${alignr}Total: ${totalup wlan0}
Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768
61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}
${color orange}WEATHER ${hr 2}$color
${execi 1800 /home/kevin/.conky/weather/weather.sh}