Results 1 to 10 of 18
Hey everyone, if you would like to share or just brag about your Conky, grellm, Apps and or just simple screen shots, this is the place for them.
I'll include ...
- 02-23-2011 #1
Post your Conky or Applets with screenshots 2011
Hey everyone, if you would like to share or just brag about your Conky, grellm, Apps and or just simple screen shots, this is the place for them.
I'll include a link to our last conky/screen shot thread here.
http://www.linuxforums.org/forum/cof...reenshots.html
If you need help uploading images to Linuxforums.org. here is another link that should help.
http://www.linuxforums.org/forum/lin...orums-org.html
So come on everyone, let us see your latest and greatest Desktops!
I stole one from Elijah awhile back and I like it, so I have been with it for awhile now.
Whole Desktop is KDE-4.6.0 on Gentoo Linux

Just Conky

.conkyrc
Code:# Create own window instead of using desktop (required in nautilus) own_window yes #own_window_type override own_window_transparent no own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager shadecolor #333333 # Use double buffering (reduces flicker, may not work for everyone) double_buffer yes # fiddle with window use_spacer right # Use Xft? use_xft yes xftfont DejaVu Sans:size=8 xftalpha 0.8 text_buffer_size 2048 # Update interval in seconds update_interval 3.0 # Minimum size of text area # minimum_size 250 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 3 # border margins border_margin 9 # border width border_width 10 # Default colors and also border colors, grey90 == #e5e5e5 default_color darkgrey 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 TEXT $color ${color #6666CC}SYSTEM ${hr 2}$color $nodename $sysname $kernel on $machine ${color #6666CC}CPU ${hr 2}$color ${freq}MHz Load: ${loadavg} Temp: ${acpitemp} $cpubar ${cpugraph 000000 ffffff} NAME PID CPU% MEM% ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5} ${color #6666CC}MEMORY / DISK ${hr 2}$color RAM: $memperc% ${membar 6}$color Swap: $swapperc% ${swapbar 6}$color Root: ${fs_free_perc /}% ${fs_bar 6 /}$color sda2: ${fs_free_perc /dev/sda2}% ${fs_bar 6 /dev/sda2}$color ${color #6666CC}NETWORK (${addr wlan0}) ${hr 2}$color Signal: $color${wireless_link_qual wlan0} / $color${wireless_link_qual_max wlan0} Down: $color${downspeed wlan0} k/s ${alignr}Up: ${upspeed wlan0} k/s ${downspeedgraph wlan0 25,140 000000 ff0000} ${alignr}${upspeedgraph wlan0 25,140 000000 00ff00}$color Total: ${totaldown wlan0} ${alignr}Total: ${totalup wlan0} ${execi 30 netstat -ept | grep ESTAB | awk '{print $9}' | cut -d: -f1 | sort | uniq -c | sort -nr} #${color #6666CC}LOGGING ${hr 2}$color #${execi 30 tail -n3 /var/log/messages | awk '{print " ",$5,$6,$7,$8,$9,$10}' | fold -w50} ${color #6666CC}FORTUNE ${hr 2}$color ${execi 120 fortune -s | fold -w50}Last edited by MikeTbob; 03-19-2011 at 04:37 AM.
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 02-23-2011 #2
Just another conky I run in Acer Aspire One ZG5 running Ubuntu 10.04 Netbook edition. Don't like the Netbook Look so running straight Gnome.
http://i54.tinypic.com/357k57n.jpgCode:# Default colors and also border colors, grey90 == #e5e5e5 default_color white own_window_colour black # Create own window instead of using desktop (required in nautilus) own_window yes own_window_type normal own_window_transparent yes own_window_class Conky own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager double_buffer 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 4 gap_y 4 # stuff after 'TEXT' will be formatted on screen TEXT ${color }$nodename ${hr} ${color #9fb6cd}Kernel:$alignr${color }$kernel ${color #9fb6cd}UpTime: $alignr${color }$uptime ${cpugraph 20,130 000000 ffffff} ${color #9fb6cd}Load: $alignr${color }$loadavg ${color #9fb6cd}Processes: $alignr${color }$processes ${color #9fb6cd}Running: $alignr${color }$running_processes ${color #9fb6cd}Highest CPU: ${color #ddaa00} ${top name 1}$alignr${top_mem cpu 1} ${color lightgrey} ${top name 2}$alignr${top cpu 2} ${color lightgrey} ${top name 3}$alignr${top cpu 3} ${color lightgrey} ${top name 4}$alignr${top cpu 4} ${color lightgrey} ${top name 5}$alignr${top cpu 5} ${color #9fb6cd}Highest MEM: ${color #ddaa00} ${top_mem name 1}$alignr${top_mem mem 1} ${color lightgrey} ${top_mem name 2}$alignr${top_mem mem 2} ${color lightgrey} ${top_mem name 3}$alignr${top_mem mem 3} ${color lightgrey} ${top_mem name 4}$alignr${top_mem mem 4} ${color lightgrey} ${top_mem name 5}$alignr${top_mem mem 5} ${color #9fb6cd}CPU TEMP:$alignr${color}${hddtemp /dev/sda} ${color #9fb6cd}MEM: $alignr${color } $memperc% $mem/$memmax ${membar 3,100} ${color #9fb6cd}ROOT: $alignr${color }${fs_free /}/${fs_size /} ${fs_bar 3,100 /} ${color #9fb6cd}HOME: $alignr${color }${fs_free /home}/${fs_size /home} ${fs_bar 3,100 /home} ${color white}link strength: ${color white} ${wireless_link_bar 7,50 wlan0} ${color #9fb6cd}${time %a, } $alignr${color }${time %e %B %G} ${color #9fb6cd}${time %Z, }$alignr${color }${time %H:%M:%S} ${color lightgray}${execi 40000 cal} ${texeci 60 pymetar EGBB}
Edit: Below is Puppy 5.2 using Pwidgets. A conky style monitor in Puppy Linux. Just a point and click auto config. Running Openbox with fbpanel (my custom start button) with Rox Pinboard. This is on a IBM M41 Wireless Desktop in my Motorcycle shop that is a test bed for multiple AntiX,Puppy, and whatever else strikes my fancy. Think I have 7 distros installed on it so far on 2 IDE Hardrives multibooting with Grub4dos. Fun and games.
http://i52.tinypic.com/eijiw4.jpgLast edited by rokytnji; 02-23-2011 at 01:29 AM.
Linux Registered User # 475019
Lead,Follow, or get the heck out of the way
AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
Open CourseWare for Linux Geeks
- 02-24-2011 #3
This is a different conky I have configured on my IBM M41wireless motorcycle shop single core Desktop running AntiX 11 Testing. I can minimise or maximise this one from Desktop in Icewm. This install is one that I try to break to find faults before AntiX 11 goes gold. Hence the newest kernel and running Sid repos. Like I said. A testing Distro.
screenshot.jpg
Code:# 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 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 top_right #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}AntiX-M 8.5$font ${font DejaVu Sans:size=8}Mark Edelman July 24, 2009$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 b555b2}$fs_bar_free /home ${color 4ab1ab}/home:${color 4ab1ab} ${fs_free /home} ${color ffffff}= ${fs_free_perc /home}% ${color 4ab1ab}${fs_bar_free /home} ${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 b555b2 } ${wireless_link_bar 7,50 wlan0} ${color ffffff}${time %a %d %b %l:%M:%S%p} ${font Penguin Attack}${color b5550b}Conky ${color b5550b}$conky_version$fontLinux Registered User # 475019
Lead,Follow, or get the heck out of the way
AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
Open CourseWare for Linux Geeks
- 02-25-2011 #4Just Joined!
- Join Date
- Feb 2011
- Posts
- 0

