LINUX.ORG.RU

conky @ KDE 4.2.х


0

0

Выложите пожалуста .conkyrc у кого нормально работает

у меня что-то не хочет


~ :$conky
Conky: forked to background, pid is 24829
~ :$
Conky: desktop window (1a000d3) is subwindow of root window (13b)
Conky: window type - override
Conky: drawing to created window (0x3200001)
Conky: drawing to double buffer
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 2 (X_ChangeWindowAttributes)
Serial number of failed request: 234
Current serial number in output stream: 235

★★★★★

с XFCE был вот такой вот .conkyrc

# set to yes if you want Conky to be forked in the background
background yes                                               

# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7                                                            
#font 6x10                                                           
#font 7x13                                                           
#font 8x13                                                           
#font 9x15                                                           
#font *mintsmild.se*                                                 
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*                                  


# Use Xft?
use_xft yes

# Xft font when Xft is enabled
#xftfont Bitstream Vera Sans Mono:size=8
#xftfont Terminus:size=8                
#xftfont Liberation Sans Mono:size=9    
xftfont anorexia:size=16                

# Text alpha when using Xft
xftalpha 0.8               

# Print everything to console?
# out_to_console no           

# mail spool
#mail_spool $MAIL

# k M G instead of kib mib gib
short_units yes               

# Update interval in seconds
update_interval 1.0         

# 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                                                     
# override normal desktop                                          
own_window_type override                                           
own_window_transparent yes                                         
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 1000 5        

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no 

# Draw borders around text
draw_borders no           

# Stippled borders?
stippled_borders 8 

# border margins
border_margin 4 

# border width
border_width 1

# Default colors and also border colors
default_color white                    
default_shade_color black              
default_outline_color white            

# Text alignment, other possible values are commented
alignment top_left                                   
#alignment top_right                                 
#alignment bottom_left                               
#alignment bottom_right                              

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 1240                                
gap_y 2                                   

# 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 1                 

# number of net samples to average
# set to 1 to disable averaging   
net_avg_samples 1                 

# 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 yes                                                                    

#http://conky.sourceforge.net/variables.html
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument                                          


#${color red}BAT: ${color}${battery}
#${color slate grey}kernel:${color }$kernel
#${color slate grey}uptime: ${color }$uptime
# stuff after 'TEXT' will be formatted on screen

TEXT
дальше настройки вывода

Sylvia ★★★★★
() автор топика

нда, сутки прошли, ни одного ответа,
не верю что никто совсем не пользуется conky с KDE4

Sylvia ★★★★★
() автор топика
Ответ на: комментарий от Sylvia

Никто. А зачем? Есть же плазма.

Deleted
()

помню была такая ошибка.в гноме работало нормально в кедах не работало. # Use Xft?

use_xft yes

# Xft font when Xft is enabled

# xftfont Bitstream Vera Sans Mono:size=8

xftfont Braille-HCs:size=8

# Text alpha when using Xft

xftalpha 0.8

alignment bottom_left

double_buffer yes

background yes #yes

#border_width 1

cpu_avg_samples 2

default_color white

default_outline_color white

default_shade_color white

draw_borders no

draw_graph_borders no

draw_outline no

draw_shades no

minimum_size 220 5

maximum_width 300

gap_x 5

gap_y 60

minimum_size 5 5

net_avg_samples 2

no_buffers yes

out_to_console no

own_window yes

own_window_transparent yes

own_window_type normal

own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

#проблема помоему была где-то в предыдущих 4 строчка.сначало привел в дефолтное состояние,а потом уже по одному добавлял.вроде работает

stippled_borders 0

update_interval 0.5

uppercase yes

use_spacer no

show_graph_scale no

show_graph_range no

override_utf8_locale yes

TEXT

${scroll 25 $nodename - $sysname $kernel on $machine | }

$hr

