You are not logged in.

#1 2009-07-08 16:11:28

*blasco*
Member
Registered: 2008-12-08
Posts: 40

[Solved] Conky text doesn't appear

Hi to all..I have a strange problem with conky. I run conky two times with two different conkyrc files with a script in .kde4/Autostart/conky.sh

#!/bin/sh
feh --bg-scale "`grep 'wallpaper=' ~/.kde4/share/config/plasma-appletsrc | tail --lines=1 | sed 's/wallpaper=//'`/contents/imag$
sleep 25s && conky --config=/home/mauri/.conkyrc && sleep 5 && conky --config=/home/mauri/.conkyrc2

Conky with the .conkyrc2 configuration file is not fully figured. I posto an  image:
conkybug.jpg

The /var/log/messages are not all reported, but only the first 3 lines and an half of the 4th! Instead of the last 10 lines of the messages.log file.

The correct output should be this:

Jul  8 17:43:01 arch dhcpcd: eth0: leased 192.168.0.9 for 604800 seconds                                                       
Jul  8 17:48:01 arch dhcpcd: eth0: renewing lease of 192.168.0.9                                                               
Jul  8 17:48:01 arch dhcpcd: eth0: acknowledged 192.168.0.9 from 192.168.0.1                                                   
Jul  8 17:48:01 arch dhcpcd: eth0: leased 192.168.0.9 for 604800 seconds                                                       
Jul  8 17:53:01 arch dhcpcd: eth0: renewing lease of 192.168.0.9                                                               
Jul  8 17:53:01 arch dhcpcd: eth0: acknowledged 192.168.0.9 from 192.168.0.1
Jul  8 17:53:01 arch dhcpcd: eth0: leased 192.168.0.9 for 604800 seconds
Jul  8 17:58:01 arch dhcpcd: eth0: renewing lease of 192.168.0.9
Jul  8 17:58:01 arch dhcpcd: eth0: acknowledged 192.168.0.9 from 192.168.0.1
Jul  8 17:58:01 arch dhcpcd: eth0: leased 192.168.0.9 for 604800 seconds

This is my conkyrc file:

double_buffer yes
background yes

use_xft yes
xftfont Monospace:size=8
#xftalpha 0.8

update_interval 1.0

total_run_times 0

own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,sticky,skip_pager
no_buffers yes

minimum_size 700 130
maximum_width 700
draw_shades no
draw_outline no
draw_borders yes
stippled_borders 0
alignment bottom_left
gap_x 20
gap_y 20
uppercase no

#use_spaces yes

color0 7d7d7d
color1 slategrey
color2 ffffff

TEXT
${color2}/var/log/messages
${color2}${execi 30 sudo tail -n10 /var/log/messages.log}
#${stippled_hr 2 1}

Thank You.

Last edited by *blasco* (2009-07-08 16:43:38)

Offline

#2 2009-07-08 16:37:23

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: [Solved] Conky text doesn't appear

Conky manpage lists this option:

text_buffer_size bytes
              Size of the standard text buffer (default is 256 bytes). This buffer is used for intermediary text, such as  individual  lines,  output  from
              $exec  vars,  and  various other variables. Increasing the size of this buffer can drastically reduce Conky's performance, but will allow for
              more text display per variable. The size of this buffer cannot be smaller than the default value of 256 bytes.

Try increasing it.

Last edited by moljac024 (2009-07-08 16:39:18)


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#3 2009-07-08 16:42:56

*blasco*
Member
Registered: 2008-12-08
Posts: 40

Re: [Solved] Conky text doesn't appear

It works..Thank you very much!!

Offline

Board footer

Powered by FluxBB