conkyrc
Code for Conky LuaCode:# Conky settings # background no update_interval 1 cpu_avg_samples 2 net_avg_samples 2 override_utf8_locale yes double_buffer yes no_buffers yes text_buffer_size 2048 #imlib_cache_size 0 temperature_unit fahrenheit # Window specifications # own_window yes own_window_type override own_window_transparent yes own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below border_inner_margin 0 border_outer_margin 0 minimum_size 200 250 maximum_width 200 alignment tr gap_x 35 gap_y 35 # Graphics settings # draw_shades no draw_outline no draw_borders no draw_graph_borders no # Text settings # use_xft yes xftfont Sans Serif:size=9 xftalpha 0.8 text_buffer_size 2048 uppercase no temperature_unit celsius default_color FFFFFF # Lua Load # lua_load ~/.conky/clock_rings.lua lua_draw_hook_pre clock_rings TEXT ${voffset 8}${color FF6600}${font Sans Serif:size=16}${time %A}${font}${voffset -8}${alignr 50}${color FFFFFF}${font Sans Serif:size=38}${time %e}${font} ${color FFFFFF}${voffset -30}${color FFFFFF}${font Sans Serif:size=18}${time %b}${font}${voffset -3} ${color FFFFFF}${font Sans Serif:size=20}${time %Y}${font}${color FF6600}${hr} ${voffset 140}${font Sans Serif:size=10}${alignr}${time %H:%M}${font}${color} Ubuntu 11.04 ${color FF6600}${hr}${color} #${pre_exec lsb_release -ircs} ${color FF6600}${hr}${color} Kernel: ${alignr}${kernel} Uptime: ${alignr}${uptime} Temperature: ${alignr}${acpitemp}°C CPU1: ${cpu cpu1}% ${alignr}${color FF6600}${cpugraph cpu1 8,60 FF6600 FFFFFF}${color} CPU2: ${cpu cpu2}% ${alignr}${color FF6600}${cpugraph cpu2 8,60 FF6600 FFFFFF}${color} RAM: $memperc% ${alignr}${color FF6600}${memgraph 8,60 FF6600 FFFFFF}${color} Top Processes ${color FF6600}${hr}${color} ${top_mem name 1}$alignr${color FF6600}${top_mem cpu 1}${color}${top_mem mem 1} ${top_mem name 2}$alignr${color FF6600}${top_mem cpu 2}${color}${top_mem mem 2} ${top_mem name 3}$alignr${color FF6600}${top_mem cpu 3}${color}${top_mem mem 3} Now Playing ${color FF6600}${hr}${color} ${if_running banshee-1} ${scroll 50 3 ${exec banshee-1 --query-title | cut -f2- -d" "} ${color FF6600}by${color} ${exec banshee-1 --query-artist | cut -f2- -d" "} ${color FF6600}from${color} ${exec banshee-1 --query-album | cut -f2- -d" "} }${else} Banshee Not Playing${endif} Network Statistics ${color FF6600}${hr}${color} ${if_existing /proc/net/route wlan0} Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,60 FF6600 FFFFFF} Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 FF6600 FFFFFF} Upload: ${alignr}${totalup wlan0} Download: ${alignr}${totaldown wlan0} Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0} IP Address: ${alignr}${addr wlan0} ${else}${if_existing /proc/net/route eth0} Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 FF6600 FFFFFF} Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 FF6600 FFFFFF} Upload: ${alignr}${totalup eth0} Download: ${alignr}${totaldown eth0} IP Address: ${alignr}${addr eth0} ${endif}${else}${if_existing /proc/net/route eth1} Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 8,60 FF6600 FFFFFF} Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 FF6600 FFFFFF} Upload: ${alignr}${totalup eth1} Download: ${alignr}${totaldown eth1} IP Address: ${alignr}${addr eth1} ${endif}${else} Network Unavailable
Code:--[[ This script draws percentage meters as rings, and also draws clock hands if you want! It is fully customisable; all options are described in the script. This script is based off a combination of my clock.lua script and my rings.lua script. IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement on line 145 uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num>5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num>3; conversely if you update Conky every 0.5s, you should use update_num>10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error. To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua): lua_load ~/scripts/clock_rings.lua lua_draw_hook_pre clock_rings ]] settings_table = { { -- Edit this table to customise your rings. -- You can create more rings simply by adding more elements to settings_table. -- "name" is the type of stat to display; you can choose from 'cpu', 'memperc', 'fs_used_perc', 'battery_used_perc'. name='time', -- "arg" is the argument to the stat type, e.g. if in Conky you would write ${cpu cpu0}, 'cpu0' would be the argument. If you would not use an argument in the Conky variable, use ''. arg='%I.%M', -- "max" is the maximum value of the ring. If the Conky variable outputs a percentage, use 100. max=12, -- "bg_colour" is the colour of the base ring. bg_colour=0xffffff, -- "bg_alpha" is the alpha value of the base ring. bg_alpha=0.1, -- "fg_colour" is the colour of the indicator part of the ring. fg_colour=0xFF6600, -- "fg_alpha" is the alpha value of the indicator part of the ring. fg_alpha=0.2, -- "x" and "y" are the x and y coordinates of the centre of the ring, relative to the top left corner of the Conky window. x=100, y=150, -- "radius" is the radius of the ring. radius=50, -- "thickness" is the thickness of the ring, centred around the radius. thickness=5, -- "start_angle" is the starting angle of the ring, in degrees, clockwise from top. Value can be either positive or negative. start_angle=0, -- "end_angle" is the ending angle of the ring, in degrees, clockwise from top. Value can be either positive or negative, but must be larger than start_angle. end_angle=360 }, { name='time', arg='%M.%S', max=60, bg_colour=0xffffff, bg_alpha=0.1, fg_colour=0xFF6600, fg_alpha=0.4, x=100, y=150, radius=56, thickness=5, start_angle=0, end_angle=360 }, { name='time', arg='%S', max=60, bg_colour=0xffffff, bg_alpha=0.1, fg_colour=0xFF6600, fg_alpha=0.6, x=100, y=150, radius=62, thickness=5, start_angle=0, end_angle=360 }, { name='time', arg='%d', max=31, bg_colour=0xffffff, bg_alpha=0.1, fg_colour=0xFF6600, fg_alpha=0.8, x=100, y=150, radius=70, thickness=5, start_angle=-90, end_angle=90 }, { name='time', arg='%m', max=12, bg_colour=0xffffff, bg_alpha=0.1, fg_colour=0xFF6600, fg_alpha=1, x=100, y=150, radius=76, thickness=5, start_angle=-90, end_angle=90 } } -- Use these settings to define the origin and extent of your clock. clock_r=65 -- "clock_x" and "clock_y" are the coordinates of the centre of the clock, in pixels, from the top left of the Conky window. clock_x=100 clock_y=150 show_seconds=true require 'cairo' function rgb_to_r_g_b(colour,alpha) return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha end function draw_ring(cr,t,pt) local w,h=conky_window.width,conky_window.height local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle'] local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha'] local angle_0=sa*(2*math.pi/360)-math.pi/2 local angle_f=ea*(2*math.pi/360)-math.pi/2 local t_arc=t*(angle_f-angle_0) -- Draw background ring cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f) cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga)) cairo_set_line_width(cr,ring_w) cairo_stroke(cr) -- Draw indicator ring cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc) cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga)) cairo_stroke(cr) end function draw_clock_hands(cr,xc,yc) local secs,mins,hours,secs_arc,mins_arc,hours_arc local xh,yh,xm,ym,xs,ys secs=os.date("%S") mins=os.date("%M") hours=os.date("%I") secs_arc=(2*math.pi/60)*secs mins_arc=(2*math.pi/60)*mins+secs_arc/60 hours_arc=(2*math.pi/12)*hours+mins_arc/12 -- Draw hour hand xh=xc+0.7*clock_r*math.sin(hours_arc) yh=yc-0.7*clock_r*math.cos(hours_arc) cairo_move_to(cr,xc,yc) cairo_line_to(cr,xh,yh) cairo_set_line_cap(cr,CAIRO_LINE_CAP_ROUND) cairo_set_line_width(cr,5) cairo_set_source_rgba(cr,1.0,1.0,1.0,1.0) cairo_stroke(cr) -- Draw minute hand xm=xc+clock_r*math.sin(mins_arc) ym=yc-clock_r*math.cos(mins_arc) cairo_move_to(cr,xc,yc) cairo_line_to(cr,xm,ym) cairo_set_line_width(cr,3) cairo_stroke(cr) -- Draw seconds hand if show_seconds then xs=xc+clock_r*math.sin(secs_arc) ys=yc-clock_r*math.cos(secs_arc) cairo_move_to(cr,xc,yc) cairo_line_to(cr,xs,ys) cairo_set_line_width(cr,1) cairo_stroke(cr) end end function conky_clock_rings() local function setup_rings(cr,pt) local str='' local value=0 str=string.format('${%s %s}',pt['name'],pt['arg']) str=conky_parse(str) value=tonumber(str) pct=value/pt['max'] draw_ring(cr,pct,pt) end -- Check that Conky has been running for at least 5s if conky_window==nil then return end local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height) local cr=cairo_create(cs) local updates=conky_parse('${updates}') update_num=tonumber(updates) if update_num>5 then for i in pairs(settings_table) do setup_rings(cr,settings_table[i]) end end draw_clock_hands(cr,clock_x,clock_y) end
- 03-19-2011 #5
Simple No Nonsense white conky on IBM T23 Laptop
screenshot.jpg
Code:# 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 # stuff after 'TEXT' will be formatted on screen ##TEXT background yes use_xft yes xftfont Sans:size=8 xftalpha 1 update_interval 1.0 total_run_times 0 own_window yes own_window_transparent yes own_window_type desktop own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager double_buffer yes minimum_size 200 200 maximum_width 200 draw_shades yes draw_outline no draw_borders no draw_graph_borders yes default_color white default_shade_color black default_outline_color white #alignment top_right alignment top_left gap_x 12 gap_y 12 no_buffers yes uppercase no cpu_avg_samples 2 override_utf8_locale no TEXT BIKER ${font sans-serif:bold:size=8}SYSTEM ${hr 2} ${font sans-serif:normal:size=8}$sysname $kernel $alignr $machine Host:$alignr$nodename Uptime:$alignr$uptime File System: $alignr${fs_type} Battery: ${battery_bar 8,44 BAT0} TEMP: ${acpitemp}c ${font sans-serif:bold:size=8}PROCESSORS ${hr 2} ${font sans-serif:normal:size=8}${cpugraph cpu1} CPU1: ${cpu cpu1}% ${cpubar cpu1} ${font sans-serif:bold:size=8}MEMORY ${hr 2} ${font sans-serif:normal:size=8}RAM $alignc $mem / $memmax $alignr $memperc% $membar ${font sans-serif:bold:size=8}DISKS ${hr 2} ${font sans-serif:normal:size=8}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}% ${fs_bar /} ${font sans-serif:normal:size=8}/home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_used_perc /home}% ${fs_bar /home} SWAP $alignc ${swap} / ${swapmax} $alignr ${swapperc}% ${swapbar} ${font sans-serif:bold:size=8}TOP PROCESSES ${hr 2} ${font sans-serif:normal:size=8}${top_mem name 1}${alignr}${top mem 1} % ${top_mem name 2}${alignr}${top mem 2} % $font${top_mem name 3}${alignr}${top mem 3} % $font${top_mem name 4}${alignr}${top mem 4} % $font${top_mem name 5}${alignr}${top mem 5} % ${font sans-serif:bold:size=8}NETWORK ${hr 2} ${font sans-serif:normal:size=8}IP address: $alignr ${addr wlan0} ESSID: $alignr ${wireless_essid wlan0} Connection quality: $alignr ${wireless_link_qual_perc wlan0}% ${downspeedgraph wlan0} DLS:${downspeed ath0} kb/s $alignr total: ${totaldown wlan0} ${upspeedgraph wlan0} ULS:${upspeed wlan0} kb/s $alignr total: ${totalup wlan0}Linux Registered User # 475019
Lead,Follow, or get the heck out of the way
AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
Open CourseWare for Linux Geeks
- 05-27-2011 #6
Simple conky.rc on my newly acquired Amrel RT 786 Laptop running AntiX i686 core with LXDE Desktop. This is a fanless Military Grade Tough Book with a 1.6 ghz pentium m, 512MB ram, 30 gig IDE drive, wireless,dual Batteries. Quick swap drive bays (cdrom,cdrw,floppy,hardrive caddies).
Conky (Biker)_001.jpgCode:~$ inxi -Fr System: Host Biker Kernel 2.6.38-7.dmz.1-liquorix-686 i686 (32 bit) Desktop LXDE (Openbox 3.4.11.1) Distro antiX-core-686-a1 20 June 2010 CPU: Single core Intel Pentium M (-UP-) cache 2048 KB flags (sse sse2) bmips 3189.67 clocked at 1594.835 MHz Graphics: Card: Intel 82852/855GM Integrated Graphics Device bus-ID: 00:02.0 X.Org 1.10.1 driver intel (loaded) Resolution 1024x768@60.0hz GLX Renderer Mesa DRI Intel 852GM/855GM x86/MMX/SSE2 GLX Version 1.3 Mesa 7.10.2 Direct Rendering Yes Audio: Card Intel 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller driver Intel ICH ports 1c00 18c0 bus-ID: 00:1f.5 Sound: Advanced Linux Sound Architecture Version 1.0.23 Network: Card-1 Realtek RTL-8139/8139C/8139C+ driver 8139too v: 0.9.28 port 2000 bus-ID: 02:09.0 IF: eth1 state: down speed: N/A duplex: N/A mac: 00:e0:4d:77:2c:76 Card-2 Atheros Atheros AR5001X+ Wireless Network Adapter driver ath5k bus-ID: 03:00.0 IF: wlan0 state: up mac: 00:0b:a2:1c:eb:8f Disks: HDD Total Size: 30.0GB (8.8% used) 1: /dev/sda IC25N030ATCS04 30.0GB Partition: ID:/ size: 17G used: 2.4G (15%) fs: ext3 ID:swap-1 size: 0.58GB used: 0.00GB (0%) fs: swap Sensors: System Temperatures: cpu: 42.0C mobo: N/A Fan Speeds (in rpm): cpu: N/A Repos: Active apt sources in file: /etc/apt/sources.list deb http://ftp.us.debian.org/debian/ testing main contrib non-free deb http://security.debian.org/ testing/updates main contrib non-free deb http://www.debian-multimedia.org testing main non-free deb http://apt.progchild.de stable main deb http://liquorix.net/debian/ sid main deb http://ftp.belnet.be/mirror/liquorix.net/debian sid main Info: Processes 82 Uptime 2:32 Memory 154.7/492.4MB Runlevel 5 Client Shell inxi 1.5.6

