 |
 |
 |
 |
| Wibble A place to have a sensible chat, about anything non linux related. Please remember that political and religious topics are not permitted. |

11th January 2010, 02:07 PM
|
 |
Registered User
|
|
Join Date: Jan 2010
Location: Russia,Karelia
Posts: 7

|
|
Screenshots your desktop, and conky scripts
Hi all.
I cant find similar thread, but you can remove this if a similar topic exists. This is my desktop:

It is my conky script:
PHP Code:
# THIS CONFIG RELIES ON 2 SCRIPTS, CPUSPEED AND CPUTEMP
# YOUR SYSTEM MAY NOT REQUIRE THEM, REPLACE AS DESIRED
# maintain spacing between certain elements
use_spacer yes
# set to yes if you want conky to be forked in the background
background no
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono-7
#xftfont Andale Mono-9
#xftfont Clean-8
#xftfont cubicfive10:pixelsize=8
#xftfont squaredance10:pixelsize=14
#xftfont swf!t_v02:pixelsize=10
# Text alpha when using Xft
xftalpha 1
mail_spool $MAIL
# Update interval in seconds
update_interval 2.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 280 5
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no # amplifies text
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_margin 9
# border width
border_width 1
# Default colors and also border colors, grey90 == #e5e5e5
default_color grey90
default_shade_color black
default_outline_color DarkGrey
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
gap_x 24
gap_y 24
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# stuff after 'TEXT' will be formatted on screen
TEXT
${color #ff4500} Chubakur desktop :)
${color #ffcb48}$nodename$color ${color #828282}$sysname $kernel on
$machine${color}
${alignr}${color lightgrey}MinutesTotalUP:${color orange}${exec cat /opt/lampp/htdocs/minutes}${color}
${color #ffcb48}PROCESSING${hr 1}${color}
${color #98c2c7}CPU:$color ${execi 5 cpuspeed}MHz $cpu%
${color #98c2c7} CPU1: ${color lightgrey}${cpu cpu1} %
${color #98c2c7} CPU2: ${color lightgrey}${cpu cpu2} %
${color #78af78}$cpubar
${color #78af78}${cpugraph 78af78 a3a3a3}
${color #98c2c7}NAME PID CPU% MEM%
${color #e5e5e5}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color #c4c4c4}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color #a3a3a3}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color #828282}${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color #a3a3a3}${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${color #ffcb48}DATA${hr 1}${color}
${color #98c2c7}RAM:$color $memperc% ${color
#78af78}${membar 6}${color}
${color #98c2c7}Swap:$color $swapperc% ${color
#78af78}${swapbar 6}$color
${color #98c2c7}/:$color ${fs_free_perc /}% $fs_free ${color
#78af78}${fs_bar 6 /}$color
${color #ffcb48}COOLING SYSTEM${hr 1}${color}
${color lightgrey}CPUTemp: ${color orange}${exec head -c 2 /sys/class/hwmon/hwmon0/device/hwmon/hwmon0/temp1_input} °C ${color}
${color lightgrey}MBTemp: ${color orange}${exec head -c 2 /sys/class/hwmon/hwmon0/device/hwmon/hwmon0/temp2_input} °C ${color}
${color lightgrey}FAN1: ${color red}${exec head -c 4 /sys/class/hwmon/hwmon0/device/hwmon/hwmon0/fan1_input} RPM ${color}
${color lightgrey}FAN2: ${color red}${exec head -c 4 /sys/class/hwmon/hwmon0/device/hwmon/hwmon0/fan2_input} RPM ${color}
${color #ffcb48}NETWORK ${hr 1}${color}
${color lightgrey}${alignr}Down ${color orange}${downspeed eth0}${color lightgrey}
${color #78af78}${alignr}${downspeedgraph eth0 25,135}
${color lightgrey}${alignr}TotalDown ${color red}${totaldown eth0}${color}
${color #828282}${hr 1}${color}
${color lightgrey}${alignr}Up ${color orange}${upspeed eth0} ${color lightgrey}
${color #78af78}${alignr}${upspeedgraph eth0 25,135}
${color lightgrey}${alignr}TotalUp ${color red}${totalup eth0}${color}
${alignr}${color lightgray}lo ${color green}${totaldown lo}
${alignr}${color lightgray}WebServer:${color green}${exec cat /opt/lampp/stat}${color}
Sorry for my English.
|

11th January 2010, 03:45 PM
|
 |
Registered User
|
|
Join Date: Mar 2008
Age: 37
Posts: 69

|
|
This is my:
Code:
double_buffer yes
update_interval 3.0
background yes
own_window yes
own_window_class Conky
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar
alignment top_right
cpu_avg_samples 2
default_color green
draw_shades no
draw_outline no
draw_borders yes
font 6x10
gap_x 4
gap_y 30
net_avg_samples 2
uppercase no
use_spacer none
minimum_size 300 5
TEXT
${color green}Uptime:${alignr}${color orange} $uptime
${color green}Kernel version:${alignr}${color orange} ${kernel}
${color green}IP Address (eth0):${alignr}${color orange} ${addr eth0}
${color green}CPU Frequency (in GHz):${alignr}${color orange} $freq_g
${color green}Load averages:${alignr}${color orange} $loadavg
${color green}RAM Usage:${color orange} $mem/$memmax - $memperc% ${color}${membar 4}
${color green}CPU Usage:${color orange} $cpu% ${color}${cpubar 4}
${color green}${cpugraph cpu0 18,320 000000 7f8ed3}
${color yellow}$hr
${color green}Disk usage:${color orange} ${fs_free /}/${fs_size /} ${color}${fs_bar 6 /}
${color yellow}$hr
${color green}Net Down:${color orange} ${downspeed eth0} k/s ${alignr}${color green}Net Up:${color orange} ${upspeed eth0} k/s
${color green}${downspeedgraph eth0 18,155 104E8B 0077ff} $alignr${color green}${upspeedgraph eth0 18,155 104E8B 0077ff}
${color green}TOTAL: ${color orange}${totaldown eth0} ${alignr}${color green}TOTAL: ${color orange}${totalup eth0}
${color yellow}$hr
${color green}Port(s)${alignr}#Connections
${color green}Inbound:${color orange} ${tcp_portmon 1 32767 count} ${color green}Outbound:${color orange} ${tcp_portmon 32768 61000 count}${alignr}${color green}ALL:${color orange} ${tcp_portmon 1 65535 count}
${color yellow}$hr
${color green}CPU usage${alignr}PID CPU% MEM%
${color orange} ${top name 1}${alignr}${top pid 1} ${top cpu 1} ${top mem 1}
${color orange} ${top name 2}${alignr}${top pid 2} ${top cpu 2} ${top mem 2}
${color orange} ${top name 3}${alignr}${top pid 3} ${top cpu 3} ${top mem 3}
${color orange} ${top name 4}${alignr}${top pid 4} ${top cpu 4} ${top mem 4}
${color orange} ${top name 5}${alignr}${top pid 5} ${top cpu 5} ${top mem 5}
${color yellow}$hr
${color green}Mem usage${alignr}PID CPU% MEM%
${color orange} ${top_mem name 1}${alignr}${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color orange} ${top_mem name 2}${alignr}${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color orange} ${top_mem name 3}${alignr}${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color orange} ${top_mem name 4}${alignr}${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
${color orange} ${top_mem name 5}${alignr}${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem 5}
|

12th January 2010, 08:44 AM
|
 |
Retired Again - Administrator
|
|
Join Date: Nov 2007
Location: Reality
Posts: 3,034

|
|
Here's my desktop:
... and the Conky code:
Code:
# .conkyrc
alignment top_right
background no
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
double_buffer yes
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont DejaVu Sans Mono:size=10
gap_x 20
gap_y 40
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
own_window yes
own_window_class Conky
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
short_units no
show_graph_scale no
show_graph_range no
TEXT
$hr
${alignc}${color}${time %A}, ${time %d %B %Y}, ${time %H:%M:%S} (${time %Z})
$hr
${color 6A9199}UTC: $color $utime
${color 6A9199}Uptime: $color $uptime
${color 6A9199}Processes:$color $processes ${color 6A9199}${alignr}Running:$color $running_processes
$color$hr
${color 6A9199}RAM Usage:$color $mem/$memmax ${alignr}$memperc%
${color AB1852}${membar 6}
${color 6A9199}Swap Usage:$color $swap/$swapmax ${alignr}$swapperc%
${color 49A835}${swapbar 6}$color
$hr
${color 6A9199}CPU Usage:$color ${alignr}${cpu cpu0}%
${color 6A9199}${alignc}-----------------------------------
${alignc}${color 6A9199}Core1:$color ${freq_g 1} ${color 6A9199}GHz Core2:$color ${freq_g 2} ${color 6A9199}GHz
${alignc}$color${cpugraph cpu1 40,140 FF6E00 FF6E00} ${cpugraph cpu2 40,140 CB0C29 CB0C29}
${alignc}${color 6A9199}Core3:$color ${freq_g 3} ${color 6A9199}GHz Core4:$color ${freq_g 4} ${color 6A9199}GHz
${alignc}$color${cpugraph cpu3 40,140 49A835 49A835} ${cpugraph cpu4 40,140 2D7DB3 2D7DB3}
${color 6A9199}${alignc}-----------------------------------
${color 6A9199}${alignc}System Load: $color${loadavg 1} ${loadavg 2} ${loadavg 3}$color
$hr
${color 6A9199}Disk I/O:$color
${alignc}${diskiograph sda 25,280 7EE617 7EE617 log}
${color 6A9199}Main Disk:$color ${fs_used /}/${fs_size /} ${alignr}${fs_used_perc /}%
${color 83B336}${fs_bar 6 /}
${color 6A9199}Data Disk:$color ${fs_used /mydisk}/${fs_size /mydisk} ${alignr}${fs_used_perc /mydisk}%
${color 83b336}${fs_bar 6 /mydisk}
$hr
${color 6A9199}Download:$color ${totaldown eth0} ${alignr}${color 6A9199}Upload:$color ${totalup eth0}
${color 6A9199}${alignc}-----------------------------------
${color 6A9199}Down:$color ${downspeedf eth0} KiB/s${alignr}${color 6A9199}Up:$color ${upspeedf eth0} KiB/s
${downspeedgraph eth0 40,140 3381B5 3381B5 log} ${alignr}${upspeedgraph eth0 40,140 844798 844798 log}$color
$hr
${alignc}${color 6A9199}Name: PID CPU% MEM%
${alignc}${color 6A9199}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${alignc}${color 6A9199}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${alignc}${color 6A9199}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${alignc}${color 6A9199}${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${alignc}${color 6A9199}${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${alignc}${color 6A9199}${top name 6} ${top pid 6} ${top cpu 6} ${top mem 6}
${alignc}${color 6A9199}${top name 7} ${top pid 7} ${top cpu 7} ${top mem 7}
${alignc}${color 6A9199}${top name 8} ${top pid 8} ${top cpu 8} ${top mem 8}
${alignc}${color 6A9199}${top name 9} ${top pid 9} ${top cpu 9} ${top mem 9}
$color$hr
__________________
.
Marching to the beat of his own conundrum.
|

12th January 2010, 12:43 PM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 2,008

|
|
|
lol, i'm pretty sure there's a massive thread about this already here, like tens of pages long!
|

12th January 2010, 02:26 PM
|
 |
Retired Again - Administrator
|
|
Join Date: Nov 2007
Location: Reality
Posts: 3,034

|
|
Quote:
|
Originally Posted by sej7278
i'm pretty sure there's a massive thread about this already here, like tens of pages long!
|
Yup. I've even posted in it. But we've gotta give the mods something to do.
__________________
.
Marching to the beat of his own conundrum.
|

12th January 2010, 06:37 PM
|
 |
Administrator
|
|
Join Date: Jun 2006
Location: Paris, TX
Posts: 22,309

|
|
Keep those kind of comments up ... and you'll get one of those nasty re-activation letters! <..  ..>
|

12th January 2010, 09:29 PM
|
 |
Registered User
|
|
Join Date: May 2009
Location: Manorville, New York, USA
Posts: 1,581

|
|
Link to massive thread.
http://forums.fedoraforum.org/showthread.php?t=187902
I just discovered this, haven't tried conky in a while, been using gkrellm. Maybe it's time to play with it again.
__________________
Registered Linux User #348347
Have you been seduced by siduction? http://siduction.org/index.php
Running Fedora 17/18, siduction and openSUSE Tumbleweed with KDE
|

12th January 2010, 11:36 PM
|
 |
Retired Again - Administrator
|
|
Join Date: Nov 2007
Location: Reality
Posts: 3,034

|
|
Quote:
Originally Posted by Dan
Keep those kind of comments up ... and you'll get one of those nasty re-activation letters! <..  ..>
|
Just checking someone was awake.
Besides, I thought a good, old-fashioned "merge threads" would be welcome relief from some of the heavier duties of late.
__________________
.
Marching to the beat of his own conundrum.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 09:07 (Saturday, 25-05-2013)
|
|
 |
 |
 |
 |
|
|