Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Post hier je .conkyrc plus een screenshot ;) 2013 V.C.  (gelezen 200348 keer)

Offline Roland

  • Lid
    • http://www.black-wrangler.nl
Post hier je .conkyrc plus een screenshot ;) 2013 V.C.
« Gepost op: 2008/02/17, 20:05:54 »
Patch begon erover in "Hoe ziet jouw grafische desktop eruit?"

En het leek me wel een leuk idee om er een nieuw topic van te maken.

Hier mijn conky´s.

Op m´n desktop.

# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages
# - netstat connections to your computer
#
# -- Pengo (conky@pengo.us)


## conky configuration

# edited by Roland.

background no
use_xft yes
xftfont Terminus:size=8
out_to_console no
update_interval 2.0
total_run_times 0
own_window no
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
stippled_borders 8
border_margin 12
border_width 1
default_color white
default_shade_color black
default_outline_color white
alignment top_right
maximum_width 270
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
gap_x 15
gap_y 35
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer yes

TEXT

${color #ddaa00}${time %a, } ${time %e %B %G}
${color slate grey}${time %Z,    }${color }${time %H:%M:%S}
${color slate grey}UpTime: ${color }$uptime
${color slate grey}NVidia :   ${color}${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'}C
${cpugraph 20,160 ddaa00 ddaa00}
${color slate grey}Load: ${color }$loadavg
${color slate grey}Processes: ${color }$processes 
${color slate grey}Running:   ${color }$running_processes

${color slate grey}Highest CPU:
${color #ddaa00} ${top name 1}$alignr${top cpu 1}%
${color lightgrey} ${top name 2}$alignr${top cpu 2}%
${color lightgrey} ${top name 3}$alignr${top cpu 3}%
${color lightgrey} ${top name 4}$alignr${top cpu 4}%

${color slate grey}Highest MEM:
${color #ddaa00} ${top_mem name 1}$alignr${top_mem mem 1}%
${color lightgrey} ${top_mem name 2}$alignr${top_mem mem 2}%
${color lightgrey} ${top_mem name 3}$alignr${top_mem mem 3}%
${color lightgrey} ${top_mem name 4}$alignr${top_mem mem 4}%

${color slate grey}MEM: ${color }$memperc% $mem/$memmax
${membar 5,000}
${color slate grey}SWAP: ${color }$swapperc% $swap/$swapmax
${swapbar 5,000}

${color slate grey}DISK: ${color }$diskio
${color slate grey}Hdd Temp:${color }${exec nc localhost 7634 | cut -f 4 -d "|"} C
${color slate grey}Used ${color }${alignr}${fs_used /home} / ${fs_size /home}
${fs_bar 5,000 /home}
${color }${diskiograph 20,160 ddaa00 ddaa00}

${color slate grey}Network: ${color }${addr eth0}
${color}Up: ${color }${upspeed eth0} k/s
${upspeedgraph eth0 20,160 ddaa00 ddaa00}
${color}Down: ${color }${downspeed eth0}k/s${color}
${downspeedgraph eth0 20,160 ddaa00 ddaa00}
Deze heeft "nvidia-settings en hddtemp" nodig.

Sreenshot:



En m´n Klaptop:

# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages
# - netstat connections to your computer
#
# -- Pengo (conky@pengo.us)


## conky configuration

# edited by Roland.

background no
use_xft yes
xftfont Terminus:size=8
out_to_console no
update_interval 2.0
total_run_times 0
own_window no
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
stippled_borders 8
border_margin 12
border_width 1
default_color white
default_shade_color black
default_outline_color white
alignment top_right
maximum_width 270
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
gap_x 15
gap_y 25
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer yes

TEXT

${color #ddaa00}${time %a, } ${time %e %B %G}
${color slate grey}${time %Z,    }${color }${time %H:%M:%S}
${color slate grey}UpTime: ${color }$uptime
${color slate grey}CPU:${color } $cpu%  ${acpitemp}C
${cpugraph 20,160 ddaa00 ddaa00}
${color slate grey}Load: ${color }$loadavg
${color slate grey}Processes: ${color }$processes 
${color slate grey}Running:   ${color }$running_processes

${color slate grey}Highest CPU:
${color #ddaa00} ${top name 1}$alignr${top cpu 1}%
${color lightgrey} ${top name 2}$alignr${top cpu 2}%
${color lightgrey} ${top name 3}$alignr${top cpu 3}%
${color lightgrey} ${top name 4}$alignr${top cpu 4}%

${color slate grey}Highest MEM:
${color #ddaa00} ${top_mem name 1}$alignr${top_mem mem 1}%
${color lightgrey} ${top_mem name 2}$alignr${top_mem mem 2}%
${color lightgrey} ${top_mem name 3}$alignr${top_mem mem 3}%
${color lightgrey} ${top_mem name 4}$alignr${top_mem mem 4}%

${color slate grey}MEM: ${color }$memperc% $mem/$memmax
${membar 5,00}
${color slate grey}SWAP: ${color }$swapperc% $swap/$swapmax
${swapbar 5,00}

${color slate grey}DISK: ${color }$diskio
${color slate grey}Hdd Temp:${color }${exec nc localhost 7634 | cut -f 4 -d "|"} C
${color slate grey}Used ${color }${alignr}${fs_used /home} / ${fs_size /home}
${fs_bar 5,00 /home}
${color }${diskiograph 20,160 ddaa00 ddaa00}

${color slate grey}WLan: ${color }$alignr${execi 7200 ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'}
${color slate grey}SSID:${color }$alignr${wireless_essid ath0}
${color slate grey}Quality:${color }${wireless_bitrate ath0} ${wireless_link_qual_perc ath0} ${color c8c4c2}${wireless_link_bar ath0}$color
${color}Up: ${color }${upspeed ath0} k/s
${upspeedgraph ath0 20,160 ddaa00 ddaa00}
${color}Down: ${color }${downspeed ath0}k/s${color}
${downspeedgraph ath0 20,160 ddaa00 ddaa00}
Screenshot:



Deze heeft "hddtemp" nodig.

Gr Roland
« Laatst bewerkt op: 2015/08/13, 20:24:03 door Joshua Orbit »
Ubuntu user #12040 ;)

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #1 Gepost op: 2008/02/17, 20:19:19 »
Stomme vraag misschien, maar wat is een conky? En kan je er iets meer over vertellen.

Met vriendelijke groet,

Gijs
In der Beschränkung zeigt sich der Meister.

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #2 Gepost op: 2008/02/17, 20:26:09 »
Citaat van: Gijsbert
Stomme vraag misschien, maar wat is een conky? En kan je er iets meer over vertellen.

Met vriendelijke groet,

Gijs
Conky is een klein programmatje dat je cpu verbruik en de processen enz. laat zien op je desktop.

dus cpu percentage, het in en uit verkeer van je internet verbinding, hoeveel percentage de processen verbruiken, welke processen open staan enz....

sudo apt-get install conky

en openen in de terminal met: conky
Mvg Desert_Eagle

Offline Roland

  • Lid
    • http://www.black-wrangler.nl
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #3 Gepost op: 2008/02/17, 20:28:02 »
Conky is een "Systeem monitor" vergelijkbaar met desklets of gDesklets alleen veel zuiniger met cpu en ram gebruik.
En oneindig aan te passen b.v. weergave Cpu gebruik, Ram gebruik ,Uptime, Disk gebruik , temperaturen  netwerk, kleuren, vormgeving enz,enz.

Door de .conkyrc te kopieeren en in je eigen .conkyrc te plakken heb je op jou computer de zelfde :)
Hoop dat ik een beetje duidelijk ben ;) .
Het is de text rechts op de screenshots.

Gr Roland

Woestijn adelaar was me net voor. ;)
Ubuntu user #12040 ;)

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #4 Gepost op: 2008/02/17, 20:42:31 »
Citaat van: Roland
Conky is een "Systeem monitor" vergelijkbaar met desklets of gDesklets alleen veel zuiniger met cpu en ram gebruik.
En oneindig aan te passen b.v. weergave Cpu gebruik, Ram gebruik ,Uptime, Disk gebruik , temperaturen  netwerk, kleuren, vormgeving enz,enz.

Door de .conkyrc te kopieeren en in je eigen .conkyrc te plakken heb je op jou computer de zelfde :)
Hoop dat ik een beetje duidelijk ben ;) .
Het is de text rechts op de screenshots.

Gr Roland

Woestijn adelaar was me net voor. ;)
jamaar grote roland was net ietsje duidelijker... :-)
Mvg Desert_Eagle

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #5 Gepost op: 2008/02/17, 21:12:11 »
Heren bedankt voor de antwoorden. Ga het zo meteen installeren.

Met vriendelijke groet,

Gijs
In der Beschränkung zeigt sich der Meister.

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #6 Gepost op: 2008/02/17, 21:52:38 »
Citaat van: Gijsbert
Heren bedankt voor de antwoorden. Ga het zo meteen installeren.

Met vriendelijke groet,

Gijs
@ Gijs: nog even over dat afsluitprobleem: het kwam door Conky dat ik zag dat de powermanager bleef hangen, opnieuw en opnieuw etc. toen was 1+1 >bingo!
mvg Marco
OS:  ubuntu
Ubuntu-user  12044

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #7 Gepost op: 2008/02/17, 21:57:41 »
Goed dat je probleem opgelost is.
Hoe kom je in .conkyrc, ik heb het geprobeerd met een zoek opdracht, er wordt echter niks gevonden.
Het programma werkt wel goed.

Met vriendelijke groet,

Gijs
In der Beschränkung zeigt sich der Meister.

Offline Erik_m

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #8 Gepost op: 2008/02/18, 00:29:55 »
.conkyrc moet je aanmaken in je home-directory. Als je dezelfde als Roland wil moet je zijn code gewoon die file in kopiëren.

Roland, waar heb je nvidia-settings voor nodig in je conky? Of begrijp ik je verkeerd? Zal een dezer dagen de mijne eens hierbij zetten :)

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #9 Gepost op: 2008/02/18, 00:50:20 »
Voor de temperatuur van zijn videokaart.

# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages
# - netstat connections to your computer
#
# -- Pengo (conky@pengo.us)
#

# Create own window instead of using desktop (required in nautilus)
own_window 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

# fiddle with window
use_spacer yes
use_xft no

# Update interval in seconds
update_interval 1.0

# Minimum size of text area
# minimum_size 250 5

# Draw shades?
draw_shades no

# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
font verdana
uppercase no # set to yes if you want all text to be in uppercase

# Stippled borders?
stippled_borders 3

# border margins
border_margin 9

# border width
border_width 10

# Default colors and also border colors, grey90 == #e5e5e5
default_color #e5e5e5

own_window_colour brown
own_window_transparent yes

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
gap_x 10
gap_y 10

# stuff after 'TEXT' will be formatted on screen

TEXT
$color

${color black}SYSTEM ${hr 2}$color
Computer Naam: $nodename
Kernel: $kernel
Architectuur: $machine
${time %a %d %b %Y %T}
Uptime: ${uptime}

${color black}CPU ${hr 2}$color
Intel Core 2 Quad Q6600 @ ${freq}MHz   Load: ${loadavg}  
 ${color}Core 1 :$color  ${cpu cpu1}% ${color #EEEEEE}${cpubar cpu1}
 ${color}Core 2 :$color  ${cpu cpu2}% ${color #EEEEEE}${cpubar cpu2}
 ${color}Core 3 :$color  ${cpu cpu3}% ${color #EEEEEE}${cpubar cpu3}
 ${color}Core 4 :$color  ${cpu cpu4}% ${color #EEEEEE}${cpubar cpu4}

${color black}PROCESSEN ${hr 2}$color
Aantal Processen:  $processes       Bezig:  $running_processes

${color black}HOOGSTE CPU GEBRUIK ${stippled_hr 1}$color
NAME${alignr 9}PID      CPU%      MEM%
${top name 1}${alignr 9}${top pid 1}   ${top cpu 1}    ${top mem 1}
${top name 2}${alignr 9}${top pid 2}   ${top cpu 2}    ${top mem 2}
${top name 3}${alignr 9}${top pid 3}   ${top cpu 3}    ${top mem 3}
${top name 4}${alignr 9}${top pid 4}   ${top cpu 4}    ${top mem 4}

${color black}HOOGSTE GEHEUGEN VERBRUIK ${stippled_hr 1}$color
NAME${alignr 9}PID      CPU%      MEM%
${top_mem name 1}${alignr 9}${top_mem pid 1}   ${top_mem cpu 1}    ${top_mem mem 1}
${top_mem name 2}${alignr 9}${top_mem pid 2}   ${top_mem cpu 2}    ${top_mem mem 2}
${top_mem name 3}${alignr 9}${top_mem pid 3}   ${top_mem cpu 3}    ${top_mem mem 3}
${top_mem name 4}${alignr 9}${top_mem pid 4}   ${top_mem cpu 4}    ${top_mem mem 4}

${color black}GEHEUGEN ${hr 2}$color
RAM:   $memperc%   ${membar 6}$color
Swap:  $swapperc%   ${swapbar 6}$color

${color black}HARDE SCHIJF ${hr 2}$color
/:      ${fs_used_perc /}%   ${fs_bar 6 /}$color
              ${fs_used /} / ${fs_size /}

/home:  ${fs_used_perc /home}%   ${fs_bar 6 /home}$color
            ${fs_used /home} / ${fs_size /home}
           
Harde schijf activiteit:${alignr}${diskiograph 20,160 000000 0000ff}

${color black}NETWERK ${hr 2}$color
Down: $color${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
${downspeedgraph eth0 25,140 000000 ff0000} ${alignr}${upspeedgraph eth0
25,140 000000 00ff00}$color
Totaal: ${totaldown eth0} ${alignr}Total: ${totalup eth0}

${color black}LOG ${hr 2}$color
${execi 30 tail -n3 /var/log/messages | fold -w50}

Offline Roland

  • Lid
    • http://www.black-wrangler.nl
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #10 Gepost op: 2008/02/18, 07:17:53 »
Citaat van: Erik_m
Roland, waar heb je nvidia-settings voor nodig in je conky? Of begrijp ik je verkeerd? Zal een dezer dagen de mijne eens hierbij zetten :)
Idd voor de video kaart (Desktop direct onder UpTime ;) )


@ Gijsbert.

Maar in je home map een file aan die ".conkyrc" heet, en plak daar de code in,
Dan conky op (nieuw) starten.

Gr Roland.
Ubuntu user #12040 ;)

Kaiowas

  • Gast
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #11 Gepost op: 2008/02/18, 12:20:39 »


# Conky sample configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.

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

# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=8

# Text alpha when using Xft
xftalpha 0.8

# Print everything to stdout?
# out_to_console no

# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell

# Print everything to console?
# out_to_console no

# mail spool
mail_spool $MAIL

# Update interval in seconds
update_interval 1.0

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window yes

# If own_window is yes, you may use type normal, desktop or override
own_window_type desktop

# Use pseudo transparency with own_window?
own_window_transparent yes

# If own_window_transparent is set to no, you can set the background colour here
#own_window_colour hotpink

# If own_window is yes, these window manager hints may be used
#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

# Draw borders around text
draw_borders yes

# Draw borders around graphs
draw_graph_borders yes

# Stippled borders?
stippled_borders 8

# border margins
border_margin 4

# border width
border_width 1

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

#dexter_client no
#dexter_server no
# config file for libdexter (default search path: $HOME/.dexterrc; /etc/libdexter/dexter.conf)
#dexter_config

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 12
gap_y 12

# Subtract file system buffers from used memory?
no_buffers yes

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

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

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

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer no

# Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
#max_port_monitor_connections 256

# Maximum number of special things, e.g. fonts, offsets, aligns, etc.
#max_specials 512

# Maximum size of buffer for user text, i.e. below TEXT line.
#max_user_text 16384

# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument

# stuff after 'TEXT' will be formatted on screen

TEXT
$nodename - $sysname $kernel on $machine
$stippled_hr
${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
${color lightgrey}CPU Usage:${color #5000a0} ${cpu}% ${cpubar}
${color white}${cpugraph 000000 5000a0}
${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc% $membar
${color lightgrey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar}
${color lightgrey}Processes:$color $processes  ${color grey}Running:$color $running_processes
$color$stippled_hr
${color lightgrey}Networking:
 Down:${color #8844ee} ${downspeed eth1} k/s${color lightgrey} ${offset 70}Up:${color #22ccff} ${upspeed eth1} k/s
${color white}${downspeedgraph eth1 32,150 ff0000 0000ff} $alignr${color white}${upspeedgraph eth1 32,150 0000ff ff0000}
$color$stippled_hr
${color lightgrey}File systems:
 Root  $color${fs_used /} / ${fs_size /}
 ${fs_bar /}
 Windows  $color${fs_used /windows/} / ${fs_size /windows/}
 ${fs_bar /windows/}

Offline nor

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #12 Gepost op: 2008/02/18, 17:34:01 »
Is het mogelijk om conky op de panel te weergeven? Dus niet op bureaublad.

Offline panzervos

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #13 Gepost op: 2008/02/18, 20:54:42 »
Conky gebruikte ik in Ubuntu 7.04:


Een vergroting hiervan en scripts voor het weerbericht, info uit Amarok en Ubuntu security berichten zijn te vinden op http://home.hetnet.nl/~ericenmarijke/200709.html#conky.

# Conky sample configuration
#
# Check http://conky.sf.net for an up-to-date-list.

alignment              top_right
border_margin          10
border_width           10
cpu_avg_samples        2
default_color          lightgrey
double_buffer          yes
draw_shades            no
gap_x                  10
gap_y                  30
minimum_size           250
net_avg_samples        2
own_window             yes
own_window_transparent yes
own_window_type        override # 'desktop', 'normal' or 'override'
update_interval        1.0
use_xft                yes
xftfont                Bitstream Vera Sans Mono:size=8
xftalpha               0.8

# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument

# stuff after 'TEXT' will be formatted on screen

TEXT
${color orange}SYSTEM ${hr 2}$color
${exec whoami}@$nodename - $sysname $kernel
Uptime: $uptime

${color orange}CPU ${hr 2}$color
${freq}MHz Load: $loadavg
Core 1:  ${cpu cpu1}% ${cpubar cpu1}
Core 2:  ${cpu cpu2}% ${cpubar cpu2}
Average: $cpu% $cpubar
$cpugraph
Name              PID     CPU%   MEM%
 ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
 ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
 ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
 ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}

${color orange}MEMORY${hr 2}$color
RAM:       $mem/$memmax - $memperc% ${membar}
Swap:      $swap/$swapmax - $swapperc% ${swapbar}
Processes: $processes Running: $running_processes
Name              PID     CPU%   MEM%
 ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
 ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
 ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
 ${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}

${color orange}DISK ${hr 2}$color
/:         ${fs_used /}/${fs_size /} - ${fs_used_perc /}% ${fs_bar /}

${color orange}NETWORK (${addr eth0}) ${hr 2}$color
Down: ${downspeed eth0} k/s ${alignr} Up: ${upspeed eth0} k/s
${downspeedgraph eth0 25,150} ${alignr} ${upspeedgraph eth0 25,150}
Total: ${totaldown eth0} ${alignr} Total: ${totalup eth0}

${color orange}LOGGING ${hr 2}$color
${execi 30 tail -n3 /var/log/messages | fold -w50}

${color orange}FORTUNE ${hr 2}$color
${execi 120 fortune -s | fold -w50}

${color orange}WEATHER ${hr 2}$color
${execi 3600 python ~/.conky/metar.py | fold -w50}
${if_running amarokapp}
${color orange}AMAROK ${hr 2}$color
${alignc}${execi 10 ~/.conky/amarok artist}
${alignc}${execi 10 ~/.conky/amarok title | fold -w50}
${execibar 10 ~/.conky/amarok progress}
${alignc}${execi 10 ~/.conky/amarok album} (${execi 10 ~/.conky/amarok year})$endif

${color orange}UBUNTU SECURITY BERICHTEN ${hr 2}$color
${execi 300 ~/.conky/conky-rss.sh http://www.ubuntu-nl.org/usn/rss/ 4 2}

Offline Johan van Dijk

  • Administrator
    • johanvandijk
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #14 Gepost op: 2008/02/19, 12:42:47 »
Mijn Conky configuratie:


background yes
use_xft yes
xftfont HandelGotD:size=2
xftalpha 0.1
font Sans:size=8
update_interval 1.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 210 5
maximum_width 211
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color red
default_outline_color green
alignment top_right
gap_x 8
gap_y 48
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale no
use_spacer yes

TEXT
${font Sans:bold:size=8}${color #0077ff}CPU$font$color  ${hr 1}
   $alignc ${color #0077ff}AMD Athlon64 X2 BE-2350$color
   ${freq_g 1}GHz ${cpu cpu1}% ${cpubar cpu1}
   ${freq_g 2}GHz ${cpu cpu2}% ${cpubar cpu2}
   ${color #0077ff}Load: $color $loadavg
   ${color #0077ff}Top Processes$alignr -PID-     CPU   MEM$color
   ${top name 1}$alignr${top pid 1}${top cpu 1}   ${top mem 1}
   ${top name 2}$alignr${top pid 2}${top cpu 2}   ${top mem 2}
   ${top name 3}$alignr${top pid 3}${top cpu 3}   ${top mem 3}

${font Sans:bold:size=8}${color #0077ff}RAM / HD$font  $color${hr 1}
   ${color #0077ff}RAM$color $alignc $mem / $memmax $alignr$memperc%
   $membar
   ${color #0077ff}Disk Space$color
   ${color #0077ff}RAID 0$color $alignc ${fs_used /} / ${fs_size /} $alignr${fs_used_perc /} %
   ${fs_bar /}
   ${color #0077ff}RAID 5$color $alignc ${fs_used /media/data} / ${fs_size /media/data/} $alignr${fs_used_perc /media/data/} %
   ${fs_bar /media/data/}
   ${color #0077ff}HD I/O $color  ${diskiograph 19}

   ${font Sans:bold:size=8}${color #0077ff}Network$font  $color${hr 1}
   ${color #0077ff}IP: $color${addr eth0}$alignr
   ${color #0077ff}Down: ${color white}${downspeed eth0}k/s ${alignr}${color #0077ff}Up: ${color white}${upspeed eth0}k/s
   ${downspeedgraph eth0 25,100} ${alignr}${upspeedgraph eth0 25,100}

   ${font Sans:bold:size=8}${color #0077ff}Music$font  $color${hr 1}
     ${color #0077ff}Artist: $color${alignc}${exec cat ~/.quodlibet/current | grep artist= | cut -d "=" -f2 }
     ${color #0077ff}Title: $color${alignc}${exec cat ~/.quodlibet/current | grep title | cut -d "=" -f2 }

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #15 Gepost op: 2008/02/21, 20:04:23 »
waar kan ik eigenlijk al die commando's vinden die je in conky kan gebruiken.

want ik ben aan het klooien in de .conkyrc file en de kleur "Black" verstaat hij niet.....
Mvg Desert_Eagle

Offline Johan van Dijk

  • Administrator
    • johanvandijk
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #16 Gepost op: 2008/02/21, 21:47:15 »
Ook niet als je geen hoofdletter gebruikt?

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #17 Gepost op: 2008/02/21, 23:50:11 »
Eindelijk die van mij,alleen zonder conkyrc aan gezien het de basis conky is.
Opzich vind ik deze prima, alleen wil ik er iets aan toevoegen.
Hoe krijg ik dit voor elkaar? Want waar heeft Conky dat bestand staan?

By gijsbert

Met vriendelijke groet,

Gijs
In der Beschränkung zeigt sich der Meister.

Offline Pjotr

  • Lid
    • Makkelijke Linuxtips
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #18 Gepost op: 2008/02/22, 00:05:18 »
Conky is echt gaaf. Ik gebruik het in Antix en in Damn Small Linux. In Antix heb ik alleen een voorzichtig regeltje toegevoegd, maar nu ga ik eens wat van jullie regels gebruiken. Bedankt voor het delen!

Offline Johan van Dijk

  • Administrator
    • johanvandijk
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #19 Gepost op: 2008/02/22, 02:40:55 »
Gijsbert, het configuratiebestand staat in jouw home map. Het heet .conkyrc en omdat het begint met een punt is het normaal gesproken verborgen. Met control-h kan je het zichtbaar maken.

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #20 Gepost op: 2008/02/22, 10:31:21 »
Johanvd, in mijn home map staat geen conkyrc. Als ik een van de door jullie opgegeven configuratie bestanden kopieer en plak in een nieuw aangemaakt bestandje .conkyrc werkt het prima.
Ik heb nog even gezocht op conky en dan krijg ik het bestandje conky.conf te zien in etc/conky. Hierbij de inhoud:
alignment bottom_left
background no
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
font 6x10
gap_x 5
gap_y 60
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
own_window yes
own_window_class Conky
own_window_type normal
stippled_borders 0
update_interval 3.0
uppercase no
use_spacer no

TEXT
$nodename - $sysname $kernel on $machine
$hr
${color grey}Uptime:$color $uptime
${color grey}Frequency (in MHz):$color $freq
${color grey}Frequency (in GHz):$color $freq_g
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color grey}CPU Usage:$color $cpu% ${cpubar 4}
${color grey}Processes:$color $processes  ${color grey}Running:$color $running_processes
$hr
${color grey}File systems:
 / $color${fs_free /}/${fs_size /} ${fs_bar 6 /}
${color grey}Networking:
Up:$color ${upspeed eth0} k/s${color grey} - Down:$color ${downspeed eth0} k/s
$hr
${color grey}Name                  PID   CPU%   MEM%
${color lightgrey} ${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}
Ik kijk wel even of ik hier wat kan veranderen en anders kijk ik wel of ik een van jullie conkyrc gebruik.

Met vriendelijke groet,

Gijs
In der Beschränkung zeigt sich der Meister.

Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #21 Gepost op: 2008/02/23, 14:21:32 »
Hier mijn .conkyrc:

# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages
# - netstat connections to your computer
#
# -- Pengo (conky@pengo.us)


## conky configuration

# edited by Roland.

background no
use_xft yes
xftfont Terminus:size=8
out_to_console no
update_interval 2.0
total_run_times 0
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
stippled_borders 8
border_margin 12
border_width 1
default_color white
default_shade_color black
default_outline_color white
alignment top_right
maximum_width 270
own_window yes
own_window_type desktop
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_page
gap_x 15
gap_y 35
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer yes

TEXT

${color black}CPU ${hr 2}$color
Intel Core 2 @ ${freq}MHz   Load: ${loadavg}  
${color}Core 1 :$color  ${cpu cpu1}% ${color #EEEEEE}${cpubar cpu1}
${color}Core 2 :$color  ${cpu cpu2}% ${color #EEEEEE}${cpubar cpu2}

${color #ddaa00}${time %a, } ${time %e %B %G}
${color slate grey}${time %Z,    }${color }${time %H:%M:%S}
${color slate grey}UpTime: ${color }$uptime
${color slate grey}NVidia :   ${color}${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'}C
${cpugraph 20,130 ddaa00 ddaa00}
${color slate grey}Load: ${color }$loadavg
${color slate grey}Processes: ${color }$processes  
${color slate grey}Running:   ${color }$running_processes

${color slate grey}Highest CPU:
${color #ddaa00} ${top name 1}$alignr${top cpu 1}%
${color lightgrey} ${top name 2}$alignr${top cpu 2}%
${color lightgrey} ${top name 3}$alignr${top cpu 3}%
${color lightgrey} ${top name 4}$alignr${top cpu 4}%

${color slate grey}Highest MEM:
${color #ddaa00} ${top_mem name 1}$alignr${top_mem mem 1}%
${color lightgrey} ${top_mem name 2}$alignr${top_mem mem 2}%
${color lightgrey} ${top_mem name 3}$alignr${top_mem mem 3}%
${color lightgrey} ${top_mem name 4}$alignr${top_mem mem 4}%

${color slate grey}MEM: ${color }$memperc% $mem/$memmax
${membar 3,100}
${color slate grey}SWAP: ${color }$swapperc% $swap/$swapmax
${swapbar 3,100}

${color slate grey}DISK: ${color }$diskio
${color slate grey}Hdd Temp:${color }${exec nc localhost 7634 | cut -f 4 -d "|"} C
${color }${diskiograph 20,130 ddaa00 ddaa00}

${color slate grey}Network: ${color }${addr eth0}
${color}Up: ${color }${upspeed eth0} k/s
${upspeedgraph eth0 20,130 ddaa00 ddaa00}
${color}Down: ${color }${downspeed eth0}k/s${color}
${downspeedgraph eth0 20,130 ddaa00 ddaa00}

(rechter muis + afbeelding bekijken voor ware grootte)

Ik gebruik conky nu in kde en heb na het instellen van de achtergrond om de transperantie te krijgen een probleempje.
Conky verdwijnd telkens als ik op mijn desktop klik , dit had ik van tevoren niet.
Weet iemand waaraan dit kan liggen ?

Terminal uitvoer: (blijkbaar blijft conky wel door draaien want ik stop hem zelf met ctrl+c)
socialdefect@ubuntustudio:~$ conky
Conky: /home/administrator/.conkyrc: 38: config file error
Conky: desktop window (120000f) is subwindow of root window (1a5)
Conky: window type - desktop
Conky: drawing to created window (2200001)
Conky: drawing to double buffer
localhost [127.0.0.1] 7634 (?) : Connection refused
localhost [127.0.0.1] 7634 (?) : Connection refused
localhost [127.0.0.1] 7634 (?) : Connection refused
localhost [127.0.0.1] 7634 (?) : Connection refused
localhost [127.0.0.1] 7634 (?) : Connection refused
localhost [127.0.0.1] 7634 (?) : Connection refused
localhost [127.0.0.1] 7634 (?) : Connection refused
localhost [127.0.0.1] 7634 (?) : Connection refused
localhost [127.0.0.1] 7634 (?) : Connection refused
localhost [127.0.0.1] 7634 (?) : Connection refused
localhost [127.0.0.1] 7634 (?) : Connection refused
localhost [127.0.0.1] 7634 (?) : Connection refused
localhost [127.0.0.1] 7634 (?) : Connection refused
Conky: received SIGINT or SIGTERM to terminate. bye!
ANTWOORD OM TE HELPEN, NIET OM ANTWOORD TE KUNNEN GEVEN

Offline panzervos

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #22 Gepost op: 2008/02/23, 14:58:56 »
Voordat je conky de 1e keer start is het de bedoeling om het standaard conky script te kopieren naar je home folder:
$ zcat /usr/share/doc/conky/examples/conkyrc.sample.gz > ~/.conkyrc
Citaat van: nor
Is het mogelijk om conky op de panel te weergeven? Dus niet op bureaublad.
In het kort: nee.

Citaat van: Desert_Eagle1988
waar kan ik eigenlijk al die commando's vinden die je in conky kan gebruiken.

want ik ben aan het klooien in de .conkyrc file en de kleur "Black" verstaat hij niet.....
- config file settings: hoe conky eruit ziet.
- variabelen: welke info je wilt laten zien.

Op http://ubuntuforums.org/ bestaat een dergelijke thread als deze: Post your .conkyrc files w/ screenshots.
Daar is ook een heleboel info te halen.

Offline panzervos

  • Lid
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #23 Gepost op: 2008/02/23, 15:13:55 »
Citaat van: socialdefect
Hier mijn .conkyrc:

..
own_window_type desktop
..
Ik gebruik conky nu in kde en heb na het instellen van de achtergrond om de transperantie te krijgen een probleempje.
Conky verdwijnd telkens als ik op mijn desktop klik , dit had ik van tevoren niet.
Weet iemand waaraan dit kan liggen ?

...
Ik meen me te herinneren dat ik een dergelijk probleem ook heb gehad (is al een half jaar geleden dat ik met 't conky script heb gespeeld).
Volgens mij heb ik het toen op kunnen lossen met het volgende:
own_window_type        overrideIn de config file settings staat bij own_window_type:
Citaat
if own_window is yes, you may specify type normal, desktop or override (default: normal). Desktop windows are special windows that have no window decorations; are always visible on your desktop; do not appear in your pager or taskbar; and are sticky across all workspaces. Override windows are not under the control of the window manager. Hints are ignored. This type of window can be useful for certain situations.
Wellicht het proberen waard?

Offline Roland

  • Lid
    • http://www.black-wrangler.nl
Re: Post hier je .conkyrc plus een screenshot ;)
« Reactie #24 Gepost op: 2008/02/23, 15:40:57 »
Citaat van: panzervos
Citaat van: socialdefect
Hier mijn .conkyrc:

..
own_window_type desktop
..
Ik gebruik conky nu in kde en heb na het instellen van de achtergrond om de transperantie te krijgen een probleempje.
Conky verdwijnd telkens als ik op mijn desktop klik , dit had ik van tevoren niet.
Weet iemand waaraan dit kan liggen ?

...
Ik meen me te herinneren dat ik een dergelijk probleem ook heb gehad (is al een half jaar geleden dat ik met 't conky script heb gespeeld).
Volgens mij heb ik het toen op kunnen lossen met het volgende:
own_window_type        overrideIn de config file settings staat bij own_window_type:
Citaat
if own_window is yes, you may specify type normal, desktop or override (default: normal). Desktop windows $are special windows that have no window decorations; are always visible on your desktop; do not appear in your pager or taskbar; and are sticky across all workspaces. Override windows are not under the control of the window manager. Hints are ignored. This type of window can be useful for certain situations.
Wellicht het proberen waard?
En ff hddtemp installeren (als je hdd dit ondersteund) , dat is de "localhost" melding.

En misschien de eerste 4 regels vervangen door de volgende.

${color slate grey}CPU ${hr 2}${color}
${color #ddaa00}Intel Core 2 ${color}@ ${freq}MHz   Load: ${loadavg}  
${color slate grey}Core 1 :${color}  ${cpu cpu1}% ${color }${cpubar cpu1}
${color slate grey}Core 2 :${color}  ${cpu cpu2}% ${color }${cpubar cpu2}
Gr Roland.
Ubuntu user #12040 ;)