Uploaded with ImageShack.us
Code:# 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 gentium:size=10 own_window_transparent yes own_window_colour hotpink own_window_type desktop # Create own window instead of using desktop (required in nautilus, pcmanfm and rox desktops) own_window yes # Text alpha when using Xft xftalpha 0.8 #on_bottom no # mail spool mail_spool $MAIL # Update interval in seconds update_interval 1 # Use double buffering (reduces flicker, may not work for everyone) double_buffer yes # Minimum size of text area minimum_size 5 5 maximum_width 200 # Draw shades? draw_shades no # Draw outlines? draw_outline no # Draw borders around text draw_borders no # Stippled borders? stippled_borders 0 # border margins #border_margin 10 # border width border_width 2 # 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 #alignment top_right #alignment bottom_left #alignment bottom_right # Gap between borders of screen and text gap_x 10 gap_y 59 # 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}battery:${color} ${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 ${color}antiX-core ${color}$sysname $kernel ${color}Uptime: $uptime ${color}${time %a %d %b %k:%M} ${color}Monitors: ${color}cpu: ${color}${cpu}% ${color}ram : ${color}$mem${color}/${color}$memmax ${color}- ${color}$memperc% ${color}swap: ${color}$swap${color}/${color}$swapmax ${color}- ${color}$swapperc% ${color}processes: ${color}$processes ${color}running: ${color}$running_processes ${color}link strength: ${color} ${wireless_link_bar 7,50 wlan0} ${color}Space: ${color}Root:${color} ${fs_free /} ${color}= ${fs_free_perc /}% ${color}/data:${color} ${fs_free /mnt/sda1} ${color}= ${fs_free_perc /mnt/sda1}% ${color}Bat 1: ${battery_percent BAT1}% ${color}Bat 2: ${battery_percent BAT2}% ${color}Temp: ${color} ${hwmon 0 temp 1}CLast edited by rokytnji; 05-27-2011 at 01:38 AM.
Linux Registered User # 475019
Lead,Follow, or get the heck out of the way
AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
Open CourseWare for Linux Geeks
- 05-28-2011 #7
Nice!
You always find the hottest chics Roky, my wife would skin me alive if I tried that.
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 05-28-2011 #8
Yeah, it came up.
LOL.

