Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › The Conky showcase
New Posts  All Forums:Forum Nav:

The Conky showcase

post #1 of 19
Thread Starter 
Probably done before but here is a new beginning. Someone recently asked about my conky setup. So here it is:

Attachment 192490

You need conky and two dependencies to make this work: lm_sensors (or lm-sensors in some package managers) and hddtemp.

You need to run sensors-detect and either add it to your daemons or you can load each module individually in modules. I keep mine running as a daemon and load it in the background. You also need to run hddtemp and add that to your daemons. There is some configuration nonsense for remote observation but I always keep it set to my localhost so for our needs, you should be able to leave it as the defaults.

My daemons list in rc.conf:

Code:
DAEMONS=(syslog-ng dbus network @sensors @hddtemp wicd @avahi-daemon @crond @cups ufw @alsa gdm)
Start up the daemons and make sure they work. For lm_sensors, use sensors and for hddtemp, use hddtemp /dev. We good? Good.

Alright, now we need to set up conky. My conky requires three scripts: a start up script, a small script to snag my GPU temps and the conkyrc.

The start up script is easy. The issue is if you try to load conky too quickly after your GDM login, you can get some bad effects. The two effects I'm familiar with are GDM bleedthrough and a floating conky. With the GDM bleedthrough, your GDM screen bleeds through your desktop into the conky window. With the floating conky, conky never assimilates with the desktop and it floats over any window you have open. Two nasty effects we don't want.

To combat this, make a script like this:

Code:
#! /bin/bash
sleep 10
conky;
10 is 10 seconds. It will sleep for 10 seconds and then load conky. Save this as .conkyscript.sh in your home folder. You don't need it to be 10 seconds. On my Ubuntu machine, it needed to be 12 seconds so it wouldn't load too quickly. In Arch, I can probably prune it down to 6 seconds since I'm not loading nearly as much crap on boot. I guess it's a bit like underclocking. Cut a second off and reboot. Keep doing this until the nasty effects show up, then add a second back.

The next script is for snagging GPU temps. In Ubuntu, conky could do this natively. In Arch, it cannot or at least I can't find a way to do it.

Code:
#! /bin/sh

nvidia-settings -q gpucoretemp  |grep '):' | cut -c 50-51
This is another "script" that needs some tweaking. If you're familiar with grep and cut, you know the positions "50-51" are unique to my machine. It is based on your name and hostname length. Since I have a rather long username and hostname, I had to use 50-51.

Just run
Code:
nvidia-settings -q gpucoretemp  |grep '):'
and count out what column the appropriate numbers are in. That's what your cut numbers should be. Don't know what the code is for Intel or ATi video since I've never used them for this.

Save this as .conky_gputemp.sh. chmod both scripts as executable and save them in your home folder.

Now the conkyrc... This is still a work in progress for me as I try to figure out my CPU cores labeling. It is honestly too much work to go over every single bit but I'll post the whole thing and go back and explain some of the stuff.

Code:
# set to yes if you want Conky to be forked in the background
background no

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 Bold:size=10

own_window_transparent no
#own_window_colour hotpink
# 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 yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_type override

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 400 5
maximum_width 400

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders no

# border margins
border_margin 4

# border width
border_width 1

# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color white

# Text alignment, other possible values are commented
#alignment top_left
#minimum_size 10 10
gap_x 15
gap_y 45
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

# none, xmms, bmp, audacious, infopipe (default is none)
#xmms_player bmp

# 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


# 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
#${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
#${font Verdana:size=10}as many times as I choose
#${font Perry:size=10}Including UTF-8,
# stuff after 'TEXT' will be formatted on screen
#${font Grunge:size=12}${time %a  %b  %d}${alignr -25}${time %k:%M}

short_units yes
pad_percents 2
top_name_width 15

TEXT
${font size=40}${time %H:%M:%S} $alignr${time %A, }${time %B %e, %Y}

