Laat je conky kunsten zien

Help mee in het mooier maken van Linux Mint
Gebruikersavatar
bas
Guru
Guru
Berichten: 825
Lid geworden op: Za 29 Mei 2010, 20:49
Locatie: Soest
Contact:

Laat je conky kunsten zien

Berichtdoor bas » Zo 12 Jun 2011, 15:53

Plaats hier je conky screenshots en je .conkyrc file.
En wie weet brengt dit anderen weer op ideeën, om een nog mooiere conky in elkaar te knutselen.
Het enige wat er bij mij nog niet werkt is het weer, ik krijg dit nog niet voor elkaar.

Afbeelding


Code: Selecteer alles

# LMDE-CONKY
# A comprehensive conky script, configured for use on
# 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)


xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 1

# 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
    own_window_transparent yes
    own_window_type desktop
    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 180 0

# 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 5

# border width
border_width 1

# Default colors and also border colors
default_color white
own_window_colour white

# Text alignment, other possible values are commented
alignment top_right

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

# 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 yes

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

TEXT
TIME & DATE ${hr 2}
${alignc 35}${font Trebuchet MS:size=26}${time %H:%M}${font}
${alignc}${time %a %d %b %Y}
SYSTEM ${hr 2}

Kernel:  ${alignr}${kernel}
RAM: $memperc% ${alignr}${membar 8,60}
Uptime: ${alignr}${uptime}

