Post all you're .conkyrc files with a screenshot please, Im interested in a basic, one liner at the top that has
CPU Usage, Free space on the hd, Time(12 hour), Ram, and network usage.
Post all you're .conkyrc files with a screenshot please, Im interested in a basic, one liner at the top that has
CPU Usage, Free space on the hd, Time(12 hour), Ram, and network usage.
My conkyrc:
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_hints undecorated,below,skip_taskbar background no # Use double buffering (reduces flicker, may not work for everyone) double_buffer yes # fiddle with window use_spacer yes use_xft yes # Update interval in seconds update_interval 3.0 # Minimum size of text area minimum_size 400 5 # Draw shades? draw_shades yes # Text stuff draw_outline no # amplifies text if yes draw_borders no uppercase no # set to yes if you want all text to be in uppercase # Stippled borders? stippled_borders 8 # border margins border_margin 4 # border width border_width 1 # Default colors and also border colors, grey90 == #e5e5e5 default_color white default_shade_color black default_outline_color white 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 override_utf8_locale no xftfont Terminus:size=8 xftalpha 0.8 TEXT ${offset 240}${color slate grey}${time %a, } ${color }${time %e %B %G} ${offset 240}${color slate grey}${time %Z, }${color }${time %H:%M:%S} ${offset 240}${color slate grey}UpTime: ${color }$uptime ${offset 240}${color slate grey}Kern:${color }$kernel ${offset 240}${color slate grey}CPU:${color } $cpu% ${acpitemp}C ${offset 240}${cpugraph 20,130 000000 ffffff} ${offset 240}${color slate grey}Load: ${color }$loadavg ${offset 240}${color slate grey}Processes: ${color }$processes ${offset 240}${color slate grey}Running: ${color }$running_processes ${offset 240}${color slate grey}Highest CPU: ${offset 240}${color #ddaa00} ${top name 1}${top_mem cpu 1} ${offset 240}${color lightgrey} ${top name 2}${top cpu 2} ${offset 240}${color lightgrey} ${top name 3}${top cpu 3} ${offset 240}${color lightgrey} ${top name 4}${top cpu 4} ${offset 240}${color slate grey}Highest MEM: ${offset 240}${color #ddaa00} ${top_mem name 1}${top_mem mem 1} ${offset 240}${color lightgrey} ${top_mem name 2}${top_mem mem 2} ${offset 240}${color lightgrey} ${top_mem name 3}${top_mem mem 3} ${offset 240}${color lightgrey} ${top_mem name 4}${top_mem mem 4} ${offset 240}${color slate grey}MEM: ${color } $memperc% $mem/$memmax ${offset 240}${membar 3,100} ${offset 240}${color slate grey}SWAP: ${color }$swapperc% $swap/$swapmax ${offset 240}${swapbar 3,100} ${offset 240}${color slate grey}ROOT: ${color }${fs_free /}/${fs_size /} ${offset 240}${fs_bar 3,100 /} ${offset 240}${color slate grey}HOME: ${color }${fs_free /home}/${fs_size /home} ${offset 240}${fs_bar 3,100 /home} ${offset 240}${color slate grey}SLACK: ${color }${fs_free /mnt/slack}/${fs_size /mnt/slack} ${offset 240}${fs_bar 3,100 /mnt/slack} ${offset 240}${color slate grey}NET: ${offset 240}${color}Up: ${color }${upspeed eth0} k/s ${offset 240}${upspeedgraph eth0 20,130 000000 ffffff} ${offset 240}${color}Down: ${color }${downspeed eth0}k/s${color} ${offset 240}${downspeedgraph eth0 20,130 000000 ffffff}
Code:# 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 # Set conky on the bottom of all other applications own_window_hints below # Xft font when Xft is enabled xftfont Sans:style=Bold:size=10 # Text alpha when using Xft xftalpha 1 # 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 5 # 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_hints undecorated,below,skip_taskbar own_window_type override # 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 # Minimum size of text area minimum_size 280 5 # Draw shades? draw_shades no # Draw outlines? draw_outline no # Draw borders around text draw_borders no # Stippled borders? stippled_borders 8 # border margins border_margin 5 # border width border_width 10 # 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 50 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 # number of cpu samples to average # set to 1 to disable averaging cpu_avg_samples 1 # number of net samples to average # set to 1 to disable averaging net_avg_samples 1 # 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 yes # mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost # mldonkey_port Mldonkey port, 4001 default # mldonkey_login Mldonkey login, default none # mldonkey_password Mldonkey password, default none # boinc (seti) dir # seti_dir /opt/seti # Allow for the creation of at least this number of port monitors (if 0 or not set, default is 16) min_port_monitors 16 # Allow each port monitor to track at least this many connections (if 0 or not set, default is 256) min_port_monitor_connections 256 # 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 ${color white} ${time %l:%M %a %b %d} ${color white}CPU:${color white} ${freq} ${color white}mhz / Temp:${color white}$acpitemp ${color white}C ${color white}Disk I/O:${color white} ${diskio} ${color white}Uptime:${color white} $uptime ${color white}Processes:${color white} $processes ${color white}Running:${color white} $running_processes ${color white}CPU Usage:${color white} $cpu% ${color white}${cpugraph 20, 125 ffffff 0000ff} ${color white}RAM Usage:${color white} $mem of $memmax ${color white}- ${color white}$memperc% ${color white}Swap Usage:${color white} $swap of $swapmax ${color white}- ${color white}$swapperc% ${color white}File systems: ${color white}${fs_used /} of ${fs_size /} ${color white}Name PID CPU% MEM% ${color white} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} ${color white} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} ${color white} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} ${color white} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} ${color white} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5} ${color white}IN:${downspeed eth0} k/s ${color white}${downspeedgraph eth0 20,125 ff0000 0000ff} ${color white}OUT:${upspeed eth0} k/s ${color white}${upspeedgraph eth0 20,125 0000ff ff0000} ${color white}Connections: ${tcp_portmon 1 65535 count} ${color white}Netstat ${color white}${execi 2 netstat -e -p -t | grep ESTABLISHED | cut -c45-68,80-86,102-140}
Last edited by kerry_s; November 20th, 2006 at 10:50 AM.
Okay Dylan103, i went down your list of what you want and made one for ya.->
Code:# 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 # Set conky on the bottom of all other applications own_window_hints below # Xft font when Xft is enabled xftfont Sans:style=Bold:size=10 # Text alpha when using Xft xftalpha 1 # 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 5 # 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_hints undecorated,below,skip_taskbar own_window_type override # 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 # Minimum size of text area minimum_size 280 5 # Draw shades? draw_shades no # Draw outlines? draw_outline no # Draw borders around text draw_borders no # Stippled borders? stippled_borders 8 # border margins border_margin 5 # border width border_width 10 # 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 50 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 # number of cpu samples to average # set to 1 to disable averaging cpu_avg_samples 1 # number of net samples to average # set to 1 to disable averaging net_avg_samples 1 # 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 yes # mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost # mldonkey_port Mldonkey port, 4001 default # mldonkey_login Mldonkey login, default none # mldonkey_password Mldonkey password, default none # boinc (seti) dir # seti_dir /opt/seti # Allow for the creation of at least this number of port monitors (if 0 or not set, default is 16) min_port_monitors 16 # Allow each port monitor to track at least this many connections (if 0 or not set, default is 256) min_port_monitor_connections 256 # 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 ${color white}CPU Usage:${color white} $cpu% <-> ${color white}File systems: ${color white}${fs_used /} of ${fs_size /} <-> ${time %l:%M %a %b %d} <-> ${color white}RAM Usage:${color white} $mem of $memmax ${color white}= ${color white}$memperc% ${color white}IN:${downspeed eth0}k/s <-> ${color white}OUT:${upspeed eth0}k/s <-> ${color white}Connections: ${tcp_portmon 1 65535 count} ${color white}Netstat ${color white}${execi 2 netstat -e -p -t | grep ESTABLISHED | cut -c45-68,80-86,102-140}
Last edited by kerry_s; November 20th, 2006 at 10:50 AM.
.conky_wifi
.conkyrcCode:#!/bin/sh /sbin/iwconfig ath0|grep Rate|cut -d"M" -f1|cut -b20-24
Code:# set to yes if you want Conky to be forked in the background background yes # Use Xft? use_xft yes # Xft font when Xft is enabled xftfont Trebuchet MS:size=10 # Text alpha when using Xft xftalpha 0.9 # 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 normal # Use pseudo transparency with own_window? own_window_transparent yes # 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 160 5 # Maximum width maximum_width 160 # Draw shades? draw_shades no # Draw outlines? draw_outline no # Draw borders around text draw_borders no # Draw borders around graphs draw_graph_borders no # Stippled borders? # stippled_borders 8 # border margins # border_margin 2 # border width # border_width 1 # Default colors and also border colors default_color white default_shade_color red default_outline_color green # 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 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 # number of cpu samples to average # set to 1 to disable averaging cpu_avg_samples 2 # Force UTF8? note that UTF8 support required XFT override_utf8_locale no # variable is given either in format $variable or in ${variable} # stuff after 'TEXT' will be formatted on screen # unused text # Current:${alignr}${execi 20 /home/tonyt/scripts/.conky_eth2} Mbits/sec # hda Temp:${alignr}${execi 1800 /home/tonyt/scripts/.hdtemp} TEXT $sysname $kernel Uptime:$alignr$uptime ${time %A}$alignr${time %F} Hostname:$alignr$nodename ath0:$alignr${addr ath0} Signal:$alignr${linkstatus ath0} Current:${alignr}${execi 20 /home/tonyt/scripts/.conky_ath0} Mbits/sec eth2:$alignr${addr eth2} Signal:$alignr${linkstatus eth2} eth0:$alignr${addr eth0} RAM: $mem/$memmax ${color lightgray}$membar$color CPU0 ${cpu cpu1}% ${color lightgray}${cpubar cpu1}$color CPU1 ${cpu cpu2}% ${color lightgray}${cpubar cpu2}$color hda3: ${fs_used_perc /}% ${color lightgray}${fs_bar /}$color hda5: ${fs_used_perc /mnt/FILES}% ${color lightgray}${fs_bar /mnt/FILES/}$color Swap: $swapperc% ${color lightgray}$swapbar$color Processes: $processes ${alignr}Running: $running_processes
Last edited by tturrisi; October 22nd, 2006 at 01:58 PM.
This is a great idea for a thread.
Code:# set to yes if you want Conky to be forked in the background background no # 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 -*-*-*-*-*-*-35-*-*-*-*-*-*-* # Use Xft? use_xft no # Set conky on the bottom of all other applications #on_bottom yes # Xft font when Xft is enabled #xftfont Bitstream Vera Sans Mono:size=10 # Text alpha when using Xft #xftalpha 0.15 # 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 5.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 overide own_window_type normal # 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 # If own_window is yes, these window manager hints may be used own_window_hints undecorated,below,skip_pager # Use double buffering (reduces flicker, may not work for everyone) double_buffer no # 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 no # Stippled borders? stippled_borders 8 no # 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 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 12 gap_y 28 # 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 # mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost # mldonkey_port Mldonkey port, 4001 default # mldonkey_login Mldonkey login, default none # mldonkey_password Mldonkey password, default none # boinc (seti) dir # seti_dir /opt/seti # 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 $sysname $kernel on $machine ${color}Uptime:$color $uptime ${color}- Load:$color $loadavg ${color}CPU Usage:${color} $cpu% ${cpubar} ${color}${cpugraph 88aadd 88aaee} ${color}RAM Usage:$color $mem/$memmax - $memperc% ${membar} ${color}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar} ${color}Processes:$color $processes ${color}Running:$color $running_processes ${color}Networking: Down:${color} ${downspeed eth0} k/s${color} ${offset 80}Up:${color} ${upspeed eth0} k/s ${color}${downspeedgraph eth0 32,150 88aadd 88aaee} ${color}${upspeedgraph eth0 32,150 88aadd 88aaee} ${color}File systems: / $color${fs_used /}/${fs_size /} ${fs_bar /} /home $color${fs_used /home}/${fs_size /home} ${fs_bar /home} ${color}Name PID CPU% MEM% ${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} ${color} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} ${color} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} ${color} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} ${color}Mem usage ${color lightgrey} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1} ${color} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2} ${color} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
http://www.ubuntuforums.org/attachme...6&d=1161470797
if you need to remember the import command, you can just 'Ctrl-r' it and start writting import to see when you've used import in the past. you can keep pressing 'Ctrl-r' to scroll through all the times you've used it.
edit, just press tab to select it
Last edited by ice60; December 20th, 2006 at 05:05 PM.
Thanks to the forums staff for your dedication and hard work
(the admins changed my sig to that lol )
I haven't payed much attention to the colors yet because i'm trying to figure out how to keep the text of the top functions (memory, pid etc) aligned..i posted it in a thread but still no answer here's my file
Code:# maintain spacing between certain elements use_spacer yes # set to yes if you want tormo to be forked in the background #background yes use_xft yes # Xft font when Xft is enabled xftfont Vera-7 #xftfont Andale Mono-9 #xftfont Clean-8 #xftfont cubicfive10:pixelsize=8 #xftfont squaredance10:pixelsize=14 #xftfont swf!t_v02:pixelsize=10 # Text alpha when using Xft xftalpha 1 mail_spool $MAIL # Update interval in seconds update_interval 5.0 # 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 # Minimum size of text area minimum_size 260 5 maximum_width 260 # Draw shades? draw_shades no # Draw outlines? draw_outline no # amplifies text # Draw borders around text draw_borders no # 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 grey90 default_shade_color black default_outline_color DarkGrey # 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 24 gap_y 24 # Subtract file system buffers from used memory? no_buffers yes # set to yes if you want all text to be in uppercase uppercase no # stuff after 'TEXT' will be formatted on screen TEXT ${color #ffcb48}$nodename$color ${color #ffcb48}$sysname $kernel on $machine$color ${color #ffffff}Sky is the limit Uptime:$uptime$color ${color #ffffff}PROCESSING$color ${color #98c2c7}CPU:$color $cpu% ${color #98c2c7}$cpubar ${color #98c2c7}${cpugraph 78af78 a3a3a3} ${color #98c2c7}NAME PID CPU% MEM% ${color #e5e5e5}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} ${color #c4c4c4}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} ${color #a3a3a3}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} ${color #828282}${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} ${color #ffcb48}DATA$color ${color #98c2c7}RAM:$color $memperc% ${color #828282${membar 6}${color #828282} ${color #98c2c7}SWAP:$color $swapperc% ${color #828282${swapbar 6}${color #828282} ${color #ffcb48}FILESYSTEM ${color #98c2c7}root /:$color ${fs_free_perc /}% $fs_free ${color #98c2c7}${fs_bar 6 /}$color ${color #98c2c7}Upload:$color ${upspeed eth0}kb/s${color #98c2c7} Download:$color ${downspeed eth0}kb/s ${execi 60 /usr/bin/pymetar LPPT}
Last edited by raul_; December 21st, 2006 at 12:58 AM.
My blog | Arch User | Linux user #439142 | Ubuntu user #10974
"God is real unless you declare it as integer"
Bookmarks