${font style:bold}${color #FFFFFF}SYSTEM
${hr 2}
${font size=20}${alignc}Arch Linux x86_64
${font}${color #FFFFFF}$alignc$sysname $kernel $machine $nodename
${font size=13}$alignc${color #FFFFFF}Uptime:${color #FF0000} $uptime ${color #FFFFFF} Load:${color #FF0000} $loadavg

${font style:bold}${color #FFFFFF}CPU
${hr 2}
${font}Intel(R) Core(TM)2 Quad CPU

${color #FFFFFF}Core 0:${goto 75}${color #FF0000} ${freq_g cpu1}GHz ${goto 170} ${color #FF0000}${hwmon 1 temp 1}°C ${color #FF0000}${goto 250}${cpu cpu1}% ${alignr}${color #FFFFFF}${cpubar cpu1 5,110}
${color #FFFFFF}Core 1:${goto 75}${color #FF0000} ${freq_g cpu2}GHz ${goto 170} ${color #FF0000}${hwmon 2 temp 1}°C ${color #FF0000}${goto 250}${cpu cpu2}% ${alignr}${color #FFFFFF}${cpubar cpu2 5,110}
${color #FFFFFF}Core 2:${goto 75}${color #FF0000} ${freq_g cpu3}GHz ${goto 170} ${color #FF0000}${hwmon 3 temp 1}°C${color #FF0000}${goto 250}${cpu cpu3}% ${alignr}${color #FFFFFF}${cpubar cpu3 5,110}
${color #FFFFFF}Core 3:${goto 75}${color #FF0000} ${freq_g cpu4}GHz ${goto 170} ${color #FF0000}${hwmon 4 temp 1}°C ${color #FF0000}${goto 250}${cpu cpu4}% ${alignr}${color #FFFFFF}${cpubar cpu4 5,110}


${color #FFFFFF}${goto 180}Average
${cpugraph cpu0 000000 FFFFFF}

${color #FFFFFF}Processes:${color #FF0000}  $processes ${color #FFFFFF}${goto 125}Run:${color #FF0000}${goto 175}$running_processes 
${color #FFFFFF}GPU:${goto 79}${color #FF0000}${texeci 10 ~/.conky_gputemp.sh}°C  ${color #FFFFFF}${goto 125}HDD:${goto 175}${color #FF0000}${hddtemp /dev/sda}°C

${color #FFFFFF}RAM:${goto 60}${color #FF0000}$mem/$memmax${goto 155}$memperc% ${alignr}${color #FFFFFF}${membar 5,120}
${color #FFFFFF}SWP:${goto 60}${color #FF0000}$swap/$swapmax${goto 155}$swapperc% ${alignr}${color #FFFFFF}${swapbar 5,120}

${color #FFFFFF}Hard Disks:
${color #FFFFFF} Root${goto 60}${color #FF0000}${fs_used /}/${fs_size /}${goto 155}${fs_used_perc /}%${alignr}${color #FFFFFF}${fs_bar 5,120 /}
${color #FFFFFF} Home${goto 60}${color #FF0000}${fs_used /home}/${fs_size /home}${goto 155}${fs_used_perc /home}%${alignr}${color #FFFFFF}${fs_bar 5,120 /home}

${color #FFFFFF}CPU Usage${goto 160}PID${goto 220}CPU%${goto 280}MEM%
${color #FF0000} ${top name 1}${goto 150}${top pid 1}${goto 220}${top cpu 1}${goto 280}${top mem 1}
${color #FFFFFF} ${top name 2}${goto 150}${top pid 2}${goto 220}${top cpu 2}${goto 280}${top mem 2}
${color #FFFFFF} ${top name 3}${goto 150}${top pid 3}${goto 220}${top cpu 3}${goto 280}${top mem 3}

${color #FFFFFF}Mem Usage
${color #FF0000} ${top_mem name 1}${goto 150}${top_mem pid 1}${goto 220}${top_mem cpu 1}${goto 280}${top_mem mem 1}
${color #FFFFFF} ${top_mem name 2}${goto 150}${top_mem pid 2}${goto 220}${top_mem cpu 2}${goto 280}${top_mem mem 2}
${color #FFFFFF} ${top_mem name 3}${goto 150}${top_mem pid 3}${goto 220}${top_mem cpu 3}${goto 280}${top_mem mem 3}

${font style:bold}${color #FFFFFF}NETWORK
${hr 2} 
${font}${color #FFFFFF}Address: ${color #FF0000}${addr wlan0}

${color #FFFFFF}${goto 20}Down:${color #FF0000} ${downspeed wlan0} k/s ${goto 310}${color #FFFFFF} Up:${color #FF0000} ${upspeed wlan0} k/s
${color #FFFFFF}${downspeedgraph wlan0 25,120 000000 FFFFFF 180} ${goto 285}${color #FFFFFF}${upspeedgraph wlan0 25,120 000000 FFFFFF 25}
${color #FF0000}${goto 50}${totaldown wlan0}${goto 330}${color #FF0000}${totalup wlan0}
That's the whole kit and kaboodle. Here are some things you need to pay attention to:

Code:
# Text alignment, other possible values are commented
#alignment top_left
#minimum_size 10 10
gap_x 15
gap_y 45
alignment top_right
#alignment bottom_left
#alignment bottom_right
See gap_y? That's set to 45 because I am using Nvidia twinview on my system and I wanted conky to display in my right monitor. You'll need to fiddle with that number on a single screen system.

Code:
${color #FFFFFF}Core 0:${goto 75}${color #FF0000} ${freq_g cpu1}GHz ${goto 170} ${color #FF0000}${hwmon 1 temp 1}°C ${color #FF0000}${goto 250}${cpu cpu1}% ${alignr}${color #FFFFFF}${cpubar cpu1 5,110}
${color #FFFFFF}Core 1:${goto 75}${color #FF0000} ${freq_g cpu2}GHz ${goto 170} ${color #FF0000}${hwmon 2 temp 1}°C ${color #FF0000}${goto 250}${cpu cpu2}% ${alignr}${color #FFFFFF}${cpubar cpu2 5,110}
${color #FFFFFF}Core 2:${goto 75}${color #FF0000} ${freq_g cpu3}GHz ${goto 170} ${color #FF0000}${hwmon 3 temp 1}°C${color #FF0000}${goto 250}${cpu cpu3}% ${alignr}${color #FFFFFF}${cpubar cpu3 5,110}
${color #FFFFFF}Core 3:${goto 75}${color #FF0000} ${freq_g cpu4}GHz ${goto 170} ${color #FF0000}${hwmon 4 temp 1}°C ${color #FF0000}${goto 250}${cpu cpu4}% ${alignr}${color #FFFFFF}${cpubar cpu4 5,110}
My CPU section is a mess right now since I'm trying to figure out the CPU numbering. fixed! If you have a dual core, you'll need to trim it back. If you have a 980x or a hexcore AMD, you'll need to add more. Not sure how it handles hyperthreaded cores but hopefully I'll find out in a few months

Code:
${color #FFFFFF}GPU:${goto 79}${color #FF0000}${texeci 10 ~/.conky_gputemp.sh}°C  ${color #FFFFFF}${goto 125}HDD:${goto 175}${color #FF0000}${hddtemp /dev/sda}°C
This is line executes my .conky_gputemp.sh

Code:
${color #FFFFFF}Hard Disks:
${color #FFFFFF} Root${goto 60}${color #FF0000}${fs_used /}/${fs_size /}${goto 155}${fs_used_perc /}%${alignr}${color #FFFFFF}${fs_bar 5,120 /}
${color #FFFFFF} Home${goto 60}${color #FF0000}${fs_used /home}/${fs_size /home}${goto 155}${fs_used_perc /home}%${alignr}${color #FFFFFF}${fs_bar 5,120 /home}
This grabs my info on my partitions. If you're using more partitions, you'll have to add a few more lines.

Code:
${font style:bold}${color #FFFFFF}NETWORK
${hr 2} 
${font}${color #FFFFFF}Address: ${color #FF0000}${addr wlan0}

${color #FFFFFF}${goto 20}Down:${color #FF0000} ${downspeed wlan0} k/s ${goto 310}${color #FFFFFF} Up:${color #FF0000} ${upspeed wlan0} k/s
${color #FFFFFF}${downspeedgraph wlan0 25,120 000000 FFFFFF 180} ${goto 285}${color #FFFFFF}${upspeedgraph wlan0 25,120 000000 FFFFFF 25}
${color #FF0000}${goto 50}${totaldown wlan0}${goto 330}${color #FF0000}${totalup wlan0}
I'm connecting via wireless so all my address stuff is set to wlan0. If you're on a wired network, first of all, I'm jealous. Second, you'll have to set wlan0 to either eth0 or eth1.

If you want to change the colors, you'll need to get familiar with hex color codes. I'm using three colors red (#FF0000), white (#FFFFFF) and black (#000000)

Save this as .conkyrc in your home folder. Test it out by running conky. Tweak as needed.

I forgot the most important part! Making it load on boot. Easy. Go to System>Preferences>Startup Applications

Add a new application and call it Conky Startup or whatever you want. For the command, point it to ~/conkyscript.sh

Conky will boot at startup.

Edited by TFB - 1/27/11 at 3:12pm
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
post #2 of 19
Nice! Will give this a go later.
post #3 of 19
Code:
# set to yes if you want Conky to be forked in the background
background no

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
# 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 yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_type normal
own_window_argb_visual true

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 250
maximum_width 200

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders no

# border margins
border_margin 4

# border width
border_width 1

# Default colors and also border colors
default_color4
default_shade_color0
default_outline_color green

# Text alignment, other possible values are commented
#alignment top_left
#minimum_size 10 10
gap_x 15
gap_y 70
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

# none, xmms, bmp, audacious, infopipe (default is none)
xmms_player xmms2

# boinc (seti) dir
# seti_dir /opt/seti

color0 Black#Main Text
color4 white#Sub Text
color1 Blue#Percents
color2 Grey#Sections
color3 DimGray#Status bars


TEXT



${voffset -90}
${color0}
${font}
${font Arial:bold:size=12}${color2}SYSTEM ${color DarkSlateGray} ${hr 2}
${color0}${font Arial:size=10}$sysname $kernel $alignr $machine
Phenom II X4 $alignr${freq_g cpu0}Ghz
Uptime $alignr${uptime}
File System $alignr${fs_type}

${font Arial:bold:size=12}${color2}PROCESSORS ${color DarkSlateGray}${hr 2}
${font Arial:size=12}${color0}CPU1:  ${color1}${cpu cpu1}% ${color3}${cpubar cpu1}
${color0}CPU2:  ${color1}${cpu cpu2}% ${color3}${cpubar cpu2}
${color0}CPU3:  ${color1}${cpu cpu3}% ${color3}${cpubar cpu3}
${color0}CPU4:  ${color1}${cpu cpu4}% ${color3}${cpubar cpu4}
${font Arial:size=10}${color4}  ${top name 1} $alignr${color1}${top cpu 1}
  ${color4}${top name 2} $alignr${color1}${top cpu 2}
  ${color4}${top name 3} $alignr${color1}${top cpu 3}
${color0}Total: ${color1}$processes ${color0}${alignr}Active: ${color1}$running_processes
${color0}Temp: ${color red} $alignr${execi 8 sensors | grep -A 0 'temp2' |cut -c13-18 }$color C

${font Arial:bold:size=12}${color2}MEMORY ${color DarkSlateGray}${hr 2}
$font${color0}${font Arial:size=10}MEM $alignc $mem / $memmax $alignr ${color1}$memperc%
${color3}$membar
${font Arial:size=10}${color4}  ${top_mem name 1} $alignr${color1}${top_mem mem 1}
  ${color4}${top_mem name 2} $alignr${color1}${top_mem mem 2}
  ${color4}${top_mem name 3} $alignr${color1}${top_mem mem 3}

${font Arial:bold:size=12}${color2}HDD ${color DarkSlateGray}${hr 2}
${color0}${font Arial:size=10}${color0}/home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${color1}${fs_free_perc /home}%
${color3}${fs_bar /home}
${color0}Spare $alignc ${fs_used /mnt/spare} / ${fs_size /mnt/spare} $alignr ${color1}${fs_free_perc /mnt/spare}%
${color3}${fs_bar /mnt/spare}
${color0}Win7 $alignc ${fs_used /mnt/windows} / ${fs_size /mnt/windows} $alignr ${color1}${fs_free_perc /mnt/windows}%
${color3}${fs_bar /mnt/windows}

${font Arial:bold:size=12}${color2}NETWORK ${color DarkSlateGray}${hr 2}
${color0}${font Arial:size=10}IP on eth0: $alignr ${color1}${addr eth0}
${color0}Down: $alignr ${color1}${downspeed eth0} kb/s
${color0}Up: $alignr ${color1}${upspeed eth0} kb/s
${color0}Downloaded: ${color1}$alignr  ${totaldown eth0}
${color0}Uploaded: ${color1}$alignr  ${totalup eth0}

${font Arial:bold:size=12}${color2}Calendar ${color DarkSlateGray}${hr 2}

##${color0} ${font :size=20}$alignc${time %I:%M %P}

${color0}${voffset -30}${font :bold:size=12}$alignc${time %b/%d/%Y}
${font :bold:size=8}$alignc${time %A}
This is the base for when I do mine, I'm so glad we had the conky thread in ocnix. =) I think it'd be much cooler if we had a conky sticky here though! the layout is pretty simple once you get it, and universal colors are nice.

Code:
color0 Black#Main Text
color4 white#Sub Text
color1 Blue#Percents
color2 Grey#Sections
color3 DimGray#Status bars
Conky is awsome.
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #4 of 19
I'm going to put up a picture of mine but I am still trying to figure out the temps and stuff, which temp is for what temp, it's quite puzzling to say the least. But man, my config looks awesome!
post #5 of 19
My current conky:

Home PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 1055T (95W) Asus Crosshair IV Formula Gigabyte 5870 + HIS 5870 CF 2x 2GB OCZ Platinium DDR3 @1333Mhz (7-7-7-16) 
Hard DriveOptical DriveOSMonitor
Seagate Barracuda 500 GB TSSTCorp CDDVDW TS-H653R Arch x86_64 2x LG Flatron W2243S (3840 x 1080) 
PowerCase
Seasonic X-750W Coolermaster CM690II Adv 
  hide details  
Reply
Home PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 1055T (95W) Asus Crosshair IV Formula Gigabyte 5870 + HIS 5870 CF 2x 2GB OCZ Platinium DDR3 @1333Mhz (7-7-7-16) 
Hard DriveOptical DriveOSMonitor
Seagate Barracuda 500 GB TSSTCorp CDDVDW TS-H653R Arch x86_64 2x LG Flatron W2243S (3840 x 1080) 
PowerCase
Seasonic X-750W Coolermaster CM690II Adv 
  hide details  
Reply
post #6 of 19
That's funny. I don't run sensors as a daemon and using sensors in conky-cli works fine for me. The less running root, the better....
post #7 of 19
Thread Starter 
let me see. I could always be wrong...

Alright, I took sensors out of my daemons and it conky wouldn't work so you're running it somehow else. You are either running each sensor as modules, in rc.local or you're starting the sensors manually.
Edited by TFB - 1/28/11 at 5:26pm
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
post #8 of 19
I used to use a grep for temps, it actually reports better than using the command TFB has. I switched to the one TFB uses though, just cause it looks neater for code.
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
Current Rig
(14 items)
 
  
CPUMotherboardGraphicsRAM
FX-8350 4.6GHz@1.44v GA-990FXA-UD3 R4.0 HD 7950 (1100/1450) 8G Muskin DDR3 1866@8CLS 
Hard DriveOptical DriveOSMonitor
1TB WD LiteOn DVD-RW DL Linux/Windows 19" Phillips TV 1080p 
PowerCaseMouseMouse Pad
OCZ 600W Generic Junk Logitech MX400 Generic Junk 
Audio
SBL 5.1 
  hide details  
Reply
post #9 of 19
Quote:
Originally Posted by mushroomboy View Post
I used to use a grep for temps, it actually reports better than using the command TFB has. I switched to the one TFB uses though, just cause it looks neater for code.
I just wish it was easy to see which temp was which. I have a quad core and I don't think I have four temps, I am really confused.
post #10 of 19
Thread Starter 
Run the sensors command. I don't know how AMD chips are built.
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › The Conky showcase