A fewConky Screenshot day ago I stumbled over the desktop widget "Conky". Convinced by the nice configurations some people had running, I decided to give it a shot. Conky is quite flexible and powerful, that's why it has it's own kind of scripting language.
The script for the individual configuration is stored in the .conkyrc file. I spend the last few days tweaking my configuration, starting with the one from here. For my configuration to run you need to install at least parts of the conky-colors package which also delivers you the fonts you need.
I didn't really install the conky-color package though, just downloaded and unpacked it. The scripts I needed I copied into a hidden folder in my home directory (.conky-scripts/). The conkyVinyl Script for the cover art was modified by me. You also need an account for weather.com to use the weather Script, as explained in this post.

I ended up with the design you can see in the screenshot. The fastest way to get my setup is to unpack this ZIP-File in your home-directory and rename conky-scripts to .conky-scripts and conkyWeather.conf in .conkyWeather.conf (after you added your settings in there) and install the three fonts. After that you can use my .conkyrc as provided underneath. I hope you like it!


This is my unique conky-config stored in .conkyrc:

# Conky config file:
alignment top_right
background no
border_width 1
border_margin 100
cpu_avg_samples 2
default_color white
default_outline_color 555753
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont DejaVu Sans:size=10
xftalpha 1
text_buffer_size 1024
gap_x 30
gap_y 60
minimum_size 250 5
net_avg_samples 2
no_buffers yes
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 override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
stippled_borders 0
update_interval 2
uppercase no
use_spacer yes
show_graph_scale no
show_graph_range no

TEXT
#System: ------------
${font DejaVu Sans:size=9:style=bold}SYSTEM${font} ${hr 2}
#Kernel: ${alignr}${kernel}
${alignc}Computer Uptime: ${uptime_short}

CPU Ø: ${alignr}${cpu cpu0}% ${cpubar 8,100 cpu0}
CPU 1: ${alignr}${cpu cpu1}% ${cpubar 8,100 cpu1}
CPU 2: ${alignr}${cpu cpu2}% ${cpubar 8,100 cpu2}
RAM: ${alignr}$memperc% ${membar 8,100}
#HDD: ${alignr}$diskio ${diskiograph 8,100}

#Datum: -------
${font DejaVu Sans:size=9:style=bold}DATUM${font} ${hr 2}
${alignc 34}${font Trebuchet MS:size=36}${time %H:%M}${font}
${alignc}${font Trebuchet MS:size=12}${time %a %d. %b %Y}${font}

#HDD: -----------
${font DejaVu Sans:size=9:style=bold}HDD${font} ${hr 2}
Home: ${alignr}${fs_used_perc /home}% ${fs_bar 8,100 /home}
Root: ${alignr}${fs_used_perc /root}% ${fs_bar 8,100 /root}
Media: ${alignr}${fs_used_perc /media/media}% ${fs_bar 8,100 /media/media}
${voffset 8}Auslastung — $diskio ${alignr}| Temperatur
${diskiograph 25,150 C55000 C55000} ${alignr 40}${voffset 5}${font Weather:size=26}y${font} ${voffset -16}${font DejaVu Sans:size=20}${hddtemp /dev/sda}°C${font}
#Netzwerk: --------
${font DejaVu Sans:size=9:style=bold}NETZWERK${font} ${hr 2}
Up — ${upspeed eth0} ${alignr}Down — ${downspeed eth0}
${upspeedgraph eth0 25,112 edd400 edd400} ${alignr}${downspeedgraph eth0 25,112 edd400 edd400}

#Musik: -----------
${font DejaVu Sans:size=9:style=bold}MUSIK${font} ${hr 2}
${execi 2 .conky-scripts/conkyVinyl}
${image /tmp/conkyCover.png -p 2,514 -s 86x86 -f 3}
${font DejaVu Sans:size=8}${voffset -32} ${alignr}${exec .conky-scripts/conkyBanshee --datatype=AL}
${alignr}»${execi 2 .conky-scripts/conkyBanshee --datatype=TI}«
${alignr}von ${execi 2 .conky-scripts/conkyBanshee --datatype=AR}${font}

#Wetter ---:
${voffset 48}${font DejaVu Sans:size=9:style=bold}WETTER${font} ${hr 2}
${if_existing /proc/net/route eth0}
${voffset -14}${font Weather:size=40}y${font} ${voffset -38}${font Trebuchet MS:size=38} ${execi 1800 .conky-scripts/conkyForecast --location=GMXX0007 --datatype=HT}${font}${alignr 62}${voffset -30}${font ConkyWeather:style=Bold:size=40}${execi 1800 .conky-scripts/conkyForecast --location=GMXX0007 --datatype=WF}${font}
${voffset 4}Luftfeuchtigkeit: ${alignr}${execi 1800 .conky-scripts/conkyForecast --location=GMXX0007 --datatype=HM}
Wind: ${alignr}${execi 1800 .conky-scripts/conkyForecast --location=GMXX0007 --hideunits --datatype=WS} km/h ${execi 1800 .conky-scripts/conkyForecast --location=GMXX0007 --hideunits --datatype=WD}
Sonnenschein: ${alignr}${execi 1800 .conky-scripts/conkyForecast --location=GMXX0007 --datatype=SR} - ${execi 1800 .conky-scripts/conkyForecast --location=GMXX0007 --datatype=SS} Uhr
Mondphase: ${alignr 30}${font MoonPhases:size=20}${execi 1800 .conky-scripts/conkyForecast --location=GMXX0007 --datatype=MF}
${endif}

4 Kommentare

Linear

  • mer~  
    *works great for me. thanks. a lot.

    cheers.
  • jim  
    *hi, great config!
    but file is down :(
    could you please reupp?
    • Stefan Horning  
      *Sorry, I must have removed it while cleaning up my files on the server. I don't have a copy with me, since I am abroad at the moment. So there is no fix for right now...
      • jim  
        *thanks for your fast answer,
        at the moment, i use your config with another command for album artwork... not as beauty as your's but it's ok... i hope you could reupp in future :)

        enjoy your time abroad ;)

Kommentar schreiben

Die angegebene E-Mail-Adresse wird nicht dargestellt, sondern nur für eventuelle Benachrichtigungen verwendet.
Umschließende Sterne heben ein Wort hervor (*wort*), per _wort_ kann ein Wort unterstrichen werden.
Gravatar, Twitter, Wavatars, Favatar Autoren-Bilder werden unterstützt.