jakfish wrote: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?
# 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 8x12
#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 DejaVu Sans:size=10
own_window_transparent yes
own_window_colour black
# Text alpha when using Xft
xftalpha 0.8
#on_bottom no
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 1
# Create own window instead of using desktop (required in nautilus)
own_window yes
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 200 5
maximum_width 200
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_margin 15
# border width
border_width 1
# Default colors and also border colors
default_color 000000
default_shade_color black
default_outline_color green
# Text alignment, other possible values are commented
#alignment top_left
alignment middle_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
gap_x 30
gap_y 15
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer right
# 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
# Possible variables to be used:
#
# Variable Arguments Description
# acpiacadapter ACPI ac adapter state.
# acpifan ACPI fan state
# acpitemp ACPI temperature.
# adt746xcpu CPU temperature from therm_adt746x
# adt746xfan Fan speed from therm_adt746x
# battery (num) Remaining capasity in ACPI or APM
# battery. ACPI battery number can be
# given as argument (default is BAT0).
# buffers Amount of memory buffered
# cached Amount of memory cached
# color (color) Change drawing color to color
# cpu CPU usage in percents
# cpubar (height) Bar that shows CPU usage, height is
# bar's height in pixels
# downspeed net Download speed in kilobytes
# downspeedf net Download speed in kilobytes with one
# decimal
# exec shell command Executes a shell command and displays
# the output in torsmo. warning: this
# takes a lot more resources than other
# variables. I'd recommend coding wanted
# behaviour in C and posting a patch :-).
# execi interval, shell Same as exec but with specific interval.
# command Interval can't be less than
# update_interval in configuration.
# fs_bar (height), (fs) Bar that shows how much space is used on
# a file system. height is the height in
# pixels. fs is any file on that file
# system.
# fs_free (fs) Free space on a file system available
# for users.
# fs_free_perc (fs) Free percentage of space on a file
# system available for users.
# fs_size (fs) File system size
# fs_used (fs) File system used space
# hr (height) Horizontal line, height is the height in
# pixels
# i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
# may be omitted if you have only one I2C
# device. type is either in (or vol)
# meaning voltage, fan meaning fan or temp
# meaning temperature. n is number of the
# sensor. See /sys/bus/i2c/devices/ on
# your local computer.
# kernel Kernel version
# loadavg (1), (2), (3) System load average, 1 is for past 1
# minute, 2 for past 5 minutes and 3 for
# past 15 minutes.
# machine Machine, i686 for example
# mails Mail count in mail spool. You can use
# program like fetchmail to get mails from
# some server using your favourite
# protocol. See also new_mails.
# mem Amount of memory in use
# membar (height) Bar that shows amount of memory in use
# memmax Total amount of memory
# memperc Percentage of memory in use
# new_mails Unread mail count in mail spool.
# nodename Hostname
# outlinecolor (color) Change outline color
# pre_exec shell command Executes a shell command one time before
# torsmo displays anything and puts output
# as text.
# processes Total processes (sleeping and running)
# running_processes Running processes (not sleeping),
# requires Linux 2.6
# shadecolor (color) Change shading color
# stippled_hr (space), Stippled (dashed) horizontal line
# (height)
# swapbar (height) Bar that shows amount of swap in use
# swap Amount of swap in use
# swapmax Total amount of swap
# swapperc Percentage of swap in use
# sysname System name, Linux for example
# time (format) Local time, see man strftime to get more
# information about format
# totaldown net Total download, overflows at 4 GB on
# Linux with 32-bit arch and there doesn't
# seem to be a way to know how many times
# it has already done that before torsmo
# has started.
# totalup net Total upload, this one too, may overflow
# updates Number of updates (for debugging)
# upspeed net Upload speed in kilobytes
# upspeedf net Upload speed in kilobytes with one
# decimal
# uptime Uptime
# uptime_short Uptime in a shorter format
#
# seti_prog Seti@home current progress
# seti_progbar (height) Seti@home current progress bar
# seti_credit Seti@hoome total user credit
## antiX additives examples. Add below Text##
##${color cccccc}battery: ${color cccccc}$acpiacadapter, ${battery_percent BAT1}%
##${color white}battery:${color white} ${battery}
##Witeless example##
#${color cccccc}Wireless:
#${color cccccc}essid: ${wireless_essid wlan0}
#${color cccccc}IP:${color cccccc} ${addr wlan0}
#${color cccccc}speed: ${color cccccc} ${wireless_bitrate wlan0}
#${color cccccc}link strength: ${color cccccc} ${wireless_link_bar 7,50 wlan0}
# stuff after 'TEXT' will be formatted on screen
TEXT
${shadecolor a53d10}${font Swift:size=20}${color e6be6b}BIKER$font
${color e6be6b}${hr 2}$shadecolor
${font DejaVu Sans:size=14}${color ddd652}Puppy Dingo$font
${color fdb341}$sysname $kernel
${color fdb341}Uptime: ${color green}$uptime
${color 000000}${hr 2}
${color red}CPU ${color ffffff}Usage: ${color red}$cpu%
${shadecolor 6B0000}${color black}${cpugraph 30,200 0000f4 f10a0a}$shadecolor
${color ffffff}Frequency: ${color gold}$freq ${color gold}MHz
${color 7091c1}RAM ${color ffffff}Usage: ${color 7091c1}$memperc%
${shadecolor 6B0000}${color black}${memgraph 30,200 f10a0a 7091c1}$shadecolor
${color 7091c1}$mem${color ffffff}/${color ffffff}$memmax
${color 7091c1}$buffers ${color 54f729} Buffered
${color 7091c1}$cached ${color d58e2b} Cached
${color orange}Swap ${color ffffff}Usage:
${color orange}$swap${color ffffff}/${color ffffff}$swapmax ${color ffffff}- ${color ffffff}$swapperc%
${color orange}$swapbar
${color ffffff}Free Space:
${color b555b2}/root:${color b555b2} ${fs_free /} ${color ffffff}= ${fs_free_perc /}%
${color ffffff}Networking:
Up:${color 14f3ff}${upspeed wlan0} ${color ffffff} - Down:${color green}${downspeed wlan0}
${font DejaVuSansMono:size=8}${color ffffff}Running processes: ${color ffffff}$running_processes$font
${font DejaVuSansMono:size=8}${color ffffff}Name ${color red}CPU% ${color 7091c1}MEM%$font
${font DejaVuSansMono:size=8}${color ffffff} ${top name 1} ${color red}${top cpu 1} ${color 7091c1}${top mem 1}$font
${font DejaVuSansMono:size=8}${color ffffff} ${top name 2} ${color red}${top cpu 2} ${color 7091c1}${top mem 2}$font
${font DejaVuSansMono:size=8}${color ffffff} ${top name 3} ${color red}${top cpu 3} ${color 7091c1}${top mem 3}$font
${color ffffff}link strength: ${color ffffff} ${wireless_link_bar 7,50 wlan0}
${color ffffff}Battery: ${color red}$acpiacadapter, ${battery_bar BAT0}
${color ffffff}Battery:${color red} ${battery}
${color ffffff}${time %a %d %b %l:%M:%S%p}
${font Penguin Attack}${color b5550b}Conky ${color b5550b}$conky_version$font
# Use Xft?
use_xft yes
xftfont Trebuchet MS: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 desktop
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
#below
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 200 0
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border width
border_width 1
# Default colors and also border colors
default_color white
own_window_colour white
# Text alignment, other possible values are commented
alignment top_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 50
gap_y 60
# 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 yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer true
lua_load /root/my-applications/bin/lua_load_script
#
TEXT
${alignc 2}${font DejaVu Sans:size=40}${lua_parse datey -30 150 1.5}${time %k:%M}${color}
${alignc -2}${font Trebuchet MS:size=12}${time %a %d %b %Y}${font}
HDD ${hr 2}
Root $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${fs_bar /}
Swap $alignc $swap / $swapmax $alignr $swapperc%
${swapbar}
TOP ${hr 2}
$alignc $processes processes ($running_processes running)
${alignr}PID CPU% MEM%
${lua_parse top_cpu_colour 1}
${lua_parse top_cpu_colour 2}
${lua_parse top_cpu_colour 3}
${lua_parse top_cpu_colour 4}
${alignc 30}${color}Mem
${lua_parse top_mem_colour 1}
${lua_parse top_mem_colour 2}
${lua_parse top_mem_colour 3}
WIRELESS ${addr wlan0} ${hr 2}
ETH1 ${addr eth1} ${hr 2}
ETH0 ${addr eth0} ${hr 2}
Inbound $alignc ${downspeed eth1} kb/s $alignr${totaldown eth1}
${downspeedgraph eth1}
Outbound $alignc ${upspeed eth1} kb/s $alignr${totalup eth1}
${upspeedgraph eth1}
TORRENT PEERS ${tcp_portmon 51400 51415 count} ${hr 2}
# Use Xft?
use_xft yes
xftfont Trebuchet MS: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 desktop
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 200 0
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border width
border_width 1
# Default colors and also border colors
default_color white
own_window_colour white
# Text alignment, other possible values are commented
alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 50
gap_y 60
# 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 yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none
#
TEXT
SYSTEM ${hr 2}
Kernel: ${alignr}${kernel}
Athlon: X2 @ ${freq}MHz ${alignr}$machine
Uptime: ${alignr}${uptime}
CPU0 ${hr 2}
${cpu cpu0}%
${alignc}${cpugauge cpu0 50,50}
CPU1 ${hr 2}
${cpu cpu1}%
${alignc}${cpugauge cpu0 50,50}
RAM ${hr 2}
$memperc%
${alignc}${memgauge 50,50}
#