: 07 października 2007, 11:03
morys, po co edytujesz ten plik z roota? Przecież on jest w Twoim katalogu domowym...
Wklej cały.
Wklej cały.
Polski portal użytkowników dystrybucji Debian GNU/Linux, dyskusje, artykuły, nowości, blog, porady, pomoc.
https://593930.wb34atkl.asia/
Kod: Zaznacz cały
#!/bin/bash
sleep 10 && conky;
Kod: Zaznacz cały
smog@h149:~$ feh --bg-scale `dcop kdesktop KBackgroundIface currentWallpaper 1`
feh WARNING: KDE34.png - File does not exist
feh ERROR: Couldn't load image in order to set bg
Kod: Zaznacz cały
smog@h149:~$ find /usr | grep KDE34
/usr/share/wallpapers/KDE34.png
/usr/share/wallpapers/KDE34.png.desktop
Kod: Zaznacz cały
feh --bg-scale /usr/share/wallpapers/KDE34.png
Kod: Zaznacz cały
# conky configuration
background no
use_xft yes
#MPD host/port
#mpd_host localhost
#mpd_port 6600
xftfont Bitstream Vera Sans:size=7
xftalpha 0.8
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar
own_window_type override
double_buffer yes
minimum_size 200 5
draw_shades no
draw_outline no
draw_borders no
stippled_borders 8
border_margin 4
border_width 1
default_color white
default_shade_color grey
default_outline_color grey
alignment top_left
gap_x 50
gap_y 700
no_buffers yes
uppercase no
cpu_avg_samples 8
net_avg_samples 8
override_utf8_locale yes
use_spacer yes
TEXT
${alignc 50}${font Bitstream Vera Sans:size=7}${color black}System:${color white} Ubuntu Linux $kernel${font Bitstream Vera Sans Mono:size=7}
${alignc 75}$color${font Bitstream Vera Sans:size=7}${color black}Uzycie procesora:${color white} $cpu% ${cpubar 4,65}${font Bitstream Vera Sans Mono:size=7}
${alignc 50}${color black}Pojemnosc dysku hda: $color${fs_used /}/${fs_size /}${font Bitstream Vera Sans Mono:size=7}
${alignc 50}${color black}RAM:$color $mem/$memmax
${color black}Swap:$color $swap/$swapmax ${font Bitstream Vera Sans Mono:size=7}
${alignc 50}${color black}Wysylanie: $color ${upspeedf ppp0}kB/s${color black}
Pobieranie: $color ${downspeedf ppp0}kB/s${font Bitstream Vera Sans Mono:size=7}
${color black}Szesc pierwszych procesow:
${color #FFFFFF}${top name 1} ${top cpu 1}${top mem 1}
${color #FFFFFF}${top name 2} ${top cpu 2}${top mem 2}
${color #FFFFFF}${top name 3} ${top cpu 3}${top mem 3}
${color #FFFFFF}${top name 4} ${top cpu 4}${top mem 4}
${color #FFFFFF}${top name 5} ${top cpu 5}${top mem 5}
${color #FFFFFF}${top name 6} ${top cpu 6}${top mem 6}
${color black} Pogoda jaka jest u mnie:
${color white}${texeci 600 ~/.skrypty/pogodynka.sh}
Kod: Zaznacz cały
# conky configuration
background no
use_xft yes
#MPD host/port
#mpd_host localhost
#mpd_port 6600
xftfont Bitstream Vera Sans:size=7
xftalpha 0.8
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar
own_window_type override
double_buffer yes
minimum_size 200 5
draw_shades no
draw_outline no
draw_borders no
stippled_borders 8
border_margin 4
border_width 1
default_color white
default_shade_color grey
default_outline_color grey
alignment top_left
gap_x 50
gap_y 650
no_buffers yes
uppercase no
cpu_avg_samples 8
net_avg_samples 8
override_utf8_locale yes
use_spacer yes
TEXT
${alignc 50}${font Bitstream Vera Sans:size=7}${color white}System:${color white} Ubuntu Linux $kernel${font Bitstream Vera Sans Mono:size=7}
${alignc 75}$color${font Bitstream Vera Sans:size=7}${color white}Uzycie procesora:${color white} $cpu% ${cpubar 4,65}${font Bitstream Vera Sans Mono:size=7}
${alignc 50}${color white}Pojemnosc dysku hda: $color${fs_used /}/${fs_size /}${font Bitstream Vera Sans Mono:size=7}
${alignc 50}${color white}RAM:$color $mem/$memmax
${color white}Swap:$color $swap/$swapmax ${font Bitstream Vera Sans Mono:size=7}
${alignc 50}${color white}Wysylanie: $color ${upspeedf ppp0}kB/s${color white}
Pobieranie: $color ${downspeedf ppp0}kB/s${font Bitstream Vera Sans Mono:size=7}
${color white}Szesc pierwszych procesow:
${color #FFFFFF}${top name 1} ${top cpu 1}${top mem 1}
${color #FFFFFF}${top name 2} ${top cpu 2}${top mem 2}
${color #FFFFFF}${top name 3} ${top cpu 3}${top mem 3}
${color #FFFFFF}${top name 4} ${top cpu 4}${top mem 4}
${color #FFFFFF}${top name 5} ${top cpu 5}${top mem 5}
${color #FFFFFF}${top name 6} ${top cpu 6}${top mem 6}
${color white} Pogoda jaka jest u mnie:
${color white}${texeci 600 ~/.skrypty/pogodynka.sh}