LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Member Desktop Screenshots (https://www.linuxquestions.org/questions/linux-member-desktop-screenshots-94/)
-   -   The conky-ness thread! (https://www.linuxquestions.org/questions/linux-member-desktop-screenshots-94/the-conky-ness-thread-883862/)

corp769 06-01-2011 12:21 AM

The conky-ness thread!
 
3 Attachment(s)
Hello all!

Since we have a new sub-forum dedicated to screenshots, I figured I would create a new thread for bad@$$ conky-based screenshots. I really admire the use of conky, as you can do so much with it. To start, I have included a few shots of my laptop with multiple instances of conky running.

Cheers,

Josh

SkyEye 06-01-2011 01:13 AM

1 Attachment(s)
Something I've used a while ago.

Attachment 7192

corp769 06-01-2011 01:14 AM

Quote:

Originally Posted by SkyEye (Post 4372698)
Something I've used a while ago.

Attachment 7192

Oh cool, I really like that!

DJRcomputing 06-01-2011 03:29 AM

Quote:

Originally Posted by corp769 (Post 4372659)
...I figured I would create a new thread for bad@$$ conky-based screenshots.

*conks you over the head* You're such a dork. Still using that same, tired ol' wallpaper, I see, even though someone sent you some fresh material. :p

Back OT, though... Yeah, conky's cool. I swear everyone uses it, and those who don't should. Y'know, so they can be :cool: like Josh (corp769). LOL!

http://conky.sourceforge.net/

corp769 06-01-2011 08:16 AM

Quote:

Originally Posted by DJRcomputing (Post 4372806)
*conks you over the head* You're such a dork. Still using that same, tired ol' wallpaper, I see, even though someone sent you some fresh material. :p

Back OT, though... Yeah, conky's cool. I swear everyone uses it, and those who don't should. Y'know, so they can be :cool: like Josh (corp769). LOL!

http://conky.sourceforge.net/

You know I'm deploying today. Do you think I have the time to do that yet? NO! Give it a few days :p

silent 09-23-2011 10:38 AM

Great shots you've got there.
I also run conky even if i limit it to only one instance and use another term to tail -f /var/log/messages
Great work and keep on!

gutterslob 09-23-2011 12:05 PM

Mine is extremely simplistic. Just a bar on top with a single line of info.
Don't really need much more on a netbook.

http://ompldr.org/tYWhkeA.png

corp769 09-23-2011 07:02 PM

Quote:

Originally Posted by gutterslob (Post 4480331)
Mine is extremely simplistic. Just a bar on top with a single line of info.
Don't really need much more on a netbook.

http://ompldr.org/tYWhkeA.png

I noticed that most people prefer simplicity, whereas some, like myself, enjoy going all out. I'm about to redesign some of the code and script on my new alienware, so I should be posting more screenshots in about a week or two.

silent 09-25-2011 02:35 PM

Quote:

Originally Posted by gutterslob (Post 4480331)
Mine is extremely simplistic. Just a bar on top with a single line of info.
Don't really need much more on a netbook.

http://ompldr.org/tYWhkeA.png

That's the spirit! Minimalistic! and k.i.s.s http://en.wikipedia.org/wiki/K.I.S.S

rokytnji 09-25-2011 04:49 PM

Kinda simplistic. This Laptop (old but trusty IBM T23) has a bigger screen than my eeepc 701SD and 900 ,(I run horizontal conkys also). So I run fluxbox,conky,and tint2 on it. Kinda like a fake gnome 3 setup. Tint2 is set to autohide when not in use.

http://i53.tinypic.com/2hz319l.jpg

The conkyrc file

Code:


# 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 250 250
maximum_width 200
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
#default_color FFFF00
#default_color C0C0C0
#default_color F5F5F5
#default_color FF69B4
#default_color black
#default_color grey
#default_color red
#default_color tan2
#default_color dimgrey
#default_color CCCC33
#default_color 800000
#default_color 99FF99
#default_color 99FFFF
default_shade_color black
default_outline_color white
#alignment top_right
alignment top_left
gap_x 12
gap_y 80
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no

TEXT
${font sans-serif:bold:size=8}LINUX BIKER
${font sans-serif:bold:size=8}SYSTEM ${hr 2}
${font sans-serif:normal:size=8}$sysname $kernel $alignr $machine
Host:$alignr$nodename
Time: ${time %a %d %b %l:%M:%S%p}
Uptime:$alignr$uptime
File System: $alignr${fs_type}
Weather: ${execi 300 /home/harry/.weather.sh 79772}
Battery: ${battery_bar 8,44 BAT0} ${execi 1 /home/harry/.battery.sh}
LAPPY 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}
${color}link strength: ${color} ${wireless_link_bar 7,50 wlan0}
#${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 wlan0} kb/s $alignr total: ${totaldown wlan0}
${upspeedgraph wlan0}
ULS:${upspeed wlan0} kb/s $alignr total: ${totalup wlan0}



tintrc if anybody wants it. Under applications add your own or comment out mine.

Code:

#---------------------------------------------
# TINT2 CONFIG FILE mouseover
#---------------------------------------------

#---------------------------------------------
# BACKGROUND AND BORDER
#---------------------------------------------
#1 panel background
rounded = 7
border_width = 1
#background_color = #002050 00
background_color = #000510 70
#background_color = #404040 20
border_color = #ffffff 18

#2 active window
rounded = 5
border_width = 1
background_color = #ffffff 18
border_color = #ffff00 100

#3 normal window
rounded = 5
border_width = 2
background_color = #ffffff 18
border_color = #ffffff 0

#4 urgent window
rounded = 5
border_width = 0
background_color = #ba5d00 100
border_color = #ffffff 50

#5 systray
rounded = 2
border_width = 0
background_color = #000000 0
border_color = #ffffff 40

#6 hovered window
rounded = 5
border_width = 1
background_color = #ffffff 18
border_color = #ffffff 100

#7 hovered active window
rounded = 5
border_width = 1
background_color = #ffffff 18
border_color = #aaaa55 100

#8 hovered urgent window
rounded = 5
border_width = 1
background_color = #ba5d00 100
border_color = #ffffff 100

#9 tooltip background
rounded = 7
border_width = 1
background_color = #000000 0
border_color = #ffffff 18

#---------------------------------------------
# PANEL
#---------------------------------------------
panel_items = CSTL
panel_monitor = all
panel_position = bottom right vertical
#panel_position = bottom right horizontal
panel_size = 100% 152
panel_margin = 0 0
panel_padding = 5 0
font_shadow = 0
panel_background_id = 1
wm_menu = 1
panel_dock = 0
strut_policy = follow_size
#strut_policy = none
panel_layer = top

#---------------------------------------------
# TASKBAR
#---------------------------------------------
taskbar_mode = multi_desktop
taskbar_padding = 2 3 2
taskbar_background_id = 0

taskbar_name = 1
taskbar_name_padding = 6 3
taskbar_name_font = Liberation Sans 8
taskbar_name_font_color = #ffffff 100
taskbar_name_active_font_color = #ffffff 100
taskbar_name_background_id = 0
taskbar_name_active_background_id = 0


#---------------------------------------------
# TASKS
#---------------------------------------------
task_icon = 1
task_text = 1
task_maximum_size = 140 35
task_centered = 1
task_padding = 6 3
task_font = Liberation Sans 8
task_font_color = #ffffff 100
task_background_id = 3
task_icon_asb = 100 0 0
# replace STATUS by 'urgent', 'active' or 'iconfied'
#task_STATUS_background_id = 2
#task_STATUS_font_color = #ffffff 85
#task_STATUS_icon_asb = 100 0 0
# example:
task_active_background_id = 2
task_urgent_background_id = 4
# use STATUShovered for mouseover effects
task_normalhovered_background_id = 6
task_activehovered_background_id = 7
task_urgenthovered_background_id = 8
urgent_nb_of_blink = 100000

#---------------------------------------------
# SYSTRAYBAR
#---------------------------------------------
systray = 1
systray_padding = 4 4 4
systray_background_id = 5
systray_sort = left2right
# maximum icon size
systray_icon_size = 28
systray_icon_asb = 100 0 0

#---------------------------------------------
# APPLICATION LAUNCHER
#---------------------------------------------
launcher_padding = 2 4 2
launcher_background_id = 5
# Icon size
launcher_icon_size = 32

# Each launcher_item_app must be a full path to a .desktop file
launcher_item_app = /usr/share/applications/iceape-mailnews.desktop
launcher_item_app = /usr/share/applications/iceape-navigator.desktop
launcher_item_app = /usr/share/applications/geany.desktop
launcher_item_app = /usr/share/applications/gimp.desktop
launcher_item_app = /usr/share/applications/gxine.desktop
launcher_item_app = /usr/share/applications/gksu.desktop
launcher_item_app = /usr/share/applications/roxterm.desktop
launcher_item_app = /usr/share/applications/Thunar.desktop
launcher_item_app = /usr/share/applications/rox-filer.desktop



#---------------------------------------------
# CLOCK
#---------------------------------------------
time1_format = %H:%M
time1_font = sans bold 9
time2_format = %A %d %B
time2_font = Liberation Sans 8
clock_font_color = #ffffff 90
clock_padding = 1 0
clock_background_id = 0
clock_lclick_command = korganizer
clock_rclick_command = zenity --calendar --text ""
clock_tooltip = %A %0d %B %Y %nWeek %W
#time1_timezone = :US/Hawaii
#time2_timezone = :Europe/Berlin
#clock_tooltip_timezone = :/usr/share/zoneinfo/Europe/Paris

#---------------------------------------------
# BATTERY
#---------------------------------------------
#battery = 0
#battery_hide = 80
#battery_low_status = 10
#battery_low_cmd = notify-send -u critical -t 1000000 -i battery-caution "Low battery" "Level: 10%"
#bat1_font = sans 8
#bat2_font = sans 6
#battery_font_color = #ffaa00 100
#battery_padding = 1 0
#battery_background_id = 0

#---------------------------------------------
# TOOLTIP
#---------------------------------------------
tooltip = 1
tooltip_padding = 2 2
tooltip_show_timeout = 0.3
tooltip_hide_timeout = 0.1
tooltip_background_id = 9
tooltip_font_color = #ffffcc 100
tooltip_font = Sans 8

#---------------------------------------------
# MOUSE ACTION ON TASK
#---------------------------------------------
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify

#---------------------------------------------
# AUTOHIDE OPTIONS
#---------------------------------------------
autohide = 1
autohide_show_timeout = 0.1
autohide_hide_timeout = 0.1
autohide_height = 2

A Horizontal conkyrc I run

Code:

#avoid flicker
double_buffer yes

#own window to run simultanious 2 or more conkys
own_window  yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorate,sticky,skip_taskbar,skip_pager

#borders



#shades
draw_shades no

#position
gap_x 0
gap_y 4
alignment top_left

#behaviour
update_interval 1

#colour
default_color  green yellow
#default_shade_color 000000
own_window_colour 262729

#font
use_xft yes
xftfont sans:size=8

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

#to prevent window from moving
use_spacer none
minimum_size 1024 0

#mpd
#mpd_host localhost
#mpd_port 6600

TEXT
Date: ${color e0e0e0}${time %d/%m/%y} ${color} Time: ${color e0e0e0}${time %H:%M}${color}  |  Kernel: ${color e0e0e0}$kernel${color}  |  Cpu: ${color e0e0e0}${cpu}%${color}  Ram: ${color e0e0e0} $memperc% ${color} Swap: ${color e0e0e0} $swapperc% ${color} Disk: ${color e0e0e0}${fs_used_perc /}%${color} Home: ${color e0e0e0}${fs_used_perc /home}%${color}  |  Cpu: ${color e0e0e0}${acpitemp}°C${color}  | Signal: ${wireless_link_bar 7,50 wlan0} | ${color}Batt: ${color}$acpiacadapter, ${battery_percent BAT0}% ${execi 300 /home/harry/.battery.sh}

$memmax  ${execi 300 /home/harry/.weather.sh 79772}

~/.battery.sh (I have acpi and apm and acpi-tools installed. I have no /proc/acpi/battery folder. So I grab battery info from /sys/class/power_supply

Code:

#!/usr/bin/env python

import os, math
from decimal import *

rate = 0.0
batteries = os.listdir("/sys/class/power_supply")
output = "No Data"

for battery in batteries:
    if "BAT" in battery:
        status = open("/sys/class/power_supply/%s/status" % (battery)).read().strip("\n")
        if "Discharging" in status:
            energy = Decimal(open("/sys/class/power_supply/%s/energy_now" % (battery)).read())
            power = Decimal(open("/sys/class/power_supply/%s/power_now" % (battery)).read())
            if power > 0:
                hours = math.floor(energy / power)
                minutes = math.floor(((energy % power) / power) * 60)
                output = "%.0f hours %.0f minutes" % (hours, minutes)
            else:
                output = "Gathering"
        else:
            output = status
print output

~/.weather.sh ,(needs curl and perl installed)

Code:

#!/bin/sh
#AccuWeather (r) RSS weather tool for conky
#
#USAGE: weather.sh <locationcode>
#
#(c) Michael Seiler 2007

METRIC=0 #Should be 0 or 1; 0 for F, 1 for C

if [ -z $1 ]; then
    echo
    echo "USAGE: weather.sh <79772>"
    echo
    exit 0;
fi

curl -s http://rss.accuweather.com/rss/liveweather_rss.asp\?metric\=${METRIC}\&locCode\=$1 | perl -ne 'if (/Currently/) {chomp;/\<title\>Currently: (.*)?\<\/title\>/; print "$1"; }'

Attachment 8078

rokytnji 09-29-2011 03:43 PM

Puppy 520 with JWM with wbar

Attachment 8082

Code:

#  acpifan                          ACPI fan state                         

#  acpitemp                          ACPI temperature.                       

#  adt746xcpu                        CPU temperature from therm_adt746x     

#  adt746xfan                        Fan speed from therm_adt746x           

#  battery          (num)          Remaining capacity 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 

#                                    behavior 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 favorite       

#                                    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 no
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 250 250
maximum_width 200
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
#default_color black
#default_color grey
#default_color red
#default_color tan2
#default_color dimgrey
#default_color CCCC33
#default_color 800000
#default_color 99FF99
default_color 99FFFF
default_shade_color black
default_outline_color white
alignment top_right
#alignment top_left
gap_x 12
gap_y 100
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no

TEXT
${font sans-serif:bold:size=8}BIKER PUPPY 520 FULL
${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:  $acpiacadapter, ${battery_percent BAT0}%  ${battery_time 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 /}
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}
${color}link strength: ${color} ${wireless_link_bar 7,50 wlan0}
#${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 wlan0} kb/s $alignr total: ${totaldown wlan0}
${upspeedgraph wlan0}
ULS:${upspeed wlan0} kb/s $alignr total: ${totalup wlan0}

Edit: Changed Desktop and Conky

Attachment 8925

Daedra 09-29-2011 04:55 PM

1 Attachment(s)
Here is mine, pretty plain but I like it.

Juako 10-18-2011 09:21 AM

my conky
 
1 Attachment(s)
Based on one of the classic formats, been customizing it from a few years now.

http://ompldr.org/tYXY2bQ

Code:

background yes
out_to_console no
update_interval 1

own_window yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_colour black
own_window_argb_visual yes
own_window_argb_value 90
own_window_class conkybase
double_buffer yes

alignment top_right
maximum_width 205
gap_y 0
gap_x 0
draw_shades no
draw_graph_borders no

default_color white
color1 b4bdff
color2 ddaa00
color3 grey

use_xft yes
xftalpha 1
xftfont Bitstream Vera Sans Mono:size=8
use_spacer left

top_cpu_separate false
cpu_avg_samples 2
no_buffers no
if_up_strictness link
net_avg_samples 2

# cpu
template0 ${color}cpu\1  ${color1}${freq_g \1}Ghz ${color red}${cpubar cpu\1}
# mem
template1 ${color1}$\1 ${color e89d04}${offset 0}${\1bar}
# top
template2 ${if_match ${top cpu \1} == 0}${color 777777}${else}${color3}${endif}${top name \1} ${top pid \1}${top cpu \1}${top mem \1}
# fs
template3 ${color1}${fs_used \1} ${color1}${offset 0}${color 4e6302}${fs_bar \1}
# red
template4 ${if_up \1}\n\n${color}\1  ${color1}${addr \1}\n${color1}${upspeedgraph \1 36,100 ff0000 0000ff}${offset 5}${downspeedgraph \1 36,100 0000ff ff0000}\n${voffset -46}${color}up${alignr}${color}down\n\n${color1}${upspeedf \1} kb/s${alignr}${downspeedf \1} kb/s$endif
#temps
template5 ${exec\ cut\ -b1,3\ /sys/class/hwmon/hwmon\1/temp\2_\3}
template6 ${color}\1${if_match \2 < \3}${color1}${else}${if_match \2 < \4}${color yellow}${else}${color red}${endif}${endif}\2°
template7 ${color3}\1${tab 22}${color1}${execi 300 vnstat \2 | sed -ne 's/\\([0-9]\\+\\(\\.[0-9]\\+\\) .B\\)/\\1a/\4;s/^.*\3.* \\([0-9].*B\\)a.*$/\\1/p' }

TEXT
$kernel$alignr${color1}$uptime_short ${color}up

${template0 1}
${template0 2}
${template0 3}
${template0 4}
${color}load  ${color1}$cpu %${alignr}${color}avg ${color1}$loadavg

${color}mem  ${template1 mem}
${color}swap  ${template1 swap}
$alignr${color}vm.swappiness $color1${exec sysctl -q vm.swappiness | sed 's/^.* = \(.*\)$/\1/'}

$alignc${template6 mb ${hwmon\ 1\ temp\ 2} ${template5\ 1\ 2\ max} ${template5\ 1\ 2\ crit}} ${template6 cpu ${hwmon\ 1\ temp\ 1} ${template5\ 1\ 1\ max} ${template5\ 1\ 1\ crit}} ${template6 gpu ${hwmon\ 0\ temp\ 1} ${template5\ 0\ 1\ max} ${template5\ 0\ 1\ crit}} ${template6 sda ${hddtemp} 35 45}

$color/    ${template3 /}
$color/home ${template3 /home}

${color}proc              pid  %cpu  %mem
${template2 1}
${template2 2}
${template2 3}
${template2 4}
${template2 5}
${template2 6}
${template2 7}
${template2 8}
${template2 9}${template4 eth0}${template4 wlan0}${template4 ppp0}${template4 usb0}
${template7 Day -q today 1}${tab 38, 0}${template7 Day -q today 2}
${template7 Week -w current 1}${tab 38, 0}${template7 Week -w current 2}
${template7 Month -m \\d039 1}${tab 38, 0}${template7 Month -m \\d039 2}

I start it with this script that takes care of the hwmon directory inside /sys, which sometimes appear as hwmon0 and sometimes as hwmon1, so I tweak some refs in the rc file with sed file before I fire up conky. You might not need this.

Code:

#/bin/bash
sleep 10
conkyrc="/home/me/data/box/themes/conky/conky_base.rc"
for hwmon in /sys/class/hwmon/*; do
        [[ -f "$hwmon/name" && "$(cat $hwmon/name)"=="k10temp" ]] && A=${hwmon: -1}
        (( B=1/(A+1) ))
done

sed -i '/^$alignc${template6/{h;s/^.*\(gpu.*$\)/\1/;s/\(\(hwmon\|template5\)\\\) '$A'/\1 '$B'/g;x;s/\(^.*\)gpu.*$/\1/;s/^.*\(gpu,*$\)/\1/;s/\(\(hwmon\|template5\)\\\) '$B'/\1 '$A'/g;G;s/\n//}' "$conkyrc"

pkill conky
conky -c "$conkyrc"


weirdwolf 11-01-2011 08:44 PM

First let me say, Nice work to all here.
I really like Conky, It can be as wild or mild as you want it to be.
I tend to favor the simplistic, not a lot more to it than when I first had it with DSL 2.2, even though I didn't know I could change it back then (not that I don't consider making it fancier sometimes).

http://oi44.tinypic.com/290r8qt.jpg

Sector11 01-01-2012 02:07 PM

Entitled: Watching the Watchers!

When my machine boots up, like most people I find myself on "A DECK" (desktop 1)
http://thumbnails43.imagebam.com/167...a167365343.jpg

What isn't readily apparent is on "C DECK" (desktop 3) I have three other conkys that only appear there.
http://thumbnails53.imagebam.com/167...e167365354.jpg

So I am back to running MORE conkys. Now I'll have to find some nice ones for "B DECK" (desktop 2)

A B & C Decks names are holdovers from a StarTrek conky I did a while back. Seems to fit - "What flight Deck are you on?" Since I'm usually found zooming around in my SR-11 that looks amazingly like an SR-71.

Ion Silverbolt 01-01-2012 10:58 PM

Conky running on my hp110 netbook.

http://img692.imageshack.us/img692/1...1210475.th.png

weibullguy 01-14-2012 08:19 PM

1 Attachment(s)
After stealing some ideas from Juako's conkyrc.

Roken 01-15-2012 07:45 AM

1 Attachment(s)
I can never pass up the opportunity to show off my conky, so here it is.

Uses a couple of custom scripts (for example, the appointments are pulled from Google Calendar) and the slideshow is a small script to select and scale the image. I've been using this a while, though I tweak it, add to it, and remove from it often.

pyroscope 01-27-2012 06:48 PM

I must admit that I switched to screenlets some time ago, but sill use conky for this...
http://pyroscope.googlecode.com/svn/...y-rtorstat.png

steak1987 04-18-2013 09:12 AM

I couldnt find any other conky threads here, so I'll be posting here. This is my current setup:

http://ompldr.org/taTVzYw

Here is my conky config :

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 Bitstream Vera Sans Mono-9
#xftfont Andale Mono-9
#xftfont Clean-9
#xftfont cubicfive10:pixelsize=10
#xftfont squaredance10:pixelsize=14
#xftfont swf!t_v02:pixelsize=12

# Text alpha when using Xft
xftalpha 0.65

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

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

# Minimum size of text area
minimum_size 230
maximum_width 320

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no # amplifies text

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 0

# border width
border_width 2

# 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 10
gap_y 25

# 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

## IF I WANT TO ADD THE WEATHER BACK IN...
#${color #ffcb48}WEATHER$color ${color #ffcb48}${hr 2}$color
# ${execi 1800 /home/jeff/.conky-weather/weather.sh 02155}
##

## IF I WANT THE HDD TEMPERATURE BACK IN...
# temp:$color ${hddtemp /dev/sda}
##

## IF I WANT BATTERY STATE BACK IN...
#${color #ffcb48}BATTERY STATE$color ${color #ffcb48}${stippled_hr}$color
# $battery (time left: ${battery_time})
##

TEXT

$color
${color #dc0e0e}System ${hr 2}$color
${color white}$nodename $sysname $kernel on $machine
Uptime:$uptime
${color white}${time %A %B %e, %G} ${color #00ff00}${time %I:%M:%S}${time %p} ${time %Z}

${color #dc0e0e}Cpu ${hr 2}$color
${color white}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'}


${color white}Usage:${color green}${cpu}% ${color #DFDFDF}${cpubar}
${color #DFDFDF}${cpugraph} ${color #DFDFDF}
${color white}Processes:${color green} $processes ${color white}Running:${color green} $running_processes ${color white}

${color #dc0e0e}HDD ${hr 2}$color
${color white}used:${color green} ${fs_used_perc /}% ($fs_used/$fs_size) $alignr ${color white}
${color #DFDFDF}${fs_bar 6 /}$color
${color white}disk IO:${color green} $diskio

${color #dc0e0e}RAM ${hr 2}$color
${color white}RAM used:${color green} $memperc% ($mem/$memmax)
${color #DFDFDF}${membar 6}$color
${color white}swap used:${color green} $swapperc% ($swap/$swapmax)
${color #DFDFDF}${swapbar 6}$color

${color #dc0e0e}NETWORKING ${hr 2}$color
${color white}Down: ${color green}${downspeed eth0} k/s ${alignr}${color white}Up:${color green} ${upspeed eth0} k/s
${color #DFDFDF}${downspeedgraph eth0 25,140 FF8200 ff0000} ${alignr}${upspeedgraph eth0
25,140 FF0000 FF9900}$color
${color white}Total: ${color green}${totaldown eth0} ${alignr}${color white}Total:${color green} ${totalup eth0}
${color white}Inbound:${color green} ${tcp_portmon 1 32767 count}
${color white}Outbound:${color green} ${tcp_portmon 32768
61000 count}${alignr}${color white}Total:${color green} ${tcp_portmon 1 65535 count}


${color}Name              PID    CPU%  MEM%
${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color}Mem usage
${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}

I kinda have two questions:

1 - My CPU has been listed twice. How would I change this ?
2 - I would really like a graph showing ram usage, similar to the CPU usage above(as in, something that shows the changes in ram usage over time). How would I go about doing this, preferably in the same colour ?

Sector11 04-18-2013 02:28 PM

WoW!!!! I forgot all about this thread .... I just updated my weather conky when I got an email about steak1987's contribution. That reminded me it's here so here's mine. :D

Weather on the left has nothing below TEXT - just uses two LUA scripts mrpeachy's v9000 weather script and draw-bg.lua (they all use that)
Email Currency exchange on the bottom uses conkyEmail
Conky on the right uses mounted.lua to show when External devices are plugged in and mounted. It can "all" mounted devices but since I have no need to show M|6 or M|7 (dev/sda6, dev/sda7) I just set up the external devices:


and with a couple of external devices plugged in:

Any code available on request ... all of it will be too much for one post.

Sector11 04-18-2013 02:39 PM

CAUTION: See the next post by TobiSGD before using response to Question 1.
Code:

grep 'model name' /proc/cpuinfo|sed -e 's/model name.*: //'|uniq
Quote:

Originally Posted by steak1987 (Post 4934057)
I kinda have two questions:

1 - My CPU has been listed twice. How would I change this ?
2 - I would really like a graph showing ram usage, similar to the CPU usage above(as in, something that shows the changes in ram usage over time). How would I go about doing this, preferably in the same colour ?

1. change your line:
Code:

18 Apr 13 | 16:32:06 ~
        $ cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'
AMD Athlon(tm) II X3 450 Processor
AMD Athlon(tm) II X3 450 Processor
AMD Athlon(tm) II X3 450 Processor
 
 18 Apr 13 | 16:32:10 ~
        $ cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'| uniq
AMD Athlon(tm) II X3 450 Processor
 
 18 Apr 13 | 16:33:23 ~
        $

2. memgraph:
Quote:

memgraph
(height),(width) (gradient colour 1) (gradient colour 2) (scale) (-t) (-l)

Memory usage graph. Uses a logarithmic scale (to see small numbers) when you use the -l switch. Takes the switch '-t' to use a temperature gradient, which makes the gradient values change depending on the amplitude of a particular graph value (try it and see).

TobiSGD 04-18-2013 04:13 PM

Quote:

Originally Posted by Sector11 (Post 4934252)
Code:

cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'| uniq

Using grep with cat is unnecessary and bad style, you can shorten that to
Code:

grep 'model name' /proc/cpuinfo|sed -e 's/model name.*: //'|uniq

Sector11 04-18-2013 05:58 PM

Quote:

Originally Posted by TobiSGD (Post 4934310)
Using grep with cat is unnecessary and bad style, you can shorten that to
Code:

grep 'model name' /proc/cpuinfo|sed -e 's/model name.*: //'|uniq

AWESOME!!!! I didn't know that, I found that line in a conky LUA script just yesterday that's why I used it here ... I'm totally green behind the ears with this kind of stuff ...

Thank you kindly for the input.

I'll edit my previous post ... and conky

steak1987 04-19-2013 09:27 AM

So
Code:

${color white}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'}
Should be:

Code:

${color white}${execi 1000 grep 'model name' /proc/cpuinfo|sed -e 's/model name.*: //'|uniq}
?

I insert memgraph into my conky config :

Code:

${color #dc0e0e}RAM ${hr 2}$color
${color white}RAM used:${color green} $memperc% ($mem/$memmax)
${color #DFDFDF}${membar 6}$color
${color #DFDFDF}${memgraph 6}$color
${color white}swap used:${color green} $swapperc% ($swap/$swapmax)
${color #DFDFDF}${swapbar 6}$color

However, that bar is really small (vertically). How do I increase the vertical height ? I tried google, and stumbled upon this beautiful conky file:

http://dancingpenguinsoflight.com/20...iguring-conky/

http://i.imgur.com/VLNq8go.png

But I cant seem to figure out how to make the memgraph thicker.

Sector11 04-19-2013 12:52 PM

Quote:

Originally Posted by steak1987 (Post 4934765)
So
Code:

${color white}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'}
Should be:

Code:

${color white}${execi 1000 grep 'model name' /proc/cpuinfo|sed -e 's/model name.*: //'|uniq}
?

Yes, that's it.

Quote:

Originally Posted by steak1987 (Post 4934765)
I insert memgraph into my conky config :

Code:

${color #dc0e0e}RAM ${hr 2}$color
${color white}RAM used:${color green} $memperc% ($mem/$memmax)
${color #DFDFDF}${membar 6}$color
${color #DFDFDF}${memgraph 6}$color
${color white}swap used:${color green} $swapperc% ($swap/$swapmax)
${color #DFDFDF}${swapbar 6}$color

However, that bar is really small (vertically). How do I increase the vertical height ? I tried google, and stumbled upon this beautiful conky file:

From: http://conky.sourceforge.net/variables.html
Quote:

memgraph
(height),(width) (gradient colour 1) (gradient colour 2) (scale) (-t) (-l)

Memory usage graph. Uses a logarithmic scale (to see small numbers) when you use the -l switch. Takes the switch '-t' to use a temperature gradient, which makes the gradient values change depending on the amplitude of a particular graph value (try it and see).
so:
Code:

${memgraph 6}
= a height of 6
try something like:
Code:

${memgraph 20,100}
20 high - 100 wide

steak1987 04-20-2013 08:52 AM

Quote:

Originally Posted by Sector11 (Post 4934852)
Yes, that's it.



From: http://conky.sourceforge.net/variables.html


so:
Code:

${memgraph 6}
= a height of 6
try something like:
Code:

${memgraph 20,100}
20 high - 100 wide


Ah, beautiful, it worked perfectly. This is what my conky config looks like now:

http://ompldr.org/vaTVzZA/Screenshot...2023:47:44.png

Which is the way I want it right now.


Here is my updated conky config :

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 Bitstream Vera Sans Mono-9
#xftfont Andale Mono-9
#xftfont Clean-9
#xftfont cubicfive10:pixelsize=10
#xftfont squaredance10:pixelsize=14
#xftfont swf!t_v02:pixelsize=12

# Text alpha when using Xft
xftalpha 0.65

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

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

# Minimum size of text area
minimum_size 230
maximum_width 320

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no # amplifies text

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 0

# border width
border_width 2

# 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 10
gap_y 25

# 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

## IF I WANT TO ADD THE WEATHER BACK IN...
#${color #ffcb48}WEATHER$color ${color #ffcb48}${hr 2}$color
# ${execi 1800 /home/jeff/.conky-weather/weather.sh 02155}
##

## IF I WANT THE HDD TEMPERATURE BACK IN...
# temp:$color ${hddtemp /dev/sda}
##

## IF I WANT BATTERY STATE BACK IN...
#${color #ffcb48}BATTERY STATE$color ${color #ffcb48}${stippled_hr}$color
# $battery (time left: ${battery_time})
##

TEXT

$color
${color #dc0e0e}System ${hr 2}$color
${color white}$nodename $sysname $kernel on $machine
Uptime:$uptime
${color white}${time %A %B %e, %G} ${color #00ff00}${time %I:%M:%S}${time %p} ${time %Z}

${color #dc0e0e}Cpu ${hr 1}$color
${color white}${execi 1000 grep 'model name' /proc/cpuinfo|sed -e 's/model name.*: //'|uniq}


${color white}Usage:${color green}${cpu}% ${color #DFDFDF}${cpubar}
${color #DFDFDF}${cpugraph} ${color #DFDFDF}
${color white}Processes:${color green} $processes ${color white}Running:${color green} $running_processes ${color white}

${color #dc0e0e}HDD ${hr 2}$color
${color white}used:${color green} ${fs_used_perc /}% ($fs_used/$fs_size) $alignr ${color white}
${color #DFDFDF}${fs_bar 6 /}$color
${color white}disk IO:${color green} $diskio

${color #dc0e0e}RAM ${hr 2}$color
${color white}RAM used:${color green} $memperc% ($mem/$memmax)
${color #DFDFDF}${membar 6}$color
${color #DFDFDF}${memgraph 25,320}$color
${color white}swap used:${color green} $swapperc% ($swap/$swapmax)
${color #DFDFDF}${swapbar 6}$color

${color #dc0e0e}NETWORKING ${hr 2}$color
${color white}Down: ${color green}${downspeed eth0} k/s ${alignr}${color white}Up:${color green} ${upspeed eth0} k/s
${color #DFDFDF}${downspeedgraph eth0 25,140 FF8200 ff0000} ${alignr}${upspeedgraph eth0
25,140 FF0000 FF9900}$color
${color white}Total: ${color green}${totaldown eth0} ${alignr}${color white}Total:${color green} ${totalup eth0}
${color white}Inbound:${color green} ${tcp_portmon 1 32767 count}
${color white}Outbound:${color green} ${tcp_portmon 32768
61000 count}${alignr}${color white}Total:${color green} ${tcp_portmon 1 65535 count}


${color}Name              PID    CPU%  MEM%
${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color}Mem usage
${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}


Habitual 04-20-2013 10:07 AM

Quote:

Originally Posted by steak1987 (Post 4934057)
I couldnt find any other conky threads here, so I'll be posting here.

That's a sad commentary considering http://www.linuxquestions.org/questions/tags/conky/

steak1987 04-20-2013 12:35 PM

Quote:

Originally Posted by Habitual (Post 4935312)
That's a sad commentary considering http://www.linuxquestions.org/questions/tags/conky/

Oh, my bad, I tried using the search tool but this thread seemed to be the most relevant, plus I didnt want to hijack other peoples threads.

Randicus Draco Albus 05-17-2013 06:49 AM

1 Attachment(s)
Two Conkies, until I can get an analogue clock working and get ride of the Cairo-clock.
The top portion:
Code:

alignment top_left
background no
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color black
default_shade_color black
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades yes
use_xft yes
xftfont nimbus mono L:size=11
gap_x 20
gap_y 30
minimum_size 5 5
net_avg_samples 2
double_buffer yes
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_transparent yes
own_window_class Conky
own_window_type desktop
own_window_argb_visual yes
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no

TEXT
${font Olde Englishe:size=18}Debian GNU-Linux
$color ${font nimbus mono L:size=13}${execpi 60 DJS=`date +%-d`; cal -h| sed s/"\(^\|[^0-9]\)$DJS"'\b'/'\1${color blue}'"$DJS"'$color'/}

The bottom:
Code:

alignment top_left
background no
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color black
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades yes
use_xft yes
xftfont nimbus mono L:size=11
gap_x 5
gap_y 220
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_class Conky
own_window_type desktop
own_window_argb_visual yes
own_window_argb_value 0
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no

TEXT
$hr
${font Olde Englishe:size=14}$color RAM Usage:$color ${font Nimbus Roman No9 L:size=11}$memperc% ${membar 6}
${font Olde Englishe:size=14}Swap Usage:$color ${font Nimbus Roman No9 L:size=11}$swapperc% ${swapbar 6}
${font Olde Englishe:size=14}CPU Usage:${font Nimbus Roman No9 L:size=11} $cpu% ${cpubar 6}
${font Olde Englishe:size=14}Processes:$color ${font Nimbus Roman No9 L:size=11} $processes  $color ${font Olde Englishe:size=14} Running:$color ${font Nimbus Roman No9 L:size=11} $running_processes
${font Olde Englishe:size=14}File systems: ${font Nimbus Roman No9 L:size=10}/ $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
${font Olde Englishe:size=14}Networking:
${font Nimbus Roman No9 L:size=11}Up:$color ${upspeed eth0} $color Down:$color ${downspeed eth0}
${if_match "${battery}"!="charged" }${font Olde Englishe:size=14}Battery: ${font Nimbus Roman No9 L:size=9}${battery BAT0}${battery_time BAT0} ${battery_bar 6 BAT0}
$hr
$color ${font Nimbus Roman No9 L:size=11}Name              PID  CPU%  MEM%
$color ${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}
$hr


Sector11 05-17-2013 08:22 AM

Quote:

Originally Posted by Randicus Draco Albus (Post 4953076)
Two Conkies, until I can get an analogue clock working and get ride of the Cairo-clock.

I don't understand why you have two conkys? Those plus an analogue clock can fit into one conky.

Some places to start
http://www.webupd8.org/2011/02/try-t...conky-lua.html
http://thepeachyblog.blogspot.com.ar...home-page.html
https://github.com/fxthomas/conky/blob/master/clock.lua

You can even combine them with other things . A Chronograph with weather.
http://t.imgbox.com/adhO1iWg.jpg
Debian SID / OpenBox / tint2 / Compton

or 4 clocks by mrpeachy:
http://t.imgbox.com/aciDGW22.jpg
You can use just one one, or two or three or five or .... and build a full conky under them or put them in the middle of a conky.
The numbers are hours in 24 hour time, suppose I could put the date under GMT (UTC) as well :D

More clocks and my calendar conky:
http://t.imgbox.com/abtLMvKS.jpg

If I have misunderstood that it just a work in progress ... I apologize

Randicus Draco Albus 05-17-2013 06:22 PM

I have two Conkies, because I want the calendar centred. Including it in the main Conky aligns it to the left, and the calendar is too large for my taste if big enough to match the width of the other Conky.

As for the clock. I have tried a couple analogue clocks, but have not been able to get them to display properly. I get text instead of a clock. So it could be considered a work in progress, until I figure it out. Two of your links have given me an idea. Thanks for them. Perhaps the problem is related to lua. I saw a couple things that might solve the problem.

rokytnji 05-17-2013 07:42 PM

Simple Netbook conkyrc. Small screen real estate here (9" screen). acpi has a issue with the Battery and I spent a day investigating trying to get more info but hwmon and /sys were dead ends. This is a one of a kind netbook when it comes to hard ware any ways so I can't expect everything from acpi to work (in other words, I am not sweating the small stuff). Just the nature of the beast on this one. Like I said, simple and to the point.

Code:

$ acpi
Battery 0: Discharging, 69%, rate information unavailable

.conkyrc file
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=11

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 no

# Text alpha when using Xft
xftalpha 0.8

#on_bottom no

# mail spool
mail_spool $MAIL

# Update interval in seconds
update_interval 15

# 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 996600
#default_color cc00ff
#default_color 993300
#default_color cc6633
#default_color ff9900
#default_color grey
#default_color red
#default_color blue
#default_color green
default_color white
#default_color black
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 10

# 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}Biker: AntiX 13
${color}$sysname $kernel
#Kernel:${exec /home/harry/Documents/kernelname}
${color}Uptime: $uptime
${color}${time %a %d %b %k:%M}
Weather:${execi 300 /home/harry/.weather.sh 79772}
${color}Monitors:
${color}Cpu: ${color}${cpu}%
${color}Cpu: ${color}${hwmon 0 temp 1}${color} C
${color}ram : ${color}$mem${color}/${color}$memmax ${color}- ${color}$memperc%
${color}processes: ${color}$processes  ${color}running: ${color}$running_processes
Received rate: ${downspeed wlan0} k/s ${alignr}Upload rate: ${upspeed wlan0} k/s
${color}${downspeedgraph wlan0 20,80 444444 eeeeee} ${alignr}${upspeedgraph wlan0 20,80 444444 eeeeee}$color
Download Total: ${totaldown wlan0} ${alignr}Sent Total: ${totalup wlan0}
${color}link strength: ${color} ${wireless_link_bar 7,50 wlan0}
${color}Bat:${battery BAT1}
#${battery_time BAT1}
${alignr}${battery_bar 6,200 BAT1}
${color}Root:${color} ${fs_free /} ${color}= ${fs_free_perc /}%
${color }${fs_free /}/ ${fs_size /} ${fs_bar /}

weather here in the desert hardly changes. 100+ F is the norm for summer so I just run a simple weather script I borrowed from Arch Linux' You will need curl and perl installed to run s this .sh file. Make sure in properties it is executable

.weather.sh file

Code:

#!/bin/sh
#AccuWeather (r) RSS weather tool for conky
#
#USAGE: weather.sh <locationcode>
#
#(c) Michael Seiler 2007

METRIC=0 #Should be 0 or 1; 0 for F, 1 for C

if [ -z $1 ]; then
    echo
    echo "USAGE: weather.sh <79772>"
    echo
    exit 0;
fi

curl -s http://rss.accuweather.com/rss/liveweather_rss.asp\?metric\=${METRIC}\&locCode\=$1 | perl -ne 'if (/Currently/) {chomp;/\<title\>Currently: (.*)?\<\/title\>/; print "$1"; }'

Source:https://bbs.archlinux.org/viewtopic.php?id=37381

Sector11 05-17-2013 07:43 PM

Quote:

Originally Posted by Randicus Draco Albus (Post 4953398)
I have two Conkies, because I want the calendar centred. Including it in the main Conky aligns it to the left, and the calendar is too large for my taste if big enough to match the width of the other Conky.

As for the clock. I have tried a couple analogue clocks, but have not been able to get them to display properly. I get text instead of a clock. So it could be considered a work in progress, until I figure it out. Two of your links have given me an idea. Thanks for them. Perhaps the problem is related to lua. I saw a couple things that might solve the problem.

Try one of these for your calendar: font used is monofur

Code:

${goto 30}SU MO ${color6}${time %b %Y}${color} FR SA
${goto 30}${color}${execp LAR=`date +%-d`; ncal -bh | sed '2d' | sed -e '1d' -e 's/\<'$LAR'\>/${color6}&${color}/' | sed ':a;N;$!ba;s/\n/\n${goto 30}/g'}


${goto 30}${color}${execp LAR=`date +%-d`; ncal -bh | sed -e '1d' -e 's/\<'$LAR'\>/${color6}&${color}/' | sed ':a;N;$!ba;s/\n/\n${goto 30}/g'}

Top, with two lines, puts the month (short) and year between 'Mo' and 'Fr', using three ${goto xx} commands.
and the bottom one line uses the calendars names and two ${goto xx} commands.

http://t.imgbox.com/adrnBvuw.jpg http://t.imgbox.com/acgxf1RX.jpg

For LUA clocks are you adjusting the rings with the x,y values?

Example:
Code:

-- HOURS
clock_h = {
    {
    name='time',                  arg='%H',                    max_value=12,
    x=110,                        y=80,      -- these set the top, left corner of the "square" the circle is in.
    graph_radius=53,
    graph_thickness=3,
    graph_unit_angle=30,          graph_unit_thickness=30,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.0,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
    txt_radius=34,
    txt_weight=1,                  txt_size=10.0,
    txt_fg_colour=0xFFFFFF,        txt_fg_alpha=0.6,
    graduation_radius=53,
    graduation_thickness=6,        graduation_mark_thickness=2,
    graduation_unit_angle=30,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    },


Randicus Draco Albus 05-23-2013 02:27 AM

I finally got around to playing with it today. My theory of a lua relationship was completely wrong. It looks like my problems were syntax errors when adding them to the Openbox startup.sh, and in one or two instances, placing rc files in the wrong place.:o At least for a couple of the clocks. A couple others still want to display text, instead of a clock.

The good news:
I have managed to get one of the clocks to work.:D

The bad news:
It does not have transparent styles, which is what I want.:cry:

So half way there. It should not be much longer before I have the clock of my dreams.

Sector11 05-23-2013 07:41 AM

Quote:

Originally Posted by Randicus Draco Albus (Post 4957052)
I finally got around to playing with it today. My theory of a lua relationship was completely wrong. It looks like my problems were syntax errors when adding them to the Openbox startup.sh, and in one or two instances, placing rc files in the wrong place.:o At least for a couple of the clocks. A couple others still want to display text, instead of a clock.

The good news:
I have managed to get one of the clocks to work.:D

The bad news:
It does not have transparent styles, which is what I want.:cry:

So half way there. It should not be much longer before I have the clock of my dreams.

If you are running multiple conkys from he OpenBox startup script you can try what I do and as the very last command in that script run a Start/Stop Conky bash script:

Code:

## Start all Conkys after a slight delay
(sleep 2s && ~/bin/ssc.sh) &

exit

You can see a sample of the ssc.sh at Conky PitStop. I use the short version on the bottom of the page.

Transparency - what composite manager are you running? It's important.

Randicus Draco Albus 05-23-2013 08:15 AM

For now I am running multiple Conkies, because it is easier for me to run a clock separately, until I can figure out how to integrate a clock into a single Conky. My first priority is getting a clock I like to display, instead of one or two large letters. It is a combination of what to add, what not to add, where to add it and probably a fount issue. Not being a computer competent, it takes me a while to figure things out. But eventually it will be done. At the moment, I am happy with my progress.

My compositor is Compiz. Has worked fine for everything so far, so unlikely (but not a certainty) a problem.

GlennsPref 07-09-2013 04:33 AM

1 Attachment(s)
How I WILL replace Gkrellm with conky.

Hi, I got tired of gkrellm crashing and sound-scope not working with new systems (worked < 2008)

I've been following a few threads and have come up with something that works, but this is still a WIP.

imagehttps://www.linuxquestions.org/quest...1&d=1373362370

/etc/conky/conky.conf
Code:

# maintain spacing between certain elements
#Author steak1987 https://www.linuxquestions.org/questions/linux-screenshots-94/the-conky-ness-thread-883862/page2.html#post4935275
use_spacer right

# 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 Bitstream Vera Sans Mono-9
#xftfont Andale Mono-9
#xftfont Clean-9
#xftfont cubicfive10:pixelsize=10
#xftfont squaredance10:pixelsize=14
#xftfont swf!t_v02:pixelsize=12

# Text alpha when using Xft
xftalpha 0.65

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

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

# Minimum size of text area
minimum_size 230
maximum_width 320

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no # amplifies text

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
#border_margin 0

# border width
border_width 2

# 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 10
gap_y 25

# 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

## IF I WANT TO ADD THE WEATHER BACK IN...
#${color #ffcb48}WEATHER$color ${color #ffcb48}${hr 2}$color
# ${execi 1800 /home/jeff/.conky-weather/weather.sh 02155}
##

## IF I WANT THE HDD TEMPERATURE BACK IN...
#temp:$color ${hddtemp /dev/sda}
##

## IF I WANT BATTERY STATE BACK IN...
#${color #ffcb48}BATTERY STATE$color ${color #ffcb48}${stippled_hr}$color
# $battery (time left: ${battery_time})
##

TEXT
$color
${color #dc0e0e}System ${hr 2}$color
${color white}$nodename $sysname $kernel on $machine
Uptime:$uptime
${color white}${time %A %B %e, %G} ${color #00ff00}${time %I:%M:%S}${time %p} ${time %Z}
${color #dc0e0e}Cpu ${hr 1}$color
${color white}${execi 6000 grep 'model name' /proc/cpuinfo|sed -e 's/model name.*: //'|uniq}
${color green}GPU Freq ${execi 2000 nvidia-settings -t -q GPUCurrentProcessorClockFreqs} MHz
${color green}GPU Mem Used ${execi 2000 nvidia-settings -t -q UsedDedicatedGPUMemory} Mb
${color green}GPU Fan ${execi 1000 nvidia-settings -t -q  GPUCurrentFanSpeed} %
${color green}GPU Temp ${execi 70 nvidia-settings -t -q GPUCoreTemp} C
${color white}CPU Usage:${color green}${cpu}% ${color #DFDFDF}${cpubar}
${color #DFDFDF}${cpugraph} ${color #DFDFDF}
${color white}Processes:${color green} $processes ${color white}Running:${color green} $running_processes ${color white}
${color #dc0e0e}HDD ${hr 2}$color
${color white}used:${color green} ${fs_used_perc /}% ($fs_used/$fs_size) $alignr ${color white}
${color #DFDFDF}${fs_bar 6 /}$color
${color white}disk IO:${color green} $diskio
${color #dc0e0e}RAM ${hr 2}$color
${color white}RAM used:${color green} $memperc% ($mem/$memmax)
${color #DFDFDF}${membar 6}$color
${color #DFDFDF}${memgraph 25,320}$color
${color white}swap used:${color green} $swapperc% ($swap/$swapmax)
${color #DFDFDF}${swapbar 6}$color
${color #dc0e0e}NETWORKING ${hr 2}$color
${color white}Down: ${color green}${downspeed eth0} k/s ${alignr}${color white}Up:${color green} ${upspeed eth0} k/s
${color #DFDFDF}${downspeedgraph eth0 25,140 FF8200 ff0000} ${alignr}${upspeedgraph eth0
25,140 FF0000 FF9900}$color
${color white}Total: ${color green}${totaldown eth0} ${alignr}${color white}Total:${color green} ${totalup eth0}
${color white}Inbound:${color green} ${tcp_portmon 1 32767 count}
${color white}Outbound:${color green} ${tcp_portmon 32768
61000 count}${alignr}${color white}Total:${color green} ${tcp_portmon 1 65535 count}
${color}Name              PID    CPU%  MEM%
${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color}Mem usage
${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}

I created a script to run at kde start.
ref. https://wiki.archlinux.org/index.php..._configuration
Code:

ln -s /usr/bin/conky ~/.kde4/Autostart/conkylink
I've tried some lua scripting for nvidia graphics card monitoring, it did not work well graphically (maybe not the right fonts), so I feel I've regressed to bold statements.

I got some errors in the gui, like the Gpu speed and Gpu temp.

I'm still learning, and have to read the docs.

brb, Glenn

Quote:

I seem to have lost my sanity. Has anyone found it?
I'm sure it's backed up somewhere!


I expect to add system fans and a weather/surf section. got some good info, working on it... after some rest.

Sector11 07-09-2013 09:50 AM

Quote:

Originally Posted by Randicus Draco Albus (Post 4957219)
For now I am running multiple Conkies, because it is easier for me to run a clock separately, until I can figure out how to integrate a clock into a single Conky. My first priority is getting a clock I like to display, instead of one or two large letters. It is a combination of what to add, what not to add, where to add it and probably a fount issue. Not being a computer competent, it takes me a while to figure things out. But eventually it will be done. At the moment, I am happy with my progress.

My compositor is Compiz. Has worked fine for everything so far, so unlikely (but not a certainty) a problem.

I'm sorry, I never got a notification of this post.

Clocks are not hard to integrate into conky. Are you looking for a LUA clock?
ie: Londonali1010's Air Clock has a semi transparent outer ring that bends nicely with the background.

Sector11 07-09-2013 10:12 AM

Quote:

Originally Posted by GlennsPref (Post 4986825)
I've tried some lua scripting for nvidia graphics card monitoring, it did not work well graphically (maybe not the right fonts), so I feel I've regressed to bold statements.

I got some errors in the gui, like the Gpu speed and Gpu temp.

I'm still learning, and have to read the docs.

brb, Glenn

I'm sure it's backed up somewhere!

I expect to add system fans and a weather/surf section. got some good info, working on it... after some rest.

Install: lm-sensors, hddtemp.

Do you have nvidia-settings installed?

Read this to get started with getting your temperatures and such working: Using Sensors

AMD 8 core - easy ... CPU % usage:
CPU usage for the 8 CPUs
${cpu cpu1}, ${cpu cpu2}, ${cpu cpu3}, ${cpu cpu4}
${cpu cpu5}, ${cpu cpu6}, ${cpu cpu7}, ${cpu cpu8}

and ${cpu cpu0}% to give you the average usage of the 8.

nvidia commands are available in conky:

${nvidia temp}° will give you the CPU temperature - I don't think separate CPU temps are available for Nvidia CPU's.

Quote:

nvidia threshold Nvidia graficcard support for the XNVCtrl library. Each option can be shortened to the least significant part. Temperatures are printed as float, all other values as integer.

threshold - The thresholdtemperature at which the gpu slows down
temp - Gives the gpu current temperature
ambient - Gives current air temperature near GPU case
gpufreq - Gives the current gpu frequency
memfreq - Gives the current mem frequency
imagequality - Which imagequality should be chosen by OpenGL applications
I have an AMD X3:
http://s20.postimg.org/mipnm683t/201...0_Sector11.jpg

GlennsPref 07-09-2013 07:37 PM

Hi, thanks for the quick responce.

Quote:

Install: lm-sensors, hddtemp.

Do you have nvidia-settings installed?
Yes I have these installed.

I'll post again when I have it changed.....

I've only worked on getting the info, not so much about how it looks (yet). So the layout is borrowed at the moment.

Cheers.

Sector11 07-09-2013 08:39 PM

Quote:

Originally Posted by GlennsPref (Post 4987367)
Hi, thanks for the quick responce.

Yes I have these installed.

I'll post again when I have it changed.....

I've only worked on getting the info, not so much about how it looks (yet). So the layout is borrowed at the moment.

Cheers.

I agree totally: info first layout second

OK, did you run
Code:

sudo sensors-detect
answering yes to everything?

If yes what do you get for
Code:

sensors
and if you have inxi installed it will tell you what temp, fan speed, etc is for what piece of equipment.

Code:

09 Jul 13 | 22:36:00 ~
    $ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +30.0°C  (crit = +110.0°C)

k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +29.5°C  (high = +70.0°C)

f71862fg-isa-0a00
Adapter: ISA adapter
+3.3V:        +3.44 V 
in1:          +1.35 V 
in2:          +1.51 V 
in3:          +0.85 V 
in4:          +0.00 V 
in5:          +0.00 V 
in6:          +0.00 V 
3VSB:        +3.41 V 
Vbat:        +2.85 V 
fan1:        2115 RPM
fan2:          0 RPM  ALARM
fan3:          0 RPM  ALARM
temp1:        +39.0°C  (high = +85.0°C, hyst = +81.0°C)
                      (crit = +70.0°C, hyst = +66.0°C)  sensor = transistor
temp2:        +34.0°C  (high = +85.0°C, hyst = +81.0°C)
                      (crit = +100.0°C, hyst = +96.0°C)  sensor = thermistor
temp3:      +127.0°C  (high = +70.0°C, hyst = +68.0°C)  ALARM (CRIT)
                      (crit = +85.0°C, hyst = +83.0°C)  sensor = transistor

 
 09 Jul 13 | 22:36:16 ~
    $ inxi -s
Sensors:  System Temperatures: cpu: 40.0C mobo: 34.0C gpu: 0.0:43C
          Fan Speeds (in rpm): cpu: 2115 fan-2: 0 fan-3: 0
 
 09 Jul 13 | 22:36:24 ~
    $


GlennsPref 07-09-2013 10:12 PM

Quote:

answering yes to everything?
Yes

Quote:

If yes what do you get for
sensors && inxi -s
Code:

glenn@GamesBox:~ » sensors && inxi -s            (10-07 11:02)
k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +16.5°C  (high = +70.0°C)
                      (crit = +90.0°C, hyst = +87.0°C)

fam15h_power-pci-00c4
Adapter: PCI adapter
power1:      50.93 W  (crit = 124.77 W)

it8720-isa-0228
Adapter: ISA adapter
in0:          +0.90 V  (min =  +0.00 V, max =  +4.08 V)
in1:          +1.55 V  (min =  +0.00 V, max =  +4.08 V)
in2:          +3.41 V  (min =  +0.00 V, max =  +4.08 V)
+5V:          +3.06 V  (min =  +0.00 V, max =  +4.08 V)
in4:          +3.06 V  (min =  +0.00 V, max =  +4.08 V)
in5:          +1.17 V  (min =  +0.00 V, max =  +4.08 V)
in6:          +4.08 V  (min =  +0.00 V, max =  +4.08 V)  ALARM
5VSB:        +2.96 V  (min =  +0.00 V, max =  +4.08 V)
Vbat:        +3.31 V 
fan1:        783 RPM  (min =    0 RPM)
fan2:        483 RPM  (min =    0 RPM)
fan3:        1308 RPM  (min =    0 RPM)
fan4:        1256 RPM  (min =    0 RPM)
temp1:        +39.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp2:        +37.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermal diode
temp3:        +28.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = Intel PECI
cpu0_vid:    +0.113 V
intrusion0:  ALARM

Sensors:  System Temperatures: cpu: 39.0C mobo: 37.0C gpu: 54C
          Fan Speeds (in rpm): cpu: 783 fan-2: 483 fan-3: 1308 fan-4: 1256

I'm in the process of researching and editing Conky now.

Glenn

GlennsPref 07-09-2013 11:21 PM

1 Attachment(s)
:scratch:I have one question,

*solved with a reboot* The way I start and stop conky is to rsync it ...
Code:

# Conky system viewer/
rsync -avh /home/glenn/My_system/backup-sys-default/conky.conf /etc/conky/conky.conf
chown root:root /etc/conky/conky.conf
chmod a+rx /etc/conky/conky.conf

When I tried a decreased font size to 6, that changed the window size too, but when I reverted back to 9 font the window stayed small.

Below here is the original post...

I'd like the window slightly larger, both height and width.

Decreasing the font size helps, but The text becomes too small.

Please find attached png image and conky text.
/etc/conky/conky.conf
Code:

use_spacer right

# 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 Bitstream Vera Sans Mono-9
#xftfont Andale Mono-9
#xftfont Clean-9
#xftfont cubicfive10:pixelsize=10
#xftfont squaredance10:pixelsize=14
#xftfont swf!t_v02:pixelsize=12

# Text alpha when using Xft
xftalpha 0.65

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

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

# Minimum size of text area
minimum_size 230
maximum_width 320

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no # amplifies text

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
#border_margin 0

# border width
border_width 2

# 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 10
gap_y 25

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# pad the % outputs to two places, and use short units
short_units yes
pad_percents 2

# stuff after 'TEXT' will be formatted on screen

TEXT
$color
${color #dc0e0e}System ${hr 2}$color
${color white}$nodename $sysname $kernel on $machine
Uptime:$uptime
${color white}${time %A %B %e, %G} ${color #00ff00}${time %I:%M:%S}${time %p} ${time %Z}
${color #dc0e0e}Cpu ${hr 1}$color
${color white}${execi 6000 grep 'model name' /proc/cpuinfo|sed -e 's/model name.*: //'|uniq}
${color green}GPU Freq ${execi 2000 nvidia-settings -t -q GPUCurrentProcessorClockFreqs} MHz
${color green}GPU Mem Used ${execi 2000 nvidia-settings -t -q UsedDedicatedGPUMemory} Mb
${color green}GPU Fan ${execi 1000 nvidia-settings -t -q  GPUCurrentFanSpeed} %
${color green}GPU Temp ${execi 70 nvidia-settings -t -q GPUCoreTemp} C
${color white}CPU Usage:${color green}${cpu}% ${color #DFDFDF}${cpubar}
${color #DFDFDF}${cpugraph} ${color #DFDFDF}
${color white}Processes:${color green} $processes ${color white}Running:${color green} $running_processes ${color white}
${color #dc0e0e}HDD ${hr 2}$color
${color white}used:${color green} ${fs_used_perc /}% ($fs_used/$fs_size) $alignr ${color white}
${color #DFDFDF}${fs_bar 6 /}$color
${color white}disk IO:${color green} $diskio
${color #dc0e0e}RAM ${hr 2}$color
${color white}RAM used:${color green} $memperc% ($mem/$memmax)
${color #DFDFDF}${membar 6}$color
${color #DFDFDF}${memgraph 25,320}$color
${color white}swap used:${color green} $swapperc% ($swap/$swapmax)
${color #DFDFDF}${swapbar 6}$color
${color #dc0e0e}NETWORKING ${hr 2}$color
${color white}Down: ${color green}${downspeed eth0} k/s ${alignr}${color white}Up:${color green} ${upspeed eth0} k/s
${color #DFDFDF}${downspeedgraph eth0 25,140 FF8200 ff0000} ${alignr}${upspeedgraph eth0
25,140 FF0000 FF9900}$color
${color white}Total: ${color green}${totaldown eth0} ${alignr}${color white}Total:${color green} ${totalup eth0}
${color white}Inbound:${color green} ${tcp_portmon 1 32767 count}
${color white}Outbound:${color green} ${tcp_portmon 32768
61000 count}${alignr}${color white}Total:${color green} ${tcp_portmon 1 65535 count}
${color}Name              PID    CPU%  MEM%
${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color}Mem usage
${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}


GlennsPref 07-10-2013 04:17 AM

hardware monitoring
 
1 Attachment(s)
Update.

I now have most of the details and how to get them sorted.

Next is the Surf report, Brisbane area +-500Km, Australia, which I believe I can do standing on the shoulders of others. :-)
But the surf report will probably need to be in another conky, due to space requirements, atm.

/etc/conky/conky.conf
Code:

use_spacer right

# 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 Bitstream Vera Sans Mono-9
#xftfont Andale Mono-9
#xftfont Clean-9
#xftfont cubicfive10:pixelsize=10
#xftfont squaredance10:pixelsize=14
#xftfont swf!t_v02:pixelsize=12

# Text alpha when using Xft
xftalpha 0.65

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

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

# Minimum size of text area
minimum_size 230
maximum_width 320

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no # amplifies text

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
#border_margin 0

# border width
border_width 2

# 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 10
gap_y 25

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# pad the % outputs to two places, and use short units
short_units yes
pad_percents 2

# stuff after 'TEXT' will be formatted on screen
TEXT
${texeci 3600 feh --bg-scale "`grep 'wallpaper=' ~/.kde4/share/config/plasma-appletsrc | tail --bytes=+11`"}
$color
${color #dc0e0e}System ${hr 2}$color
${color white}$nodename $sysname $kernel on $machine
Uptime:$uptime
${color white}${time %A %B %e, %G} ${color #00ff00}${time %I:%M:%S}${time %p} ${time %Z}
${color white}Processes:${color green} $processes ${color white}Running:${color green} $running_processes ${color white}
${color #dc0e0e}Cpu ${hr 1}$color
${color white}CPU Temp:${exec sensors | grep -n 'temp1' | sed -n 1p | awk -F'+' '{print $2}' | awk -F' ' '{print $1}'}
${color white}CPU Usage:${color green}${cpu cpu0}% ${color #DFDFDF}${cpubar}
${color #DFDFDF}${cpugraph} ${color #DFDFDF}
${color #dc0e0e}Graphics ${hr 2}$color
${color white}GPU Freq:${execi 5 nvidia-settings -t -q GPUCurrentProcessorClockFreqs | sed -n 2p}MHz
${color white}GPU Mem Used:${execi 5 nvidia-settings -t -q UsedDedicatedGPUMemory}Mb
${color white}GPU Temp:${execi 5 nvidia-settings -t -q GPUCoreTemp | sed -n 2p}°C
${color #dc0e0e}Cooling ${hr 1}$color
${color cyan}Noctua NH-U12P-se2:${exec sensors | grep -n 'fan1' | awk -F'+' '{print $1}' | awk -F' ' '{print $2}'}rpm
${color cyan}Top Case Fan:${exec sensors | grep -n 'fan2' | awk -F'+' '{print $1}' | awk -F' ' '{print $2}'}rpm
${color cyan}Rear Case Fan:${exec sensors | grep -n 'fan3' | awk -F'+' '{print $1}' | awk -F' ' '{print $2}'}rpm
${color cyan}Front Case Fan:${exec sensors | grep -n 'fan4' | awk -F'+' '{print $1}' | awk -F' ' '{print $2}'}rpm
${color cyan}GPU Fan:${execi 5 nvidia-settings -t -q GPUCurrentFanSpeed}%
${color #dc0e0e}Hdd ${hr 2}$color
${color white}used:${color green} ${fs_used_perc /}% ($fs_used/$fs_size) $alignr ${color white}
${color #DFDFDF}${fs_bar 6 /}$color
${color white}disk IO:${color green} $diskio
${color #dc0e0e}Memory ${hr 2}$color
${color white}RAM used:${color green} $memperc% ($mem/$memmax)
${color #DFDFDF}${membar 6}$color
${color #DFDFDF}${memgraph 25,320}$color
${color white}swap used:${color green} $swapperc% ($swap/$swapmax)
${color #DFDFDF}${swapbar 6}$color
${color #dc0e0e}Networking ${hr 2}$color
${color #dc0e0e}Internet ${hr 2}$color
${color white}Down: ${color green}${downspeed eth0} k/s ${alignr}${color white}Up:${color green} ${upspeed eth0} k/s
${color #DFDFDF}${downspeedgraph eth0 25,140 FF8200 ff0000} ${alignr}${upspeedgraph eth0
25,140 FF0000 FF9900}$color
${color white}Total: ${color green}${totaldown eth0} ${alignr}${color white}Total:${color green} ${totalup eth0}
${color white}Inbound:${color green} ${tcp_portmon 1 32767 count}
${color white}Outbound:${color green} ${tcp_portmon 32768
61000 count}${alignr}${color white}Total:${color green} ${tcp_portmon 1 65535 count}
${color #dc0e0e}Squid ${hr 2}$colors
${color white}Down: ${color green}${downspeed eth1} k/s ${alignr}${color white}Up:${color green} ${upspeed eth1} k/s
${color #DFDFDF}${downspeedgraph eth1 25,140 FF8200 ff0000} ${alignr}${upspeedgraph eth1
25,140 FF0000 FF9900}$color
${color white}Total: ${color green}${totaldown eth1} ${alignr}${color white}Total:${color green} ${totalup eth1}
${color white}Inbound:${color green} ${tcp_portmon 1 32767 count}
${color white}Outbound:${color green} ${tcp_portmon 32768
61000 count}${alignr}${color white}Total:${color green} ${tcp_portmon 1 65535 count}
${color #dc0e0e}Internal lo ${hr 2}$colors
${color white}Down: ${color green}${downspeed lo} k/s ${alignr}${color white}Up:${color green} ${upspeed lo} k/s
${color #DFDFDF}${downspeedgraph lo 25,140 FF8200 ff0000} ${alignr}${upspeedgraph lo
25,140 FF0000 FF9900}$color
${color white}Total: ${color green}${totaldown lo} ${alignr}${color white}Total:${color green} ${totalup lo}
${color white}Inbound:${color green} ${tcp_portmon 1 32767 count}
${color white}Outbound:${color green} ${tcp_portmon 32768
61000 count}${alignr}${color white}Total:${color green} ${tcp_portmon 1 65535 count}
${color}Name              PID    CPU%  MEM%
${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color}Mem usage
${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}

Please see attached png file

Thanks heaps for your tips and other help, ie being on hand!. Thanks heaps!

Regards Glenn

Sector11 07-10-2013 07:16 AM

Quote:

Originally Posted by GlennsPref (Post 4987570)
Update.

I now have most of the details and how to get them sorted.

Next is the Surf report, Brisbane area +-500Km, Australia, which I believe I can do standing on the shoulders of others. :-)
But the surf report will probably need to be in another conky, due to space requirements, atm.

/etc/conky/conky.conf

{snip code}

Please see attached png file

Thanks heaps for your tips and other help, ie being on hand!. Thanks heaps!

Regards Glenn

No problem Glenn, glad to help.

At a loss as to why you are using /etc/conky/conky.conf

That is the "default" conky that comes when you install conky. If you "copy" that to ~/.conkyrc then it's "still" a simple
Code:

conky
to start it. In fact the doc's recommend that.

But if your are going to have multiple conkys best to put them in a folder, ie:
Code:

~/conky/system-conky
~/conky/surf-conky

No need for rsync or permissions, they are in your /home and belong to you
Simple bash start script:
Code:

#!/bin/bash

# sleep 5 &&
conky -c ~/conky/system-conky &
conky -c ~/conky/surf-conky

Or: Start/Stop Conky, a bit more complicated but it starts/stops and restarts conkys.


BTW, your code has:
Code:

# Minimum size of text area
minimum_size 230
maximum_width 320

minimum_size has a height value as well, from one of mine:
Code:

minimum_size 270 920 ## width, height
maximum_width 270 ## width

Now the good/bad news ... I can't remember who it is that has a "script" for surfing conditions for Brisbane, but it's in one of forums I hung out in. I'll put out a call for help and get it for you if I can. I believe it's in conjunction with a weather script as well, but not sure.

GlennsPref 07-10-2013 06:11 PM

Quote:

I can't remember who it is that has a "script" for surfing conditions for Brisbane,
The template I have is from a person in

Perth W.A. I figured I'll adapt that one,

Oh, from here...
http://ubuntuforums.org/showthread.p...4#post12705724

The window size(ing) is not a problem now. Thank you.

I have copied the conky.conf to ~/.conkyrc.
I will creat a .folder for the scripts. ~/.conky/conkyrc
No sweat!
Cheers

Sector11 07-10-2013 06:27 PM

Quote:

Originally Posted by GlennsPref (Post 4988033)
The template I have is from a person in

Perth W.A. I figured I'll adapt that one,

Oh, from here...
http://ubuntuforums.org/showthread.p...4#post12705724

The window size(ing) is not a problem now. Thank you.

I have copied the conky.conf to ~/.conkyrc.
I will creat a .folder for the scripts. ~/.conky/conkyrc
No sweat!
Cheers

CLICK! Yup, that who I was thinking of ... but I couldn't remember. Adapt ... yes, a Linux thing.

Good luck ... maybe a screenshot one day.

Sector11 07-11-2013 09:24 AM

Quote:

Originally Posted by GlennsPref (Post 4988033)
The template I have is from a person in

Perth W.A. I figured I'll adapt that one,

Oh, from here...
http://ubuntuforums.org/showthread.p...4#post12705724

The window size(ing) is not a problem now. Thank you.

I have copied the conky.conf to ~/.conkyrc.
I will creat a .folder for the scripts. ~/.conky/conkyrc
No sweat!
Cheers


Would you like a working version for Brisbane? From the same person, easysid. Wonder what he means by this: Budgie smugglers on and ready for action....;)

GlennsPref 07-11-2013 10:39 PM

3 Attachment(s)
Hi, lol!
Quote:

Wonder what he means by this: Budgie smugglers on and ready for action....
I guess this is an Aussy thing..... Maybe "ready for anything regarding surfing"

Jockey type (bikini bottom) underwear/ swimwear, looks like you are trying to smuggle a Budgie in your pants.

It's a sporting annoyance (makes you try harder) (at a loss for words atm) "derogatory"

aka SLEDGING in cricket, Showing a critical or disrespectful attitude. "derogative - degrading - humiliating - pejorative"

Usually from other surf/non-surf guys in Board Shorts, perhaps too timid to show how much they are "packing".

Back on topic....
I have great news, I got the surf report to work and I'm pretty happy with the data for the system conky.

system
/home/glenn/.conky/system/conky.conf
Code:

background yes

use_xft yes
xftfont Bitstream Vera Sans Mono-9

# Text alpha when using Xft
xftalpha 0.65

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

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

# Minimum size of text area
minimum_size 230
maximum_width 320

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no # amplifies text

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
#border_margin 0

# border width
border_width 2

# Default color and also border color, 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 10
gap_y 25

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# pad the % outputs to two places, and use short units
short_units yes
pad_percents 2

# stuff after 'TEXT' will be formatted on screen
TEXT
${color #dc0e0e}System ${hr 2}$color
${color white}$nodename $sysname $kernel on $machine
Uptime:$uptime
${color white}${time %A %B %e, %G} ${color #00ff00}${time %I:%M:%S}${time %p} ${time %Z}
${color white}Processes:${color green} $processes ${color white}Running:${color green} $running_processes ${color white}
${color #dc0e0e}Cpu ${hr 1}$color
${color white}CPU Temp:${exec sensors | grep -n 'temp1' | sed -n 1p | awk -F'+' '{print $2}' | awk -F' ' '{print $1}'}
${color white}CPU Usage:${color green}${cpu cpu0}% ${color #DFDFDF}${cpubar}
${color #DFDFDF}${cpugraph} ${color #DFDFDF}
${color #dc0e0e}Graphics ${hr 2}$color
${color white}GPU Freq:${execi 5 nvidia-settings -t -q GPUCurrentProcessorClockFreqs | sed -n 2p}MHz
${color white}GPU Mem Used:${execi 5 nvidia-settings -t -q UsedDedicatedGPUMemory}Mb
${color white}GPU Temp:${execi 5 nvidia-settings -t -q GPUCoreTemp | sed -n 2p}°C
${color #dc0e0e}Cooling ${hr 1}$color
${color cyan}Noctua NH-U12P-se2:${exec sensors | grep -n 'fan1' | awk -F'+' '{print $1}' | awk -F' ' '{print $2}'}rpm
${color cyan}Top Case Fan:${exec sensors | grep -n 'fan2' | awk -F'+' '{print $1}' | awk -F' ' '{print $2}'}rpm
${color cyan}Rear Case Fan:${exec sensors | grep -n 'fan3' | awk -F'+' '{print $1}' | awk -F' ' '{print $2}'}rpm
${color cyan}Front Case Fan:${exec sensors | grep -n 'fan4' | awk -F'+' '{print $1}' | awk -F' ' '{print $2}'}rpm
${color cyan}GPU Fan:${execi 5 nvidia-settings -t -q GPUCurrentFanSpeed}%
${color #dc0e0e}Hdd ${hr 2}$color
${color white}used:${color green} ${fs_used_perc /}% ($fs_used/$fs_size) $alignr ${color white}
${color #DFDFDF}${fs_bar 6 /}$color
${color white}disk IO:${color green} $diskio
${color #dc0e0e}Memory ${hr 2}$color
${color white}RAM used:${color green} $memperc% ($mem/$memmax)
${color #DFDFDF}${membar 6}$color
${color #DFDFDF}${memgraph 25,320}$color
${color white}swap used:${color green} $swapperc% ($swap/$swapmax)
${color #DFDFDF}${swapbar 6}$color
${color #dc0e0e}Networking ${hr 2}$color
${color #dc0e0e}Internet ${hr 2}$color
${color white}Down: ${color green}${downspeed eth0} k/s ${alignr}${color white}Up:${color green} ${upspeed eth0} k/s
${color #DFDFDF}${downspeedgraph eth0 25,140 FF8200 ff0000} ${alignr}${upspeedgraph eth0
25,140 FF0000 FF9900}$color
${color white}Total: ${color green}${totaldown eth0} ${alignr}${color white}Total:${color green} ${totalup eth0}
${color white}Inbound:${color green} ${tcp_portmon 1 32767 count}
${color white}Outbound:${color green} ${tcp_portmon 32768
61000 count}${alignr}${color white}Total:${color green} ${tcp_portmon 1 65535 count}
${color #dc0e0e}Squid ${hr 2}$color
${color white}Down: ${color green}${downspeed eth1} k/s ${alignr}${color white}Up:${color green} ${upspeed eth1} k/s
${color #DFDFDF}${downspeedgraph eth1 25,140 FF8200 ff0000} ${alignr}${upspeedgraph eth1
25,140 FF0000 FF9900}$color
${color white}Total: ${color green}${totaldown eth1} ${alignr}${color white}Total:${color green} ${totalup eth1}
${color white}Inbound:${color green} ${tcp_portmon 1 32767 count}
${color white}Outbound:${color green} ${tcp_portmon 32768
61000 count}${alignr}${color white}Total:${color green} ${tcp_portmon 1 65535 count}
${color #dc0e0e}Internal lo ${hr 2}$color
${color white}Down: ${color green}${downspeed lo} k/s ${alignr}${color white}Up:${color green} ${upspeed lo} k/s
${color #DFDFDF}${downspeedgraph lo 25,140 FF8200 ff0000} ${alignr}${upspeedgraph lo
25,140 FF0000 FF9900}$color
${color white}Total: ${color green}${totaldown lo} ${alignr}${color white}Total:${color green} ${totalup lo}
${color white}Inbound:${color green} ${tcp_portmon 1 32767 count}
${color white}Outbound:${color green} ${tcp_portmon 32768
61000 count}${alignr}${color white}Total:${color green} ${tcp_portmon 1 65535 count}
${color #dc0e0e}Top ${hr 1}$color
${color}Name              PID    CPU%  MEM%
${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color}Mem usage
${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}

surf
/home/glenn/.conky/surf/conky.conf
Code:

background no
update_interval 1
total_run_times 0

use_xft yes
xftfont Droid Sans:size=9
xftalpha 1.0
own_window yes
own_window_type normal
own_window_transparent no
own_window_colour ffffff
own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky

double_buffer yes
draw_shades no
draw_outline no
draw_borders no
stippled_borders 10

alignment tl
gap_y 60
gap_x 20

default_shade_color grey
default_outline_color black
default_color 000000
use_spacer none
no_buffers yes
uppercase no
color1 F8DF58

text_buffer_size 512
override_utf8_locale yes

minimum_size 600 260
maximum_width 600

max_specials 1024
max_user_text 4000

imlib_cache_size 0
border_inner_margin 5
border_outer_margin 3
border_width 3

TEXT

${execi 3600 curl --retry 4 "http://www.swellnet.com.au/reports/surfers-paradise/daily" | sed -e :a -e 's/<[^>]*>//g;/</N;//ba' | sed '/^$/d' > ~/.conky/surf/surf.txt}
${execi 3600 ~/.conky/surf/get/wget_seabreeze}
${image ~/.conky/surf/get/.seabreeze.png -p 0,0}
${voffset 230}${font size=12}Surf Report: ${execi 3600 cat ~/.conky/surf/surf.txt | grep -A 1 "Effective from:" | tail -n1}${alignr 10}${execi 3600 cat ~/.conky/surf/surf.txt | grep -A 1 "Rating:" | sed ':a;N;$!ba;s/\n/ /g'}${font}
${voffset -10}${hr 2}
${execi 3600 cat ~/.conky/surf/surf.txt | grep -A 2 "Rating:" | tail -n1 | fold -sw86}

/home/glenn/.conky/surf/get/wget_seabreeze
Code:

#!/bin/bash
wget -O .f1 http://www.seabreeze.com.au/graphs/qld.asp
grep rgg.png .f1>.f2
sed -i 's/"/\n/g' .f2
sed -i 's/?/\n/g' .f2
grep .png .f2>.f3
sed -i "1s/^/http\:\/\/www\.seabreeze\.com\.au/" .f3
i=$(sed -n '1p' .f3)
wget -O ./.seabreeze.png $i

I have a few screen shots...

What I want to do now is get transparency for the system conky, and move the surf conky to my right-hand monitor top-left.

I'm a leftover from win98se, I like some icons close by.

Thank you for your support so far, Regards Glenn


All times are GMT -5. The time now is 08:16 PM.