13.10.2012, 19:55
Mam mały problem z conky. Nie mogę ustawić, aby nie był w oddzielnym oknie, tzn nie zasłaniał innych okien. Zmieniałem own_window na no, lecz po kliknięci na pulpitconky znikał i po chwili pojawiał się.
alignment top_right
background no
border_width 0
cpu_avg_samples 2
default_color white
default_outline_color black
default_shade_color black
double_buffer yes
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades yes
use_xft yes
xftfont terminus:size=9
gap_x 10
gap_y 50
minimum_size 200 100
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_class Conky
own_window_transparent yes
own_window_type override
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no
# all the following part ''till the end is about the features of the conky
TEXT
${font Ubuntu:style=bold:size=30}${time %H:%M}${font}
${font Ubuntu: size=10}${time %A %e %B %Y}
${font Ubuntu:style=bold:size=10}System $hr
${font Ubuntu:size=9}$sysname $kernel $alignr $machine
Nazwa: $alignr $nodename
Czas: $alignr $uptime
#
# THE BATTERY STATUS IS NOT CORRECT or IT DOESN''T WORK AT ALL???
# Write the following line in your terminal emulator
#
# $ ls /proc/acpi/battery
#
# In my laptop, the answer is
#
# $BAT0
#
# If you obtain another answer, replace every BAT0 in the following lines with the correct word (for example, BAT1, BAT1 ecc...)
# Close conky and open it again. the Battery Bar should show the correct status
#
# End of the part involving the battery.
# If your machine isn''t a laptop, you can delete this three lines
${font Ubuntu:style=bold:size=10}Procesor (${freq} MHz) $hr
${font Ubuntu:size=9}CPU1: ${cpu cpu1}% ${cpubar cpu1}
CPU2: ${cpu cpu2}% ${cpubar cpu2}
CPU3: ${cpu cpu3}% ${cpubar cpu3}
CPU4: ${cpu cpu4}% ${cpubar cpu4}
Temperatura: $alignr ${hwmon temp 1}°C
${font Ubuntu:style=bold:size=10}Dysk $hr
${font}ROOT $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar /}
HOME $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_used_perc /home}%
${fs_bar /home}
RAM $alignc $mem / $memmax $alignr $memperc%
${membar}
SWAP $alignc $swap / $swapmax $alignr $swapperc%
$swapbar
#
# the following final lines explain wich are the most expensive precesses in your pc actually
#if you aren''t interested in, delete all the following lines
${font Ubuntu:style=bold:size=10}Procesy CPU $hr
${font Ubuntu:size=9}${top name 1}$alignr${top cpu 1}%
${top name 2}$alignr${top cpu 2}%
${top name 3}$alignr${top cpu 3}%
${top name 4}$alignr${top cpu 4}%
${font Ubuntu:style=bold:size=10}Procesy RAM $hr
${font Ubuntu:size=9}${top_mem name 1}$alignr${top_mem mem 1}%
${top_mem name 2}$alignr${top_mem mem 2}%
${top_mem name 3}$alignr${top_mem mem 3}%
${top_mem name 4}$alignr${top_mem mem 4}%
alignment top_right
background no
border_width 0
cpu_avg_samples 2
default_color white
default_outline_color black
default_shade_color black
double_buffer yes
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades yes
use_xft yes
xftfont terminus:size=9
gap_x 10
gap_y 50
minimum_size 200 100
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_class Conky
own_window_transparent yes
own_window_type override
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no
# all the following part ''till the end is about the features of the conky
TEXT
${font Ubuntu:style=bold:size=30}${time %H:%M}${font}
${font Ubuntu: size=10}${time %A %e %B %Y}
${font Ubuntu:style=bold:size=10}System $hr
${font Ubuntu:size=9}$sysname $kernel $alignr $machine
Nazwa: $alignr $nodename
Czas: $alignr $uptime
#
# THE BATTERY STATUS IS NOT CORRECT or IT DOESN''T WORK AT ALL???
# Write the following line in your terminal emulator
#
# $ ls /proc/acpi/battery
#
# In my laptop, the answer is
#
# $BAT0
#
# If you obtain another answer, replace every BAT0 in the following lines with the correct word (for example, BAT1, BAT1 ecc...)
# Close conky and open it again. the Battery Bar should show the correct status
#
# End of the part involving the battery.
# If your machine isn''t a laptop, you can delete this three lines
${font Ubuntu:style=bold:size=10}Procesor (${freq} MHz) $hr
${font Ubuntu:size=9}CPU1: ${cpu cpu1}% ${cpubar cpu1}
CPU2: ${cpu cpu2}% ${cpubar cpu2}
CPU3: ${cpu cpu3}% ${cpubar cpu3}
CPU4: ${cpu cpu4}% ${cpubar cpu4}
Temperatura: $alignr ${hwmon temp 1}°C
${font Ubuntu:style=bold:size=10}Dysk $hr
${font}ROOT $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar /}
HOME $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_used_perc /home}%
${fs_bar /home}
RAM $alignc $mem / $memmax $alignr $memperc%
${membar}
SWAP $alignc $swap / $swapmax $alignr $swapperc%
$swapbar
#
# the following final lines explain wich are the most expensive precesses in your pc actually
#if you aren''t interested in, delete all the following lines
${font Ubuntu:style=bold:size=10}Procesy CPU $hr
${font Ubuntu:size=9}${top name 1}$alignr${top cpu 1}%
${top name 2}$alignr${top cpu 2}%
${top name 3}$alignr${top cpu 3}%
${top name 4}$alignr${top cpu 4}%
${font Ubuntu:style=bold:size=10}Procesy RAM $hr
${font Ubuntu:size=9}${top_mem name 1}$alignr${top_mem mem 1}%
${top_mem name 2}$alignr${top_mem mem 2}%
${top_mem name 3}$alignr${top_mem mem 3}%
${top_mem name 4}$alignr${top_mem mem 4}%