Autor Tópico: Conky sumindo...  (Lida 2490 vezes)

Offline HelderC

  • Usuário Ubuntu
  • *
  • Mensagens: 227
  • helderc at IRC.Freenode
    • Ver perfil
    • HelderC
Conky sumindo...
« Online: 04 de Outubro de 2009, 12:21 »
Pessoal, instalei o Conky, peguei um .conkyrc e fiz algumas alterações.

Eu estava antes com um problema que o Conky aparecia quando o desktop inicializava, mas logo depois sumia, mas sempre continuava rodando,
então mudei a linha  own_window_type de override para normal então esse problema foi resolvido, agora, o problema é que o Conky some toda vez que eu clico naquele botão "Mostrar área de trabalho", mas o Conky continua rodando...

Alguém poderia me dar uma ajuda nisso?

Segue abaixo meu .conkyrc

Código: [Selecionar]
# Use Xft?
use_xft yes
xftfont Liberation Serif:size=8
xftalpha 0.8
text_buffer_size 2048
color0 FFFFFF
color1 1866e8

# 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 normal # Try also 'normal' or '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 180 0
#maximum_width 200

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

# border width
border_width 1

# Default colors and also border colors
default_color white
#default_shade_color black
#default_outline_color white
own_window_colour 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 35
gap_y 50

# 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 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
SISTEMA ${hr 2}
   ${voffset 4}Kernel:  ${alignr}${kernel}
   ${voffset 4}CPU: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
   ${voffset 4}RAM: $memperc% ${alignr}${membar 8,60}
   ${voffset 4}SWAP: $swapperc% ${alignr}${swapbar 8,60}
   ${voffset 4}Ligado: ${alignr}${uptime}

DATA ${hr 2}
${alignc 35}${font Arial Black:size=26}${time %H:%M}${font}
${alignc}${time %A %d %Y}

HD ${hr 2}
   ${voffset 4}Usado/Total:
   ${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}

REDE ${hr 2}
   ${voffset 4}Down ${downspeed eth0} k/s ${alignr}Up ${upspeed eth0} k/s
   ${downspeedgraph eth0 25,100 1866e8 3e84fc} ${alignr}${upspeedgraph eth0 25,100 1866e8 3e84fc}
   Total ${totaldown eth0} ${alignr}Total ${totalup eth0}
   ${voffset 4}Ip Local: ${alignr}${addr eth0}

WIRELESS ${hr 2}
   ${voffset 4}Down ${downspeed wlan1} k/s ${alignr}Up ${upspeed wlan1} k/s
   ${downspeedgraph wlan1 25,100 1866e8 3e84fc} ${alignr}${upspeedgraph wlan1 25,100 1866e8 3e84fc}
   Total ${totaldown wlan1} ${alignr}Total ${totalup wlan1}
   ${voffset 4}Ip Local: ${alignr}${addr wlan1}

CALENDÁRIO ${hr 2}
${voffset 4}${font DejaVu Sans:pixelsize=10}${alignc}${execi 60 date +"%B %Y" | tr "[:lower:]" "[:upper:]"}${font Snap.se:size=8 }${font}
${font DejaVu Sans Mono:size=10}${execpi 60 cal | sed '1d' | sed '3d' | sed '2d' | sed '2d' | sed '2d' | sed '2d' | sed '2d' | sed 's/^/${alignc} /'}${font}
${font DejaVu Sans Mono:size=10}${execpi 60 DJS=`date +%_d`; cal | sed '1d' | sed '/./!d' | sed 's/$/                    /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color1}'"$DJS"'${color0}'" "/}${font}

Offline Darth Vader

  • Usuário Ubuntu
  • *
  • Mensagens: 323
    • Ver perfil
Re: Conky sumindo...
« Resposta #1 Online: 04 de Outubro de 2009, 15:31 »
Isso aconte comigo tmb, daí eu tenho que finalizar o processo toda vez e executá-lo novamente para ele voltar a aparecer.