${color #80CC59}Date: ${alignr}${color white}${time %d %B,%A}

${color #80CC59}Time: ${alignr}${color white}${time %k:%M:%S}${alignr}${color}

${color #80CC59}Uptime: ${alignr}${color white}$uptime

$hr

${alignc}Система

${alignc}${color #ffffff}${cpu cpu1}% ${cpugraph cpu1 25,140 A1B6CB A1B6CB}

${alignc}${cpu cpu2}% ${cpugraph cpu2 25,140 A1B6CB A1B6CB}

${color #80CC59}Частота CPU: ${alignr}${color #ffffff}${freq}MHz

${alignc}Температура

${color #80CC59}CPU: ${alignc}GPU:

${color #ffffff}${execi 10 sensors | grep '°' | cut -b15-16}

${alignc}${color #ffffff}${execi 10 nvidia-settings -q gpucoretemp |grep '):' | awk '{print $4}' | cut -b1-2} ${color #80CC59}RAM Usage:

${color white} $mem/$memmax - $memperc%

${color #80CC59}Swap Usage:

${color white} $swap/$swapmax - $swapperc%

${color #80CC59}Processes:${color white} $processes ${color #80CC59}Running:${color white} $running_processes $color

$hr

${alignc }${color #ffffff}Сеть

${color green} ${downspeed eth0} k/s ${alignr}${downspeedgraph eth0 25,130 green green}

${color red} ${upspeed eth0} k/s ${alignr} ${upspeedgraph eth0 25,130 red red}

${color white}

$hr

${alignc}${color #ffffff}Файловая система

${color #80CC59} /: ${alignr}${color white}${fs_used /}/${fs_size /}

${color #80CC59}свободно:${alignr}${color white} ${fs_free /}

${fs_free_perc /}%

${fs_bar 5,180 /}

${color #80CC59}home: ${alignr}${color white}${fs_used /home} /${fs_size /home}

${color #80CC59}свободно:${alignr}${color white} ${fs_free /home}

${fs_free_perc /home}%

${fs_bar 5,180 /home}

${color #80CC59}C: ${alignr}${color white}${fs_used /media/C}/${fs_size /media/C}

${color #80CC59}свободно:${alignr}${color white} ${fs_free /media/C}

${fs_free_perc /media/C}%

${fs_bar 5,180 /media/C}

${color #80CC59}D: ${alignr}${color white}${fs_used /media /D}/${fs_size /media/D}

${color #80CC59}свободно:${alignr}${color white} ${fs_free /media/D}

${fs_free_perc /media/D}%

${fs_bar 5,180 /media/D}

$hr

${alignc}Процессы

${color #80CC59}Имя ${alignr}${color red} CPU % MEM %

${color #ffffff} ${top name 1} ${alignr} ${top cpu 1} ${top mem 1}

${color #ffffff} ${top name 2} ${alignr} ${top cpu 2} ${top mem 2}

${color #ffffff} ${top name 3} ${alignr} ${top cpu 3} ${top mem 3}

${color #ffffff} ${top name 4} ${alignr} ${top cpu 4} ${top mem 4}

${color #ffffff} ${top name 5} ${alignr} ${top cpu 5} ${top mem 5}

${color #80CC59}Mem usage

${color #ffffff} ${top_mem name 1} ${alignr} ${top_mem cpu 1}

${top_mem mem 1}

${color #ffffff} ${top_mem name 2} ${alignr} ${top_mem cpu 2}

${top_mem mem 2}

${color #ffffff} ${top_mem name 3} ${alignr} ${top_mem cpu 3}

${top_mem mem 3}

${color #ffffff} ${top_mem name 4} ${alignr} ${top_mem cpu 4}

${top_mem mem 4}

${color #ffffff} ${top_mem name 5} ${alignr} ${top_mem cpu 5}

${top_mem mem 5}

nexus86
()

В конфиге должно быть "own_window yes", иначе окно потеряется под плазмодесктопом. Если окно прозрачное, то запускать надо с feh, отрисовывающим под коньками текущий волпапер.

fenris ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.