Yes. Increase the number after the execi command. The count is in seconds. Change it to at least 7200.
Printable View
here's mine.. it's based mostly on Tristam Green's
Code:# .conkyrc configuration
# Jeff Passarella 12-16-2007
# modified from configuration by Tristam Green, 11-21-2007
# 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-8
#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 1.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
own_window_hints below
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 200 5
maximum_width 300
# 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 5
# border widt5
border_width 6
# 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
# *** RHYTHMBOX FORMAT SETTINGS ***
# ${rhythmbox-client --print-playing}
# Print the title and artist of the playing song
# ${rhythmbox-client --print-playing-format}
# Print formatted details of the song
# *** PARAMETERS ***
# %at Album title
# %aT Album title in lowercase
# %aa Album artist
# %aA Album artist in lowercase
# %ay Release year of album
# %an Album disc number
# %aN Album disc number with leading zero
# %ag Album genre
# %aG Album genre in lowercase
# %tt Track title
# %tT Track title in lowercase
# %ta Track artist
# %tA Track artist in lowercase
# %tn Track number
# %tN Track number with leading zero
# %td Track duration
# %te Elapsed time of track
# Variables can be combined using quotes. For example "%tn %aa %tt", will
# print the track number followed by the artist and the title of the
# track.
# stuff after 'TEXT' will be formatted on screen
TEXT
${color white}${font OpenLogos:size=14}T u ${font}${font Vera:size=8}$alignr ${time %a } ${time %e %B %G} | ${time %I:%M %P}${font}
${color #5da5d3}User ${hr 1}
${color #e5e5e5}${execi 30 whoami} @ $nodename $alignr $sysname $machine $kernel
${color #e5e5e5}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'} ${color #CCCCCC}$alignr${freq_g} GHz
${color #e5e5e5}uptime $alignr $uptime_short
${color #5da5d3}System ${hr 1}
${color #e5e5e5}cpu usage $color $alignr $cpu%
${color #e5e5e5}load $alignr $loadavg
${color #5da5d3}Processes ${hr 1}
${color #e5e5e5}total $alignr $processes
${color #e5e5e5}running $alignr $running_processes
${color #5da5d3}Memory ${hr 1}
${color #e5e5e5}total $alignr ${memmax}
${color #e5e5e5}used $alignr $memperc% $mem
${execi 300 ifconfig > /home/tgalus/.ifconfig.txt}
${if_existing /home/tgalus/.ifconfig.txt eth1}
${color #5da5d3}Wireless (${color #ff9900}${addr eth1}${color #5da5d3}) ${hr 1}
${color e5e5e5}ssid ${wireless_essid eth1} $alignr ${wireless_ap eth1}
${color e5e5e5}mode ${wireless_mode eth1} $alignr Bitrate: ${wireless_bitrate eth1}
${color e5e5e5}down ${color #ff9900}${downspeedf eth1} ${color e5e5e5}k/s ${alignr}${color e5e5e5}up ${color #0000ff}${upspeedf eth1} ${color e5e5e5}k/s
${color e5e5e5}total down: ${totaldown eth1} $alignr total up: ${totalup eth1}
${else} ${color #5da5d3}Wired (${color #ff9900}${addr eth0}${color #5da5d3}) ${hr 1}
${color e5e5e5}down ${color #ff9900}${downspeedf eth0} ${color e5e5e5}k/s ${alignr}${color e5e5e5}up ${color #e5e5ff}${upspeedf eth0} ${color e5e5e5}k/s
${color e5e5e5}total down: ${totaldown eth0} $alignr total up: ${totalup eth0}
${endif}
${color #e5e5e5} Inbound : ${tcp_portmon 1 32767 count}
${color #e5e5e5} Outbound: ${tcp_portmon 32767 65535 count}
${color #e5e5e5} Total: ${tcp_portmon 1 65535 count}
${color #5da5d3}File Systems ${hr 1}
${color #e5e5e5}root ${color white}${fs_free /} (${fs_free_perc /}%) ${color #e5e5e5}free of ${fs_size /}
${fs_bar /}
${color #e5e5e5}home ${color white}${fs_free /home} (${fs_free_perc /home}%) ${color #e5e5e5}free of ${fs_size /home}
${fs_bar /home}
${if_mounted /media/MaxOT3_} ${color #e5e5e5}usb ${color white}${fs_free /media/MaxOT3_} (${fs_free_perc /media/MaxOT3_}%) ${color #e5e5e5}free of ${fs_size /media/MaxOT3_}
${fs_bar /media/MaxOT3_}${else} usb MaxOT3 not mounted${endif}
${color #5da5d3}System Messages ${hr 1}
${color #e5e5e5} ${execi 10 /usr/bin/tail -n 3 /var/log/messages | fold -w 50}
${color #5da5d3}Security ${hr 1}
${color #e5e5e5} ${execi 10 /usr/bin/tail -n 3 /var/log/auth.log | fold -w 50}
I seriously need to stop checking this thread, heh. My conky is suffering serious bloat, and now consumes the entire right side of my screen.
I come here, get ideas, and add stuff. I just added fan speeds and temps today, and now I'm pretty much out of space. If I find anything else to add, I'll have to reduce font side or buy a bigger monitor. 8-[
Some of it is eye candy (processor type, video card type, etc) and some of it I actually look at. Maybe I need to think about what I really use and what I don't, and pare it down.
I just edited mine yesterday, because it was getting to much bloat..
Here is my currenct conky:
Screenshot, can be found here: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 no
own_window_hints undecorated,below,skip_taskbar
background no
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer no
# fiddle with window
use_spacer yes
use_xft yes
# Update interval in seconds
update_interval 60.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}LAN IP: ${color }${addr ath0}
${offset 240}${color slate grey}Download: ${color }${totaldown ath0}
${offset 240}${cpugraph 20,130 000000 ffffff}
${offset 240}${color slate grey}CPU:${color } $cpu% ${acpitemp}C
${offset 240}${color slate grey}Processes: ${color }$processes
${offset 240}${color slate grey}Running: ${color }$running_processes
${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}HOME: ${color }${fs_free /home}/${fs_size /home}
${offset 240}${fs_bar 3,100 /home}
${offset 240}${color slate grey}NET:
${offset 240}${color}Up: ${color }${upspeed ath0} k/s
${offset 240}${upspeedgraph ath0 20,130 000000 ffffff}
${offset 240}${color}Down: ${color }${downspeed ath0}k/s${color}
${offset 240}${downspeedgraph ath0 20,130 000000 ffffff}
http://ubuntuforums.org/g/index.php?n=1805
Dr Small
It's making me really happy to see folks using the IF...THEN...ELSE statements in their configs; it makes for some seriously cool formatting as in the case of a "not mounted" issue on the USB drive; now if only I could set it up to handle all my USB ports (that'll take a little bit).
I'm starting to get to that point. Mine now takes up 75% of the left-hand side of my screen, and honestly, I don't even use all of it (namely, the nifty Rhythmbox stuff I wrote into it). I just added acpi readouts for AC Adapter and Battery status, and I love it, so I'm keeping it. It provides a much more reliable readout than gpm does for me.
The rhythmbox stuff, while I'm incredibly proud of it, is a large amount of bloat. I rarely use it (only when I'm home, since my music is stored on my LAN), and if I need to know what I'm playing, I could just as well *open* Rhythmbox to see...
I may cut it, and at least save the code for future use.
*Screenshot attached*
edit: apologies for the horrible resolution image. jpg compression is a pain :D
This might be a dumb question. I haven't used conky before but am interested in it. I installed it but cannot seem to find where .conkyrc lives. Can someone point me there?
Thanks
~City
After apt-getting conky you can simply run the command below to install a default version of conkyrc in ~/
After running the above command use the below command to bring up your conkyrc file for editing.Code:zcat /usr/share/doc/conky/examples/conkyrc.sample.gz > ~/.conkyrc
These might be of help as well.Code:gedit ~/.conkyrc
Howto: Get a beautiful Conky setup
HowTo: Conky hddtemp
HOW TO: Install and configure lm-sensors
Thanks :)
@CityofAsh
Just in case you didn't know, the . (period) in front of a filename denotes that it is a hidden file (such as .conkyrc). To view hidden files in nautilus, either go to the view menu, and click 'show hidden files', or simply in nautilus, hit <ctrl> h to toggle this setting.