Hallo,
System-Spezifikation = Arch Linux 64bit, Kernel 3.2.2 mit KDE 4.8
ich habe ein Problem mit meiner Conky-Configuration. Im Prinzip handelt es sich um "Conky-Launchpad" mit wenigen Änderungen. (vgl.
http://freeazy.deviantart.com/art/Conky-Launchpad-186251285)
Das Problem: Das Conky Fenster sollte eigentlich nur die Größe des Hintergrundbildes entsprechen, also 1366x180. In Wirklichkeit ist vor allem die "Höhe" des Conky-Fensters absolut falsch. Da ich einen Bildschirm mit der Auflösung 1280x1024 besitze, habe ich die Datei entsprechend angepasst
Die "Breite" des Conky-Fensters ist dementsprechend eigtl. wunderbar.
minimum_size 1280x180
maximum_width 1280
....
${image ~/.conkyrc/pix/background.png -p -1,0 -s 1300x180}
(Bitte nicht über "-1" und "1300" wundern, ohne diese Einstellung hätte ich links oder rechts einen weißen Rand 😉)
Nur die Höhe des Fensters stimmt hinten und vorne nicht.
Durch die Option "-s 1300x180" sollte doch das Bild (und somit Conky an sich) nicht höher als 180px sein oder?
Doch in Wirklichkeit zeigt mir Conky das Bild 1300x180 skaliert an, Conky ist tatsächlich ganze 1300x400 groß?!
Dies macht sich insofern bemerkbar, dass Symbole etc. auf dem Desktop von dieser unsichtbaren Höhe verdeckt werden.
Also falls irgendjemand den Fehler in der Conky-Configuration findet, warum das Conky-Fenster höher als 180px ist, wäre ich sehr dankbar!
# Default Fonts
use_xft yes
xftfont Ubuntu:size=8
override_utf8_locale yes
# Performance Settings
update_interval 1
total_run_times 0
double_buffer yes
no_buffers yes
net_avg_samples 2
text_buffer_size 2048
# Window Settings
own_window_class Conky
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,skip_taskbar,sticky,skip_pager
# Window border
draw_borders no
draw_shades yes
# Default Color
default_color E0DFDE
# Color Title.
color0 DD3A21
# Size and position
minimum_size 1280x180
maximum_width 1280
gap_x 0
gap_y 0
alignment top_left
TEXT
${GOTO 60}${font Ubuntu:bold:size=10}System${GOTO 320}${font Ubuntu:bold:size=10}Ressourcen${GOTO 620}${font Ubuntu:bold:size=10}Dateisystem${GOTO 920}${font Ubuntu:bold:size=10}Netzwerk${GOTO 1200}${font Ubuntu:bold:size=10}Units${font}
${GOTO 120}${voffset -30}${font OpenLogos:size=50}B${font}
${voffset -14}${GOTO 60}${font Ubuntu:bold:size=9}Computer${font}${GOTO 132}:${GOTO 140}${nodename}${GOTO 320}${font Ubuntu:bold:size=9}RAM${font}${GOTO 380}: ${mem} | ${memmax}${GOTO 620}${font Ubuntu:bold:size=9}Dir. ${GOTO 665}| ${GOTO 675}Gesamt${GOTO 730}|${GOTO 745}Belegt${GOTO 795}|${GOTO 810}Frei${font}${GOTO 920}${font Ubuntu:bold:size=9}Öffentliche IP${font}${GOTO 1020}:${GOTO 1040} ${execi 1800 ~/.conkyrc/scripts/ip.sh} ${GOTO 1200}${font Ubuntu:bold:size=9}Battery${font}${GOTO 1270}: ${battery_percent} % - ${acpiacadapter}
${GOTO 60}${font Ubuntu:bold:size=9}System${font}${GOTO 132}:${GOTO 140}${sysname} ${kernel}${GOTO 380} ${membar 5,120} - ${memperc} %${GOTO 620}_____________________________________________${GOTO 920}${font Ubuntu:bold:size=9}Lokale IP${font}${GOTO 1020}:${GOTO 1040} ${addr eth1}
${GOTO 60}${font Ubuntu:bold:size=9}Architektur${font}${GOTO 132}:${GOTO 140}$machine${GOTO 320}${font Ubuntu:bold:size=9}CPU 1${font}${GOTO 380}: ${cpubar cpu1 5,120} - ${cpu cpu1} %${GOTO 1200}${font Ubuntu:bold:size=9}HDD${font}${GOTO 1270}: ${execi 4 sensors | grep -A 0 'temp1' | cut -c15-18} °C
${GOTO 60}${font Ubuntu:bold:size=9}Laufzeit${font}${GOTO 132}:${GOTO 140}${uptime} ${GOTO 320}${font Ubuntu:bold:size=9}CPU 2${font}${GOTO 380}: ${cpubar cpu2 5,120} - ${cpu cpu2} %${GOTO 620}${font Ubuntu:bold:size=9}root${font}${GOTO 680}${fs_size /}${GOTO 745}${fs_used /}${GOTO 810}${fs_free /}${GOTO 920}${font Ubuntu:bold:size=9}Empfangsrate${font}${GOTO 1020}:${GOTO 1040}${downspeedf eth1} /s
${GOTO 320}${font Ubuntu:bold:size=9}${font}${GOTO 380} ${GOTO 620}${font Ubuntu:bold:size=9}${font}${GOTO 680}${fs_bar_free 5,120 /}${GOTO 810}${fs_free_perc /}%${GOTO 920}${font Ubuntu:bold:size=9}Empfang in MB${font}${GOTO 1020}:${GOTO 1040}${totaldown eth1}${GOTO 1200}${font Ubuntu:bold:size=9}Prozessor${font}${GOTO 1270}: ${acpitemp} °C
${GOTO 60}${font Ubuntu:bold:size=9}Datum${font}${GOTO 132}:${GOTO 140}${time %A, %d %b %Y}${GOTO 320}${font Ubuntu:bold:size=9}Top3${font}${GOTO 380}: ${top_mem name 1}${GOTO 528}${top_mem mem 1} ${GOTO 920}${font Ubuntu:bold:size=9}Upload Rate${font}${GOTO 1020}:${GOTO 1040}${upspeedf eth1} /s${GOTO 620}${font Ubuntu:bold:size=9}home${font}${GOTO 680}${fs_size /home/}${GOTO 745}${fs_used /home/}${GOTO 810}${fs_free /home/}
${GOTO 60}${font Ubuntu:bold:size=9}Zeit${font}${GOTO 132}:${GOTO 140}${time %H:%M %p}${GOTO 320}${font Ubuntu:bold:size=9}${font}${GOTO 380}: ${top_mem name 2}${GOTO 528}${top_mem mem 2} ${GOTO 620}${font Ubuntu:bold:size=9}${font}${GOTO 680}${fs_bar_free 5,120 /home/}${GOTO 810}${fs_free_perc /home/}%${GOTO 920}${font Ubuntu:bold:size=9}Upload in MB${font}${GOTO 1020}:${GOTO 1040}${totalup eth1} ${GOTO 1200}${font Ubuntu:bold:size=9}Frequency${font}${GOTO 1270}: ${freq_g} Ghz
${GOTO 380}: ${top_mem name 3}${GOTO 528}${top_mem mem 3}${GOTO 620}${font Ubuntu:bold:size=9}Daten${font}${GOTO 680}${fs_size /media/Data}${GOTO 745}${fs_used /media/Data}${GOTO 810}${fs_free /media/Data}
#### background & icons ######
${image ~/.conkyrc/pix/background.png -p -1,0 -s 1300x180}
${image ~/.conkyrc/pix/system.png -p 5,20 -s 45x45}
${image ~/.conkyrc/pix/resources.png -p 260,20 -s 45x45}
${image ~/.conkyrc/pix/file-system.png -p 560,20 -s 45x45}
${image ~/.conkyrc/pix/wireless.png -p 860,20 -s 45x45}
${image ~/.conkyrc/pix/units.png -p 1140,20 -s 45x45}
### Units ###
${image ~/.conkyrc/pix/units/batt.png -p 1157,60 -s 25x25}
${image ~/.conkyrc/pix/units/hdd.png -p 1160,90 -s 25x25}
${image ~/.conkyrc/pix/units/proc.png -p 1160,120 -s 25x25}
${image ~/.conkyrc/pix/units/freq.png -p 1160,152 -s 25x25}
${exec feh --bg-scale "`grep 'wallpaper=' ~/.kde4/share/config/plasma-desktop-appletsrc | tail --lines=1 | sed 's/wallpaper=//'`"}