Processor info: ${hr 2}
${image ~/.conky/images/processor.png -p 13,190 -s 48x48}
${voffset 10}${goto 60}${freq}MHz   Load: ${color #88ECE0}${loadavg}${color}
${goto 60}Core 1 Usage:${color} ${color #DFEC88}${cpu cpu1}% ${color} ${cpubar cpu1}
${goto 60}Core 2 Usage:${color} ${color #DFEC88}${cpu cpu2}% ${color} ${cpubar cpu2}
${goto 60}CPU Temp: ${color #88ECE0}${acpitemp}° F${color}

HD ${hr 2}

Home:
${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}
Root:
${fs_free /root}/${fs_size /root} ${alignr}${fs_bar 8,60 /root}
SWAP:
${swap}/${swapmax}${alignr}${swapperc}%${swapbar 8,60}


Network info
${image ~/.conky/images/network.png -p 5,415 -s 36x36}
${image ~/.conky/images/wireless.png -p 20,435 -s 36x36}
${if_up wlan0}${voffset -20}${goto 60}${font size=12}D-Link Wireless${font}
${goto 60}Internal IP: ${addr wlan0}
${goto 60}External IP: ${exec wget -q -O - checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'}
${goto 60}${downspeedgraph wlan0 25,100 110000 520000 -t} ${upspeedgraph wlan0 25,100 001100 005200 -t}

${voffset -40}${goto 60} Down ${downspeedf wlan0}${alignr}Total Dn ${totaldown wlan0}
${goto 60} UP ${upspeedf wlan0}${alignr}Total UP ${totalup wlan0}


${else}${if_up eth0}${voffset -20}${goto 60}${font style=bold}${font}
${goto 60}Internal IP: ${addr eth0}
${goto 60}External IP: ${exec wget -q -O - checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'}
${goto 60}${downspeedgraph eth0 25,100 110000 520000 -t} ${upspeedgraph eth0 25,100 001100 005200 -t}
${voffset -40}${goto 60}Down ${downspeedf eth0}${alignr}Total Dn ${totaldown eth0}
${goto 60}UP ${upspeedf eth0}${alignr}Total UP ${totalup eth0}${endif}${endif}




WEATHER ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -8}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=NLXX0007 --datatype=WF}${font}
${voffset -52}${font Weather:size=40}y${font}   ${voffset -38}${font Trebuchet MS:size=26}${execi 600 conkyForecast --location=NLXX0007 --datatype=HT}${font}


${voffset 0}Humidity: ${alignr}${execi 600 conkyForecast --location=NLXX0007 --datatype=HM}
${voffset 0}Moon Phase: ${alignr}${execi 600 conkyForecast --location=NLXX0007 --datatype=MP}
${voffset 0}${font}Wind Speed: ${alignr}${execi 600 conkyForecast --location=NLXX0007 --datatype=WS}
${else}${if_existing /proc/net/route eth0}
${voffset -8}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=NLXX0007 --datatype=WF}${font}
${voffset -52}${font Weather:size=40}y${font}   ${voffset -38}${font Trebuchet MS:size=26}${execi 600 conkyForecast --location=NLXX0007 --datatype=HT}${font}


${voffset 0}Humidity: ${alignr}${execi 600 conkyForecast --location=NLXX0007 --datatype=HM}
${voffset 0}Moon Phase: ${alignr}${execi 600 conkyForecast --location=NLXX0007 --datatype=MP}
${voffset 0}${font}Wind Speed: ${alignr}${execi 600 conkyForecast --location=NLXX0007 --datatype=WS}
${endif}${else}${if_existing /proc/net/route eth1}
${voffset -8}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=NLXX0007 --datatype=WF}${font}
${voffset -52}${font Weather:size=40}y${font}   ${voffset -38}${font Trebuchet MS:size=26}${execi 600 conkyForecast --location=NLXX0007 --datatype=HT}${font}


${voffset 0}Humidity: ${alignr}${execi 600 conkyForecast --location=NLXX0007 --datatype=HM}
${voffset 0}Moon Phase: ${alignr}${execi 600 conkyForecast --location=NLXX0007 --datatype=MP}
${voffset 0}${font}Wind Speed: ${alignr}${execi 600 conkyForecast --location=NLXX0007 --datatype=WS}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font}   Weather Unavailable
${endif}
Acer Aspire 5749: Linux Mint Debian Edition Cinnamon

dropbox

Twitter @bdekruijf

Afbeelding
Gebruikersavatar
bas
Guru
Guru
Berichten: 825
Lid geworden op: Za 29 Mei 2010, 20:49
Locatie: Soest
Contact:

Re: Laat je conky kunsten zien

Berichtdoor bas » Ma 13 Jun 2011, 22:33

Met wat hulp van het crunchbang forum mijn conky aangepast met een werkend weer erin.

Afbeelding


Code: Selecteer alles

# conky -c ~/conky/kruijf
# LMDE-CONKY
# A comprehensive conky script, configured for use on
# 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)

use_xft yes  ## added by Sector11
xftalpha 0.8
xftfont Bitstream Vera Sans Mono:size=8   ## Added by Sector11
text_buffer_size 2048

# Update interval in seconds
update_interval 1

# 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
    own_window_transparent yes
    own_window_type desktop
    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 180 0

# 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_inner_margin 5 ## changed: border_margin change to border_inner_margin or border_outter_margin

# border width
border_width 1

# Default colors and also border colors
default_color white
own_window_colour white

# Text alignment, other possible values are commented
alignment top_right

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

# 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 yes

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

TEXT
${color3}${font StyleBats:bold:size=12}q ${font Bitstream Vera Sans Mono:bold:size=11}Het weer${font}  ${hr}${color1}
${execpi 1800 conkyForecast --location=NLXX0022 --template=~/.Conky/weather.template}
TIME & DATE ${hr 2}
${alignc 35}${font Trebuchet MS:size=16}${time %H:%M}${font}
${alignc}${time %a %d %b %Y}
SYSTEM ${hr 2}
Kernel:  ${alignr}${kernel}
RAM: $memperc% ${alignr}${membar 8,60}
Uptime: ${alignr}${uptime}
Processor info: ${hr 2}
${image ~/.Conky/images/processor.png -p 0,470 -s 48x48}
${voffset 10}${goto 60}${freq}MHz   Load: ${color #88ECE0}${loadavg}${color}
${goto 60}Core 1 Usage:${color} ${color #DFEC88}${cpu cpu1}% ${color} ${cpubar cpu1}
${goto 60}Core 2 Usage:${color} ${color #DFEC88}${cpu cpu2}% ${color} ${cpubar cpu2}
${goto 60}CPU Temp: ${color #88ECE0}${acpitemp}° C${color}
HD ${hr 2}
Home:
${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}
Root:
${fs_free /root}/${fs_size /root} ${alignr}${fs_bar 8,60 /root}
SWAP:
${swap}/${swapmax}${alignr}${swapperc}%${swapbar 8,60}
Network info ${hr 2}
${image ~/.Conky/images/network.png -p 0,740 -s 36x36}
${image ~/.Conky/images/wireless.png -p 15,755 -s 36x36}
${if_up wlan0}${voffset -20}${goto 60}${font size=8}D-Link Wireless${font}
${goto 60}Internal IP: ${addr wlan0}
${goto 60}External IP: ${exec wget -q -O - checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'}
${goto 60}${downspeedgraph wlan0 25,100 110000 520000 -t} ${upspeedgraph wlan0 25,100 001100 005200 -t}
${voffset -35}${goto 60} Down ${downspeedf wlan0}${alignr}Total Dn      ${totaldown wlan0}
${goto 60} UP ${upspeedf wlan0}${alignr}Total UP      ${totalup wlan0}
${else}${if_up eth0}${voffset -20}${goto 60}${font style=bold}${font}
${goto 60}Internal IP: ${addr eth0}
${goto 60}External IP: ${exec wget -q -O - checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'}
${goto 60}${downspeedgraph eth0 25,100 110000 520000 -t} ${upspeedgraph eth0 25,100 001100 005200 -t}
${voffset -35}${goto 60}Down ${downspeedf eth0}${alignr}Total Dn       ${totaldown eth0}
${goto 60}UP ${upspeedf eth0}${alignr}Total UP      ${totalup eth0}${endif}${endif}
Acer Aspire 5749: Linux Mint Debian Edition Cinnamon

dropbox

Twitter @bdekruijf

Afbeelding
Gebruikersavatar
kakysan
Volwaardig lid
Volwaardig lid
Berichten: 98
Lid geworden op: Do 01 Apr 2010, 11:32
Locatie: Lelystad
Contact:

Re: Laat je conky kunsten zien

Berichtdoor kakysan » Wo 15 Jun 2011, 10:01

Ik heb ook een leuke (helaas geen afbeelding ervan) conky script. Je moet wel nog wat lettertypes downloaden, anders krijg je niet het gewenste resultaat. Als jullie het willen kan ik mijn dropbox link naar die lettertypes wel plaatsen, maar ik vermoed dat de meeste ze ergens wel kunnen vinden.

Ik ga zelf nu proberen om ook het weer (het script van Bas) erbij te zetten.

Gr Karel,


Code: Selecteer alles

# UBUNTU-CONKY
# conky configuration

background no
use_xft yes
xftfont Terminus:size=8
out_to_console no
update_interval 1.0
total_run_times 0
own_window override
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
stippled_borders 8
border_margin 12
border_width 1
default_color Grey
default_shade_color Grey
default_outline_color Grey
alignment top_right
maximum_width 270
own_window yes
own_window_type right
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

${voffset 20}${goto 20}${color 265276}${font openlogos:size=40}U ^ t${color}${font}
${color 265276}SYSTEEM ${hr 2}$color
Hostname: $nodename
Kernel: $kernel
Uptime: $uptime

${color 265276}PROCESSOR${hr 2}$color
Kern 1 @ ${freq 1}Mhz:  ${cpu cpu1}% ${cpubar cpu1}
Kern 2 @ ${freq 2}Mhz:  ${cpu cpu2}% ${cpubar cpu2}


Gemiddelde: $cpu% $cpubar
$cpugraph       

${color 265276}Hoogste processor verbruikers:
${color White} ${top name 1}$alignr${top cpu 1}%
${color White} ${top name 2}$alignr${top cpu 2}%
${color White} ${top name 3}$alignr${top cpu 3}%

${color 265276}GEHEUGEN${hr 2}$color
RAM:       $mem/$memmax    $alignc $memperc% ${membar}
Swap:      $swap/$swapmax    $alignc $swapperc% ${swapbar}
Processen: $processes Running: $running_processes     

${color 265276}Hoogste RAM verbuikers:
${color White} ${top_mem name 1}$alignr${top_mem mem 1}%
${color White} ${top_mem name 2}$alignr${top_mem mem 2}%
${color White} ${top_mem name 3}$alignr${top_mem mem 3}%

${color 265276}HARDESCHIJF ${hr 2}$color
Bestandssysteem:    ${fs_used /}/${fs_size /}
${fs_used_perc /}% ${fs_bar /}

${color 265276}NETWERK ${hr 2}$color
${color 265276}IP adres: ${color }${addr eth0}
${color 265276}Op: ${color }${upspeed eth0}
${upspeedgraph eth0 20,160 White}
${color 265276}Neer: ${color }${downspeed eth0}${color}
${downspeedgraph eth0 20,160 White}

${color 265276}MUZIEK ${hr 2}$color
${GOTO 50}${if_running rhythmbox}Artist${goto 120}: ${exec rhythmbox-client --no-start --print-playing-format %ta}
${GOTO 50}Title${GOTO 120}: ${exec rhythmbox-client --print-playing-format %tt}
${GOTO 50}Album${GOTO 120}: ${exec rhythmbox-client --no-start --print-playing-format %at}
${GOTO 50}Genre${GOTO 120}: ${exec rhythmbox-client --no-start --print-playing-format %ag}${goto 170}Year     : ${exec rhythmbox-client --no-start --print-playing-format %ay}
${GOTO 50}Position${GOTO 120}: ${exec rhythmbox-client --no-start --print-playing-format %te}${goto 170}Length  : ${exec rhythmbox-client --no-start --print-playing-format %td}$else${GOTO 100}${font sans:size=6:bold}No Activity${font}$endif

${color 265276}DATUM/TIJD ${hr 2}$color
     
         ${font Radio Space:size=14}${time %A %d %Y}

           ${font Radio Space:size=20}${time %H:%M}
${voffset 5}${goto 22}${color 265276}${font openlogos:size=40}uv Z${color}${font}



Ps: in mijn youtube filmpje zie je wel mijn conky ! Zie link in onderschrift overstappen2linuxmint.
Ik gebruik Linux Mint 16, Ubuntu 12.04 & Windows 7 & 8.1
Mijn websites: http://www.hetcomputermannetje.nl & mijn Linux mint overstap weblog: http://overstappen2linuxmint.wordpress.com en http://overstappen2ubuntu.wordpress.com.
Gebruikersavatar
Arie
LMNLVip
LMNLVip
Berichten: 1743
Lid geworden op: Zo 13 Dec 2009, 17:16
Contact:

Re: Laat je conky kunsten zien

Berichtdoor Arie » Wo 15 Jun 2011, 10:33

leuk filmpje, heb hem gelijk aan mijn favorieten toegevoegd
Gebruikersavatar
bas
Guru
Guru
Berichten: 825
Lid geworden op: Za 29 Mei 2010, 20:49
Locatie: Soest
Contact:

Re: Laat je conky kunsten zien

Berichtdoor bas » Wo 15 Jun 2011, 10:34

Voor het weer heb je conkyforecast nodig en een aanmelding ( gratis ) bij weahter.com, kijk alleen wel in je spam folder voor de weather.com gegevens. Die moet je in de .conkyforecast.config invullen.
En als laatste dit script in je .conky map gooien.

Code: Selecteer alles

${goto 10}${color5}${font Bitstream Vera Sans Mono:style=Bold:size=14}[--datatype=CT]${font}${color}${image [--datatype=WI] -p 15,44 -s 45x45}${image [--datatype=BI] -p 105,44 -s 45x45}${image [--datatype=MI] -p 205,44 -s 45x45}
${voffset 55}${goto 20}${color5}[--datatype=HT --hideunits] / [--datatype=LT --hideunits]${goto 100}[--datatype=WS --imperial] - [--datatype=WD]${goto 200}[--datatype=MP]${color}
${voffset 10}${goto 10}${color3}Station:${color5}${goto 100}[--datatype=OB]
${goto 10}${color3}Rain:${color5}${goto 100}[--datatype=PC]
${goto 10}${color3}UV:${color5}${goto 100}[--datatype=UI] - [--datatype=UT]
${goto 10}${color3}Humidity:${color5}${goto 100}[--datatype=HM]
${goto 10}${color3}Dew Point:${color5}${goto 100}[--datatype=DP]
${goto 10}${color3}Bar:${color5}${goto 100}[--datatype=BR] - [--datatype=BD]
${goto 10}${color3}Sunrise/Set:${color5}${goto 100}[--datatype=SR] / [--datatype=SS]
${goto 10}${color3}${execi 1 conkyForecast-SunsetSunriseCountdown --location=UKXX0103 -t} in:${color5}${goto 100}${execi 1 conkyForecast-SunsetSunriseCountdown --location=UKXX0103 -L}${color}
${voffset 10}${goto 26}${color5}[--datatype=DW --startday=1 --shortweekday]${goto 104}[--datatype=DW --startday=2 --shortweekday]${goto 184}[--datatype=DW --startday=3 --shortweekday]${goto 258}[--datatype=DW --startday=4 --shortweekday]${color}
${image [datatype=WI --startday=1] -p 8,244 -s 45x45}${image [datatype=WI --startday=2] -p 85,244 -s 45x45}${image [datatype=WI --startday=3] -p 165,244 -s 45x45}${image [datatype=WI --startday=4] -p 240,244 -s 45x45}${voffset 50}${goto 15}${color5}[--datatype=HT --startday=1 --hideunits --centeredwidth=3]/[--datatype=LT --startday=1 --hideunits --centeredwidth=3]${goto 90}[--datatype=HT --startday=2 --hideunits --centeredwidth=3]/[--datatype=LT --startday=2 --hideunits --centeredwidth=3]${goto 170}[--datatype=HT --startday=3 --hideunits --centeredwidth=3]/[--datatype=LT --startday=3 --hideunits --centeredwidth=3]${goto 245}[--datatype=HT --startday=4 --hideunits --centeredwidth=3]/[--datatype=LT --startday=4 --hideunits --centeredwidth=3]${color}
${color3}${font Bitstream Vera Sans Mono:size=7}${alignr 20}Last Update: [--datatype=LU]${font}
Acer Aspire 5749: Linux Mint Debian Edition Cinnamon

dropbox

Twitter @bdekruijf

Afbeelding

Terug naar “Artwork”

Wie is er online

Gebruikers op dit forum: Geen geregistreerde gebruikers en 1 gast