My wife asked. " Who's that chick!"
I replied. " Take it easy. I'm trying to read the tattoo on her arm and I like the bike and shop".
Misdirection works really good on my lil green-eyed redhead who knows that I love her still.
Linux Registered User # 475019
Lead,Follow, or get the heck out of the way
AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
Open CourseWare for Linux Geeks
- 10-29-2011 #9
OOOOOPs
Too many beers so I had to delete this in screenshot thread. Meant to post this here.

Code:# .conkyrc ############################################## background yes use_xft yes xftfont sans:size=9 xftalpha 1 update_interval 1.0 total_run_times 0 own_window yes own_window_transparent yes own_window_type desktop own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager double_buffer yes minimum_size 250 maximum_width 250 draw_shades no draw_outline no draw_borders no draw_graph_borders no default_color 90c9fb default_shade_color 000000 default_outline_color d9d7d6 alignment top_right gap_x 15 gap_y 37 no_buffers yes uppercase no cpu_avg_samples 2 override_utf8_locale no ############################################## # Output ############################################## TEXT _____ ${font sans:bold:size=9}up ${color #11a9c8}${font sans:size=9}${alignr}$uptime${color #90c9fb} |_____ ${font sans:bold:size=9}temp ${color #11a9c8}${font sans:size=9}${alignr}$acpitemp C${color #90c9fb} |_____ ${font sans:bold:size=9}cpu ${color #11a9c8}${font sans:size=9}${alignr}${cpu cpu0} %${color #90c9fb} |_____ ${font sans:bold:size=9}Up:${upspeed eth0} - Down:${downspeed eth0} |____${font sans:bold:size=9}ram ${font sans:size=9}$memperc % $membar ${color #11a9c8} |____$sysname $kernel |___ ${top_mem name 1}$alignr${top_mem mem 1} % |___ ${top_mem name 2}$alignr${top_mem mem 2} % |___ ${top_mem name 3}$alignr${top_mem mem 3} % |___ ${top_mem name 4}$alignr${top_mem mem 4} % |___ ${top_mem name 5}$alignr${top_mem mem 5} % |___ ${top_mem name 6}$alignr${top_mem mem 6} % |___ ${top_mem name 7}$alignr${top_mem mem 7} % |____${color}${font Swift:size=20}${color}BIKER$font |____${color}${time %a %d %b %l:%M:%S%p} |____${color 11a9c8}/root:${color 11a9c8} ${fs_free /} ${color 11a9c8}= ${fs_free_perc /}%Linux Registered User # 475019
Lead,Follow, or get the heck out of the way
AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
Open CourseWare for Linux Geeks
- 11-01-2011 #10
Been trying out CrunchBang and have modified the conky. This is what I have come up with...
Code:# conky 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. # # For ideas about how to modify conky, please see: # http://crunchbanglinux.org/forums/topic/59/my-conky-config/ # # For help with conky, please see: # http://crunchbanglinux.org/forums/topic/2047/conky-help/ # # Enjoy! :) ############################################## # Settings ############################################## background yes use_xft yes xftfont sans:size=9 xftalpha 1 update_interval 1.0 total_run_times 0 own_window yes own_window_transparent yes own_window_type desktop own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager double_buffer yes minimum_size 200 200 maximum_width 240 draw_shades no draw_outline no draw_borders no draw_graph_borders yes default_color d8d8d8 default_shade_color 000000 default_outline_color d9d7d6 alignment top_right gap_x 12 gap_y 24 no_buffers yes uppercase no cpu_avg_samples 2 override_utf8_locale no ############################################## # Output ############################################## TEXT S Y S T E M I N F O ${hr} Host:$alignr$nodename Uptime:$alignr$uptime RAM:$alignr$mem/$memmax Swap usage:$alignr$swap/$swapmax Disk usage:$alignr${fs_used /}/${fs_size /} C P U ${hr} Usage:$alignr${cpu cpu0}% Temp:$alignr${acpitemp}${iconv_start UTF-8 ISO_8859-1}°${iconv_stop} Load:${alignr}${loadavg} Frequency:$alignr${freq}MHz $cpubar W I R E L E S S ${hr} Signal:${alignr}${wireless_link_qual wlan0} / $color${wireless_link_qual_max wlan0} Down:${alignr}${downspeed wlan0} k/s Up:${alignr}${upspeed wlan0} k/s ${downspeedgraph wlan0 25,120 000000 ff0000} ${alignr}${upspeedgraph wlan0 25,120 000000 00ff00}$color Total: ${totaldown wlan0} ${alignr}Total: ${totalup wlan0} S H O R T C U T K E Y S ${hr} Alt+F2$alignr Run Dialog Alt+F3$alignr Alt Menu Super+Space$alignr Main Menu Super+Tab$alignr Client Menu Super+t$alignr Terminal Super+f$alignr File Manager Super+e$alignr Editor Super+m$alignr Media Player Super+w$alignr Web Browser Super+l$alignr Lock Screen Super+v$alignr Volume Control Super+x$alignr Logout PrtSc$alignr Screenshot
If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.


1Likes
Reply With Quote
