Jako że lubię testować nowe programy wyglądu- zainstalowałem conky Podoba mi sie ta aplikacja-lekka i mega konfigurowalna. Wgrałem sobie config, usunąłem migające ikonki, zedytowałem konfig według własnych potrzeb, jednak mam problem. Program nie obsługuje mi polskich liter. Tak jak dzisiaj jest Poniedziałek, conky tak wyświetla tę nazwę:
Co z tym zrobić? Chciałbym by wykrywał polskie znaki, jednak jak się nie da niech nie pokazuje tych "krzaczków’’
Druga sprawa to to że conky nie włącza się razem z systemem…
font -xos4-terminus-*-r-normal-*-12-100-*-*-c-*-iso10646-1
Też jest źle, ja w ogóle nie mam takiej linii, mam tylko coś z xftfont. Daj taki .conkyrc:
background yes
#prawy dolny rog
gap_x 1100
gap_y 100
maximum_width 170
# X font when Xft is disabled, you can pick one with program xfontsel
#font -*-*-*-r-normal--14-*-*-*-c-*-iso8859-2
# Use Xft?
use_xft yes
#xftfont Bitstream Vera Sans Mono:size=8
xftfont Terminus:encoding=utf-8:size=9
xftalpha 0.9
update_interval 1.0
total_run_times 0
own_window yes
own_window_type override
#own_window_type desktop
#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 yes
draw_shades yes
draw_outline no
draw_borders no
stippled_borders 8
border_margin 4
border_width 1
default_color white
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 yes
TEXT
${color #ddaa00}${font Terminus:encoding=iso8859-2:size=15}${time %A}${color}
${font :size=9}$alignc${color #ddaa00}${time %e %B %G}
${color slate grey}Czas:
$alignc${color }$uptime
${color }${color slate grey}Procesor: $color%${color #ddaa00}$cpu$alignr$color$running_processes/ $processes
${color slate grey}${cpugraph 25,170 000000 ffffff}
${font :size=8}${color #ddaa00}${top name 1}$alignr${top cpu 1}
${color lightgrey}${top name 2}$alignr${top cpu 2}
${color lightgrey}${top name 3}$alignr${top cpu 3}
${color lightgrey}${top name 4}$alignr${top cpu 4}
${font :size=9}
${color slate grey}Pamiec: $color%$memperc ${alignr}$mem
${membar 5,170}
poczekajcie powolutku na początek ten autostart.Wpisałem to:
i niestety conky nie uruchamia się z systemem. Po prostu nic sie nie pojawia
Po wpisaniu w polu polecenie samo conky kompletnie psuje start systemu-jak jest to logo ubuntu i pasek ładowania to się przycina i wyświetla się conky na 2 sekundy, później znika iładuje się system pokazuje pulpit i conky nie mam
– Dodane 24.11.2009 (Wt) 14:05 –
zdaje mi się że trzeba zapodać takie polecenie, żeby conky uruchamiał się po 5 sekundach-tylko jakie?
ok z tego co widzę to conky uruchamia się już wraz ze startem-dzięki a teraz przejdźmy do tych literek.
Wynik polecenia locale :
Czcionki Terminus w OpenOffice nie widzę, ale z tego co widzę to jest masa innych czcionek które obslugują polskie znaki np. znaazłem czcionkę Purisa która ładnie wyglada-czy dałoby się ją ustawić na czcionkę w conky? Może to by załatwiło sprawe?
– Dodane 24.11.2009 (Wt) 14:45 –
niestety po zamianie pliku conkyrc na ten który podał dragonn jest dokładnie to samo-jako że dziś wtorek i nie ma jak sprawdzić, to zamieniłem Pamiec na Pamięć i wykrywa krzaczki…
To ją bym właśnie zmienił czcionki na np. Sansa ją tej używam w conky i wygląda całkiem ładnie, a na pewną ją masz w systemie. Możesz oczywiście dać jaką chcesz, ale jak nie będzie działać to spróbuj moją.
i zabiłem conky programem top, następnie uruchomiłem go na nowo i niestety nic sie nei zmieniło, czcionka jest taka sama… :shock: a może nie te linijki co trzeba zmieniłem?
Ba tam masz części które nie będą chodzić no innych kompach i bez dodatkowych programów. Spróbuj tak:
# Use Xft?
use_xft yes
xftfont Sansa :size=7.8
xftalpha 0.5
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 override
#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 250
# 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 1
# border width
border_width 2
# Default colors and also border colors
default_color ffffff
default_outline_color 333333
#default_shade_color black
#default_outline_color black
#own_window_colour 000000
# Text alignment, other possible values are commented
alignment top_right
#alignment middle_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 10
gap_y 24
# 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
${color 555A56}System ${hr 1}$color
$kernel}
Uptime: ${uptime}
Load: $loadavg
Processes: $processes / Running: $running_processes
${color 555A56}CPU ${hr 1}$color
Clock: ${freq_g 1}Ghz${alignr}
CPU1: ${cpu cpu1}%${alignr}CPU2: ${cpu cpu2}%
${color 555A56}${cpubar cpu1 4,120}${alignr}${cpubar cpu2 4,120}$color
${color 555A56}${cpugraph cpu1 40,120 555A56 555A56}${alignr}${cpugraph cpu2 40,120 555A56 555A56}$color
${color 555A56}Disk ${hr 1}$color
DiskIO read: ${diskio_read /dev/sda}${alignr}DiskIO write: ${diskio_write /dev/sda}
${color 555A56}${diskiograph_read /dev/sda 40,120 555A56 555A56}${alignr}${diskiograph_write /dev/sda 40,120 555A56 555A56}$color
/root: ${fs_used /}/${fs_size /}${alignr}${color 555A56}${fs_bar 4,120 /}$color
/home ${fs_used /home}/${fs_size /home}${alignr}${color 555A56}${fs_bar 4,120 /home}$color
/boot ${fs_used /boot}/${fs_size /boot}${alignr}${color 555A56}${fs_bar 4,120 /boot}$color
${color 555A56}GFX ${hr 1}$color
${color 555A56}Memory ${hr 1}$color
${color 555A56}${memgraph 40,120 555A56 555A56}${voffset -40}$color${alignr}RAM: $mem / $memmax
${alignr}${color 555A56}${membar 4,95}$color ${memperc}%
${alignr}SWAP: $swap / $swapmax
${alignr}${color 555A56}${swapbar 4,95}$color${alignr} ${swapperc}%
${color 555A56}Network ${hr 1}$color
Ip: ${addr eth0}${alignr}Inbox: ${pop3_unseen pop3.adres login hasło [-i 10]}
Down: ${downspeed eth0}${alignr}Up: ${upspeed eth0}
Totaldown: ${totaldown eth0}${alignr}Totalup: ${totalup eth0}
${color 555A56}${downspeedgraph eth0 40,120 555A56 555A56 128}${alignr}${upspeedgraph eth0 40,120 555A56 555A56 32}$color
Albo tak (moje ustawienia dla conky a twój conky):
# Use Xft?
use_xft yes
xftfont Sansa :size=7.8
xftalpha 0.5
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 override
#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 250
# 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 1
# border width
border_width 2
# Default colors and also border colors
default_color ffffff
default_outline_color 333333
#default_shade_color black
#default_outline_color black
#own_window_colour 000000
# Text alignment, other possible values are commented
alignment top_right
#alignment middle_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 10
gap_y 24
# 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
${color #ddaa00}${font Terminus:encoding=iso8859-2:size=15}${time %A}${color}
${font :encoding=iso8859-2:size=9}$alignc${color #ddaa00}${time %e %B %G}
${color slate grey}Czas:
$alignc${color }$uptime
${color }${color slate grey}Procesor: $color%${color #ddaa00}$cpu$alignr$color$running_processes/ $processes
${color slate grey}${cpugraph 25,170 000000 ffffff}
${font :size=8}${color #ddaa00}${top name 1}$alignr${top cpu 1}
${color lightgrey}${top name 2}$alignr${top cpu 2}
${color lightgrey}${top name 3}$alignr${top cpu 3}
${color lightgrey}${top name 4}$alignr${top cpu 4}
${font :size=9}
${color slate grey}Pamiec: $color%$memperc ${alignr}$mem
${membar 5,170}
A teraz zauważałem, spróbuj najpierw w twoim conkyrc zmienić: