jak już wspomniałem w innych wątku, zainstalowałem KDE 4.1.1. Chciałem dodać conky. Po wielu próbach okazało się, że włączone double_buffer nie działa i powoduje, że ekran pulpitu jest cały czarny.
Z wyłączonym double_buffer conky pojawia się, ale widać brzydkie odświeżanie i migotanie.
Conky jest dodane do autostartu i skrypt ten wygląda tak:
Kod: Zaznacz cały
feh --bg-scale "`grep 'wallpaper=' ~/.kde/share/config/plasma-appletsrc | tail --bytes=+11`"
conky -c .conkyrc/.conkyrc1 &
while inotifywait ~/.kde/share/config/plasma-appletsrc; do
feh --bg-scale "`grep 'wallpaper=' ~/.kde/share/config/plasma-appletsrc | tail --bytes=+11`"
done
Kod: Zaznacz cały
background no
gap_x 50
gap_y 300
maximum_width 200
update_interval 0.5
total_run_times 0
own_window no
#own_window_type normal
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window_transparent yes
# If own_window_transparent is set to no, you can set the background colour here
#own_window_colour hotpink
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer no
draw_shades no
draw_outline no
draw_borders no
stippled_borders 8
border_margin 4
border_width 1
default_color #060606
default_shade_color black
default_outline_color white
alignment top_left
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer none
short_units yes
TEXT
UpTime:
$uptime
CPU temp
$acpitemp
CPU usage
$cpubar
RAM ${alignr}$mem
INTERNET
DL: ${downspeed eth0} UP: ${upspeed eth0}
TotalDL: ${totaldown eth0} TotalUP: ${totalup eth0}
Kod: Zaznacz cały
Section "Files"
FontPath "/usr/local/share/fonts"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "pl"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
EndSection
Section "Device"
Identifier "nVidia Corporation G70 [GeForce 7300 GT]"
Driver "nvidia"
BusID "PCI:2:0:0"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 31-80
VertRefresh 56-75
EndSection
Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation G70 [GeForce 7300 GT]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
#Option "TripleBuffer" "true"
#Option "no GLXFBConfig for depth 32"
#Option "AddAR GBVisuals" "True"
#Option "AddARGBGLXVisuals" "True"
#Option "DisableGLXRootClipping" "true"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "Module"
Load "glx"
Load "freetype"
Load "dbe"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection