Post your conkyrc files with screenshots here
-
- Posts: 20
- Joined: Tue 18 Mar 2008, 23:47
- Location: Richmond, Va, USA
Post your conkyrc files with screenshots here
Ubuntu has a posting like this but a lot of their files don't work in Puppy, so I was hoping some of you out there running conky in Puppy (3.01 if it matters) would help a noob trying to learn to get started.
Saw some interesting add-ons like gmail and a weather forecaster in ubuntu conky but they needed additional packages and it was unclear if they would work in Puppy. Anyone? Anyone? Bueller? Bueller?
Here's one that was called pizza conky if I remember right, that I want to work on... Thanks in advance...
# Conky sample configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
# set to yes if you want Conky to be forked in the background
background yes
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=12
# Text alpha when using Xft
xftalpha 0.5
# Print everything to stdout?
# out_to_console no
# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell
# Print everything to console?
# out_to_console no
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 1.0
# 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
# If own_window is yes, you may use type normal, desktop or override
own_window_type desktop
# Use pseudo transparency with own_window?
own_window_transparent yes
# If own_window_transparent is set to no, you can set the background colour here
own_window_colour hotpink
# If own_window is yes, these window manager hints may be used
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 280 5
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders yes
# Draw borders around graphs
draw_graph_borders yes
# Stippled borders?
stippled_borders 32
# border margins
border_margin 4
# border width
border_width 0
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color black
# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
#alignment bottom_left
alignment bottom_right
#alignment none
# Gap between borders of screen and text
# same thing as passing -x at command line
#gap_x 64
#gap_y 62
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer no
# Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
#max_port_monitor_connections 256
# Maximum number of special things, e.g. fonts, offsets, aligns, etc.
#max_specials 512
# Maximum size of buffer for user text, i.e. below TEXT line.
#max_user_text 16384
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
TEXT
$alignc${color #ddaa00}$nodename ${color}- ${color #ddaa00}$sysname $kernel ${color}on ${color #ddaa00}$machine
$alignc$color ${time %a %D %T}
$color$stippled_hr
$alignc${color lightgrey}CPU Temp:$color ${acpitemp}C/${acpitempf}F ${color lightgrey}- Uptime:$color $uptime ${color lightgrey}
${color lightgrey}CPU Usage:${color #cc2222} $cpu% ${cpubar}
${color #cc2222}${cpugraph 0000cc ffcc00}
${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc% ${color darkgreen}${membar}
${color lightgrey}Swap Usage:$color $swap/$swapmax - $swapperc% ${color #667700}${swapbar}
${color lightgrey}Processes:$color $processes ${color grey}Running:$color $running_processes
$color$stippled_hr
${color #ddaa00}File systems:
${color lightgrey} pza_save: ${color}${fs_used /initrd/pup_rw/}/${fs_size /initrd/pup_rw/} ${fs_free_perc /initrd/pup_rw/}% ${color orange}${fs_bar /initrd/pup_rw/}
${if_mounted /initrd/mnt/dev_save}${color lightgrey} /dev/sda5: ${color}${fs_used /initrd/mnt/dev_save/}/${fs_size /initrd/mnt/dev_save/} ${fs_free_perc /initrd/mnt/dev_save/}% ${color #007700}${fs_bar /initrd/mnt/dev_save/}
${endif}$color$stippled_hr
${color #ddaa00}Networking:
${color} Down:${color #9955ff} ${downspeed eth0} k/s${color lightgrey} ${offset 80}Up:${color #22ccff} ${upspeed eth0} k/s
${color #9955ff}${downspeedgraph eth0 32,150 cc0000 0000cc} ${color #22ccff}${upspeedgraph eth0 32,150 0000cc cc0000}
$color$stippled_hr
${color #ddaa00}Port(s)${alignr}#Connections
${color lightgrey} Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768 61000 count}${alignr}ALL: ${tcp_portmon 1 65535 count}
Saw some interesting add-ons like gmail and a weather forecaster in ubuntu conky but they needed additional packages and it was unclear if they would work in Puppy. Anyone? Anyone? Bueller? Bueller?
Here's one that was called pizza conky if I remember right, that I want to work on... Thanks in advance...
# Conky sample configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
# set to yes if you want Conky to be forked in the background
background yes
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=12
# Text alpha when using Xft
xftalpha 0.5
# Print everything to stdout?
# out_to_console no
# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell
# Print everything to console?
# out_to_console no
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 1.0
# 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
# If own_window is yes, you may use type normal, desktop or override
own_window_type desktop
# Use pseudo transparency with own_window?
own_window_transparent yes
# If own_window_transparent is set to no, you can set the background colour here
own_window_colour hotpink
# If own_window is yes, these window manager hints may be used
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 280 5
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders yes
# Draw borders around graphs
draw_graph_borders yes
# Stippled borders?
stippled_borders 32
# border margins
border_margin 4
# border width
border_width 0
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color black
# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
#alignment bottom_left
alignment bottom_right
#alignment none
# Gap between borders of screen and text
# same thing as passing -x at command line
#gap_x 64
#gap_y 62
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer no
# Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
#max_port_monitor_connections 256
# Maximum number of special things, e.g. fonts, offsets, aligns, etc.
#max_specials 512
# Maximum size of buffer for user text, i.e. below TEXT line.
#max_user_text 16384
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
TEXT
$alignc${color #ddaa00}$nodename ${color}- ${color #ddaa00}$sysname $kernel ${color}on ${color #ddaa00}$machine
$alignc$color ${time %a %D %T}
$color$stippled_hr
$alignc${color lightgrey}CPU Temp:$color ${acpitemp}C/${acpitempf}F ${color lightgrey}- Uptime:$color $uptime ${color lightgrey}
${color lightgrey}CPU Usage:${color #cc2222} $cpu% ${cpubar}
${color #cc2222}${cpugraph 0000cc ffcc00}
${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc% ${color darkgreen}${membar}
${color lightgrey}Swap Usage:$color $swap/$swapmax - $swapperc% ${color #667700}${swapbar}
${color lightgrey}Processes:$color $processes ${color grey}Running:$color $running_processes
$color$stippled_hr
${color #ddaa00}File systems:
${color lightgrey} pza_save: ${color}${fs_used /initrd/pup_rw/}/${fs_size /initrd/pup_rw/} ${fs_free_perc /initrd/pup_rw/}% ${color orange}${fs_bar /initrd/pup_rw/}
${if_mounted /initrd/mnt/dev_save}${color lightgrey} /dev/sda5: ${color}${fs_used /initrd/mnt/dev_save/}/${fs_size /initrd/mnt/dev_save/} ${fs_free_perc /initrd/mnt/dev_save/}% ${color #007700}${fs_bar /initrd/mnt/dev_save/}
${endif}$color$stippled_hr
${color #ddaa00}Networking:
${color} Down:${color #9955ff} ${downspeed eth0} k/s${color lightgrey} ${offset 80}Up:${color #22ccff} ${upspeed eth0} k/s
${color #9955ff}${downspeedgraph eth0 32,150 cc0000 0000cc} ${color #22ccff}${upspeedgraph eth0 32,150 0000cc cc0000}
$color$stippled_hr
${color #ddaa00}Port(s)${alignr}#Connections
${color lightgrey} Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768 61000 count}${alignr}ALL: ${tcp_portmon 1 65535 count}
Puppy Power! :lol:
Asus EEE Pc 2G Surf w/ Pupeee 3 on SSD
8G Transcend class 6 SD card
500Gb WD USB HDD
Asus EEE Pc 2G Surf w/ Pupeee 3 on SSD
8G Transcend class 6 SD card
500Gb WD USB HDD
nothing fancy
Code: Select all
# conky configuration
# set to yes if you want tormo to be forked in the background
background yes
# X font used, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
font fixed
#font -misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso8859-8
# font *mintsmild.se*
# font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# mail spool
# mail_spool $MAIL
# Create own window instead of using desktop (required in nautilus)
own_window yes
# If own_window is yes, you may use type normal, desktop or override
own_window_type desktop
# If own_window is yes, these window manager hints may be used
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use pseudo transparency with own_window?
own_window_transparent yes
# If own_window_transparent is set to no, you can set the background colour here
own_window_colour hotpink
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Update interval in seconds
update_interval 5.0
# Minimum size of text area
minimum_size 160 5
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 2
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color red
# 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 12
gap_y 12
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none
# stuff after 'TEXT' will be formatted on screen
TEXT
Up:$color ${upspeed ppp0} k/s${color grey} - Down:$color ${downspeed ppp0} k/s
${color blue}$hr
${color grey}Processes:$color $processes
${color grey}CPU Usage:$color $cpu%
${color grey}${cpubar 3}
${color grey}RAM Usage:$color $mem/$memmax - $memperc%
${color grey}${membar 3}
${color grey}Swap Used:$color $swap/$swapmax - $swapperc%
${color grey}${swapbar 3}
${color grey}File systems:
/ $color${fs_free /}/${fs_size /}
${color grey}${fs_bar 3 /}
/mnt/hda5 $color${fs_free /mnt/hda5}/${fs_size /mnt/hda5}
${color grey}${fs_bar 3 /mnt/hda5}
${color red}$hr
${color grey}Uptime: $color $uptime
${color #ddd}Battery: $color ${battery}
${color green}$hr$color
$sysname $kernel on $machine
${color grey}Host: $color$nodename ${execi 180 ~/.conky_ip}
Last edited by Wolf Pup on Sat 12 Apr 2008, 01:52, edited 1 time in total.
[img]http://img230.imageshack.us/img230/8595/ubd6467dp2.png[/img]
[url=http://www.tinyurl.com/54tu74]Visit The Repository[/url] - Helpful and hard-to-find treats for Puppy 3.
[url=http://www.tinyurl.com/c5a68f]Click Here for Puppy Support Chat, + Helpful Links.[/url]
[url=http://www.tinyurl.com/54tu74]Visit The Repository[/url] - Helpful and hard-to-find treats for Puppy 3.
[url=http://www.tinyurl.com/c5a68f]Click Here for Puppy Support Chat, + Helpful Links.[/url]
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
This is actually from my Gentoo install. Other than the multiple cpu thing it would work just fine in Puppy (I don't actually have dual-core, but I do have hyperthreading).
The temperature requires that you first modprobe thermal of course. Also, you'll note that rather than the built-in ${acpitemp}C, I used this:
${exec grep "[0-9].*" -o /proc/acpi/thermal_zone/THRM/temperature}
That's because the built-in version wasn't updating the temperature very often. My version does it every time Conky updates, which is every second. It only works if the path to the temperature is the same though. I think that can change. I know battery paths can change between different machines.
Code: Select all
alignment top_right
background yes
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color black
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline yes
draw_shades no
use_xft yes
xftfont Bitstream Vera Sans Mono:size=10:bold
xftalpha 0.5
gap_x 5
gap_y 0
minimum_size 700 100
net_avg_samples 2
no_buffers yes
out_to_console no
own_window yes
own_window_class Conky
own_window_type override
own_window_transparent yes
double_buffer yes
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer no
short_units yes
TEXT
$nodename $kernel
uptime - $uptime
${voffset -34}${offset 300}cpu0 ${cpu cpu0}%
${offset 300}cpu1 ${cpu cpu1}%
${voffset -34}${offset 370}${cpubar cpu0 6,64 4} RAM: $memperc%
${offset 370}${cpubar cpu1 6,64 4} Swap: $swapperc%
${voffset -34}${offset 520}${membar 6,64} $mem/$memmax
${offset 520}${swapbar 6,64} $swap/$swapmax
${offset 300}${cpugraph cpu0 32,64 0000cc ffcc00} ${cpugraph cpu1 32,64 0000cc ffcc00}
${voffset -40}${offset 443}hdb2: ${fs_used_perc /}%
${offset 443}sda5: ${fs_used_perc /mnt/home}%
${voffset -34}${offset 520}${fs_bar 6,64 /} ${fs_free /}/${fs_size /}
${offset 520}${fs_bar 6,64 /mnt/home} ${fs_free /mnt/home}/${fs_size /mnt/home}
${voffset -63}${offset 250}${exec grep "[0-9].*" -o /proc/acpi/thermal_zone/THRM/temperature}
${exec grep "[0-9].*" -o /proc/acpi/thermal_zone/THRM/temperature}
That's because the built-in version wasn't updating the temperature very often. My version does it every time Conky updates, which is every second. It only works if the path to the temperature is the same though. I think that can change. I know battery paths can change between different machines.
- Attachments
-
- conky.jpg
- (19.29 KiB) Downloaded 5793 times
Last edited by Pizzasgood on Sun 13 Apr 2008, 04:58, edited 1 time in total.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
Code: Select all
background no
use_xft yes
xftfont Dejavu Sans:size=10
xftalpha 0.8
out_to_console no
update_interval 3.0
total_run_times 0
own_window no
own_window_type normal
own_window_transparent yes
double_buffer yes
minimum_size 280 5
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
stippled_borders 0
border_margin 2
border_width 1
default_color lightgray
default_shade_color black
default_outline_color black
alignment bottom_left
gap_x 5
gap_y 30
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer no
TEXT
${color white} Puppy300 - $sysname $kernel Uptime:${color yellow} $uptime ${color white}- Load:${color yellow} $loadavg ${color white}CPU Usage:${color yellow} $cpu% ${color white}RAM Usage:${color yellow}$mem/$memmax - $memperc% ${color white}Swap Usage:${color yellow} $swap/$swapmax - $swapperc%
$color Disk Usage: ${color yellow} ${fs_used /bin/bash}/${fs_size /bin/bash} - ${fs_free_perc /bin/bash}% Free ${color light grey}${color lightgrey} Host:${color #22ccff} ${execi 180 ~/.torsmo_ip} ${color lightgrey}Down: ${color #22ccff} ${downspeed wlan0} k/s ${color lightgrey}Up: ${color #22ccff} ${upspeed wlan0} k/s ${color lightgrey}Current Headlines:${color yellow} ${execi 300 /root/my-applications/conky-personal/conky-rss.sh http://rss.cnn.com/rss/cnn_topstories.rss 1 2}
Fullsize
trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
-
- Posts: 20
- Joined: Tue 18 Mar 2008, 23:47
- Location: Richmond, Va, USA
Nice work! Need more conkyrc files...
Thanks to all that have posted so far! I really like the minimalist, small horizontal-bar approach. Think I'll start working to re-arrange mine. I've also seen where some have rigged conky to check their email, weather and RSS feeds. Anyone have this working in Puppy? (Saw them in the Ubuntu forums)
I'll post my new conkyrc with a screenshot when I'm done.
I'll post my new conkyrc with a screenshot when I'm done.
Puppy Power! :lol:
Asus EEE Pc 2G Surf w/ Pupeee 3 on SSD
8G Transcend class 6 SD card
500Gb WD USB HDD
Asus EEE Pc 2G Surf w/ Pupeee 3 on SSD
8G Transcend class 6 SD card
500Gb WD USB HDD
Here is mine on the eeepc running pupeee. mikeinrichmond if you want rss feeds and weather go to here->http://www.murga-linux.com/puppy/viewto ... 5&start=15 and look at my post for instructions and files there.
- Attachments
-
- mypup.png
- (117.09 KiB) Downloaded 5940 times
-
- mypup%27s%20.conkyrc.tar.gz
- (1.19 KiB) Downloaded 1433 times
Last edited by MyPup on Tue 15 Apr 2008, 03:38, edited 1 time in total.
Here is mine from pupeee beta3
- Attachments
-
- mypup.png
- (156.2 KiB) Downloaded 5847 times
-
- mypup's-conkyrc.tar
- (10 KiB) Downloaded 1331 times
Here is a script to get your favorite baseball team score. Also a screenshot using it in conky.
Script I named.....redsox:
You will need lynx. Just change the name at the end to your favorite team. If you have two names to your team, it should work by "" quoting them. (?)
ex: "NY Yankees"
Section of my .conkyrc:
Fullsize
Script I named.....redsox:
You will need lynx. Just change the name at the end to your favorite team. If you have two names to your team, it should work by "" quoting them. (?)
ex: "NY Yankees"
Code: Select all
#!/bin/sh
lynx -nonumbers -dump http://scores.espn.go.com/mlb/scoreboard | egrep -i -A12 -B2 Boston
Code: Select all
${color lightgrey}File systems:
/ $color${fs_free /}/${fs_size /} ${fs_bar /}
${color lightgrey}File systems:
/mnt/home $color${fs_free /mnt/home}/${fs_size /} ${fs_bar /mnt/home}
$color$stippled_hr
${color 457ccc}Boston Red Sox $color
${texeci 7200 lynx -nonumbers -dump http://scores.espn.go.com/mlb/scoreboard | egrep -i -A12 -B2 Boston}
Fullsize
trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
@trapster
Thanks for the clever BoSox scriptage! Fiddling with it now. For anyone using elinks (vs lynx), change "-nonumbers" to "-no-numbering" in trapster's script.
BTW, the NY Yankees aren't a baseball team -- they're a collection of over-paid bush league chumps.
Thanks for the clever BoSox scriptage! Fiddling with it now. For anyone using elinks (vs lynx), change "-nonumbers" to "-no-numbering" in trapster's script.
BTW, the NY Yankees aren't a baseball team -- they're a collection of over-paid bush league chumps.
[size=84][i]hangout:[/i] ##b0rked on irc.freenode.net
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]
Heres some code to display the Puppy version in Conky (add your own color)
And a breakdown if your interested
TEXT
Puppy ${pre_exec head /etc/puppyversion -c 3 | sed 's/[0-9]/&./'}
Puppy __________ plain text
$ ______________ indicates variable for conky
{...} ___________ whats inside the brackets is a variable
pre_exec ________ executes the folowing commands once only
head ___________ lists whats at the front of a file
/etc/puppyversion _ path and file that has data
-c ______________ count bytes from start of file to display
3 ______________ how many bytes
| ______________ pipe command, from head output to sed input
sed ____________ serial editor for strings of charactors
'...' ____________ quote marks inclose sed expression
s ______________ substitute command
/../../ __________ delimiters for substitute
[0-9] ___________ matches any number in string
&. _____________ keep first number add . (decimal point)
DC
P.S. You can find all the colours of the rainbow and more in
/usr/X11/lib/X11/rgb.txt
Code: Select all
Puppy ${pre_exec head /etc/puppyversion -c 3 | sed 's/[0-9]/&./'}
And a breakdown if your interested
TEXT
Puppy ${pre_exec head /etc/puppyversion -c 3 | sed 's/[0-9]/&./'}
Puppy __________ plain text
$ ______________ indicates variable for conky
{...} ___________ whats inside the brackets is a variable
pre_exec ________ executes the folowing commands once only
head ___________ lists whats at the front of a file
/etc/puppyversion _ path and file that has data
-c ______________ count bytes from start of file to display
3 ______________ how many bytes
| ______________ pipe command, from head output to sed input
sed ____________ serial editor for strings of charactors
'...' ____________ quote marks inclose sed expression
s ______________ substitute command
/../../ __________ delimiters for substitute
[0-9] ___________ matches any number in string
&. _____________ keep first number add . (decimal point)
DC
P.S. You can find all the colours of the rainbow and more in
/usr/X11/lib/X11/rgb.txt
conky configuration
Did that, thanks DC.Heres some code to display the Puppy version in Conky (add your own color)
Code: Select all
# Conky configuration [2010-05-01]
#COLORS
color0 FFFFFF
color1 999999 #60%
color2 666666 #40%
color3 333333 #20%
color4 CC1C00
color5 198055
color6 676C22
color7 E09B1B
color8 14738B
color9 498030
alignment top_right
background no
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color black
default_shade_color grey
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont DejaVu Sans:size=10
xftalpha .5
gap_x 10
gap_y 20
minimum_size 180 5
net_avg_samples 2
no_buffers no
double_buffer yes
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_class Conky
own_window_type override
own_window_transparent yes
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no
TEXT
${color white}${alignc 30}${font Century Gothic:regular:size=28}${time %r}${font}
${color1}${voffset 5}${alignc}${font Georgia:italic:size=12}${time %A %d %B}${font}
${color3}$hr
${color2}Puppy${color2}${alignr}K9${pre_exec head /etc/puppyversion -c 4 | sed 's/[0-9]/.&/'}
${color2}Uptime:${color2}${alignr}$uptime
${color2}Pupsave free/:${color2}${alignr}${execi 5 ~/conky/calcfreespace.sh}
${color3}$hr
${color1}${alignc}Processes: ${color0}$processes ${color1}/${color0} $running_processes
${color6}${cpugraph cpu1 16,70 263151 E60000} ${voffset 6}${color2}CPU1 ${voffset -6}${alignr}${color4}${cpubar cpu1 16,70}
${color white}${voffset -23}${alignr 5}${cpu cpu1}%
${color6}${voffset -21}${alignr}${cpubar cpu3 16,70}
${color3}${voffset -29}${goto 6}${cpubar cpu4 14,68}${alignr 1}${cpubar cpu4 14,68}
${color6}${voffset 5}${cpugraph cpu2 16,70 263151 E60000} ${voffset 6}${color2}CPU2 ${voffset -6}${alignr}${color4}${cpubar cpu2 16,70}
${color white}${voffset -23}${alignr 5}${cpu cpu1}%
${color6}${voffset -21}${alignr}${cpubar cpu3 16,70}
${color3}${voffset -29}${goto 6}${cpubar cpu4 14,68}${alignr 1}${cpubar cpu4 14,68}
${color white}${top name 1} ${alignr} ${top cpu 1} ${color1}${top mem 1}
${color1}${top name 2} ${alignr} ${top cpu 2} ${top mem 2}
${color2}${top name 3} ${alignr} ${top cpu 3} ${top mem 3}
${color3}$hr
${color2}${voffset 6}RAM:${voffset -6}${alignr}${color #14738B}${membar 16,70}
${color white}${voffset -23}${alignr 5}$memperc%
${color6}${voffset -21}${alignr}${cpubar cpu3 16,70}
${color3}${voffset -29}${alignr 1}${cpubar cpu4 14,68}
${color3}${voffset -8}$hr
${color white}${top_mem name 1} ${alignr} ${color1}${top_mem cpu 1} ${color white}${top_mem mem 1}
${color1}${top_mem name 2} ${alignr} ${top_mem cpu 2} ${top_mem mem 2}
${color2}${top_mem name 3} ${alignr} ${top_mem cpu 3} ${top_mem mem 3}
${color3}$hr
${color2}Temp:${alignr 5}${font DejaVu Sans:bold:size=10}${color4}$acpitemp C${font}
${color3}${voffset -4}$hr
${color2}Battery: ${alignc -20}${color1}${battery_time BAT1}${alignr 5}${color1}${font DejaVu Sans:bold:size=10}${battery_percent BAT1}${font}%
${color3}${voffset -4}$hr
${color6}${goto 19}${upspeedgraph eth0 18,74 000000 2ACC00} ${downspeedgraph eth0 18,75 000000 D4A003}
${color white}${voffset -24}${goto 34}${upspeed eth0}${alignr 26}${downspeed eth0}
${color3}${goto 20}${voffset -21}${cpubar cpu3 16,72} ${cpubar cpu4 16,72}
${color1}${voffset -26}${font Arrow fonts:size=12}j${font}${alignr 12}${font Arrow fonts:size=12}l${font}
${color6}${goto 19}${upspeedgraph wlan0 18,74 292E41 2ACC00} ${downspeedgraph wlan0 18,75 2B3451 D4A003}
${color white}${voffset -24}${goto 34}${upspeed wlan0}${alignr 26}${downspeed wlan0}
${color3}${goto 20}${voffset -21}${cpubar cpu3 16,72} ${cpubar cpu4 16,72}
${color1}${voffset -26}${font Arrow fonts:size=12}j${font}${alignr 12}${font Arrow fonts:size=12}l${font}
${color2}${voffset 8}Network: ${color1}${wireless_essid wlan0} ${color2}${alignr}Signal: ${color7}${font DejaVu Sans:bold:size=10}${wireless_link_qual_perc wlan0}${font}
- Attachments
-
- conky.png
- (62.23 KiB) Downloaded 9503 times
bebebop,
I just posted on another thread, then thought I should have posted here instead. I would really like to duplicate what you have done with your latest (blue time zone world map) desktop. Can you post further details required to duplicate that setup? Latest news, weather, background image, etc...
Also, which Puppy version and Window Manager are you using there?
What can I say? I really like it!
-Roy
I just posted on another thread, then thought I should have posted here instead. I would really like to duplicate what you have done with your latest (blue time zone world map) desktop. Can you post further details required to duplicate that setup? Latest news, weather, background image, etc...
Also, which Puppy version and Window Manager are you using there?
What can I say? I really like it!
-Roy
Hello Roy
Machine= Samsung NC10
Puppy= K9-005
Desktop= Xfce
Conky version= 1.7.2 with imlib2 - http://www.murga-linux.com/puppy/viewtopic.php?t=48725
instructions for wunderground weather= http://conky.linux-hardcore.com/?page_id=2381
this is the only weather script I could get to work, the original scripts are in the wunderground folder in the zip file.
Conky seems to require a base .conkyrc file, I use a bare config to allow different script combinations.
The formating is designed for a 1024x600 screen with a global font size of 78
Took quite a while to figure it all out so I hope I can save you some work.
Background [IBM map - google image search], fonts & scripts are in the zip file.
Machine= Samsung NC10
Puppy= K9-005
Desktop= Xfce
Conky version= 1.7.2 with imlib2 - http://www.murga-linux.com/puppy/viewtopic.php?t=48725
instructions for wunderground weather= http://conky.linux-hardcore.com/?page_id=2381
this is the only weather script I could get to work, the original scripts are in the wunderground folder in the zip file.
Conky seems to require a base .conkyrc file, I use a bare config to allow different script combinations.
The formating is designed for a 1024x600 screen with a global font size of 78
Took quite a while to figure it all out so I hope I can save you some work.
Background [IBM map - google image search], fonts & scripts are in the zip file.
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact:
Not fully. My main OS is a cut down version of XP, I'm running puplets from a usb stick to get experience of linux and because from power on I can be online in 60secs compared to the 5mins it takes with XP.abushcrafter wrote:Does it work fully with puppy? You see I think I will be get one of these for £180!bebebop wrote:Machine= Samsung NC10
If it's of interest, I had to change the original Atheros wireless card to a Broadcom card to get the wifi to work.
Made me curious so I tried it out with Lighthouse. I got it all working with iceWM & JWM but not with openbox or LXDE.Roy wrote: I am going to try to duplicate your work on Lighthousepup.
Sorry, forgot to add conkyweather fonts to the zip.
- Attachments
-
- conkyweatherfonts.tar.gz
- (24.71 KiB) Downloaded 845 times
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact:
Dam Dam Dam . Which puppy are you using?bebebop wrote:Not fully. My main OS is a cut down version of XP, I'm running puplets from a usb stick to get experience of linux and because from power on I can be online in 60secs compared to the 5mins it takes with XP.abushcrafter wrote:Does it work fully with puppy? You see I think I will be get one of these for £180!bebebop wrote:Machine= Samsung NC10
If it's of interest, I had to change the original Atheros wireless card to a Broadcom card to get the wifi to work.
to keep eye on active connections ip addresses:
# my mod to include ip addr in n form -added $5 to awk and -n to netstat
here is the original:
# my mod to include ip addr in n form -added $5 to awk and -n to netstat
Code: Select all
${color orange}
${execi 30 netstat -eptn | grep ESTAB | awk '{print $9 $5}' | cut -d: -f1 | sort | uniq -c | sort -nr}
$color
Code: Select all
${execi 30 netstat -ept | grep ESTAB | awk '{print $9}' | cut -d: -f1 | sort | uniq -c | sort -nr}
- Attachments
-
- conkyshot1.jpg
- (32.25 KiB) Downloaded 2617 times
What a great thread. I'm almost there, have everything working, but would like to know: how do I display my pupsave file in mbs rather than kbs?
bebebop, I'm using:
${color2}Pupsave free/:${color2}${alignr}${execi 5 ~/conky/calcfreespace.sh}
Though my calcfreespace.sh is in /usr/sbin. Are you using a modified calcfreespace.sh to display your pupsave in mbs?
Thanks for any advice,
Jake
bebebop, I'm using:
${color2}Pupsave free/:${color2}${alignr}${execi 5 ~/conky/calcfreespace.sh}
Though my calcfreespace.sh is in /usr/sbin. Are you using a modified calcfreespace.sh to display your pupsave in mbs?
Thanks for any advice,
Jake