You are not logged in.

#1 2008-08-03 23:57:59

Dfizzle
Member
From: Finland
Registered: 2008-07-29
Posts: 29

Conky problem

Hello. I have defined minimum_width to 1280 for conky, which is also my resolution. However, The rightern most part is not used.
I still haven't found a way to fix this :[
Here's a screenshot about the problem and .conkyrc file:

2008-08-04-025113_1280x1024_scrot539.png.xs.jpg

# Conky configuration
background yes
use_xft yes
xftfont "AvantGarde-Book Th":size=8
xftalpha 0.8
out_to_console no
update_interval 1
total_run_times 0.5
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
stippled_borders 5
border_margin 1
border_width 1
default_color grey
default_shade_color black
default_outline_color black
alignment top_left
gap_x 0
gap_y 0
no_buffers no
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
use_spacer none
minimum_size 1280 10
maximum_width 1280
TEXT
${alignc 0}${color #CCFF00}$uptime up // CPU: ${cpubar cpu1 6,70} // RAM:${color #CCFF00} ${membar 6,70} // hd: ${fs_free /home/dfizzle/} // ${if_up wlan0}wlan: ${wireless_link_qual_perc wlan0}% // down: ${downspeed wlan0}kb/s total: ${totaldown wlan0} // up: ${upspeed wlan0}kb/s total: ${totalup wlan0} $endif ${if_up ath0}wlan: ${wireless_link_qual_perc ath0}% // down: ${downspeed ath0}kb/s total: ${totaldown ath0} // up: ${upspeed ath0}kb/s total: ${totalup ath0}$endif ${if_running mpd}// np: $mpd_smart $endif $color $alignc

Thinkpad L450 | Thinkpad L440 | mITX for life

Offline

#2 2008-08-05 13:13:18

Dfizzle
Member
From: Finland
Registered: 2008-07-29
Posts: 29

Re: Conky problem

bumpy neutral


Thinkpad L450 | Thinkpad L440 | mITX for life

Offline

#3 2008-08-05 13:56:56

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: Conky problem

I can't see your shot because the site says the server is overloaded, but I think just because you have defined a minimum size for the window doesn't mean the text will use the whole size. you would have to add some spaces or right align variable, etc.

Offline

#4 2008-08-05 15:31:23

Dfizzle
Member
From: Finland
Registered: 2008-07-29
Posts: 29

Re: Conky problem

mirror: http://bayimg.com/JakLGAAbB
I just tried right align, but didn't work (Or maybe I just can't :l)


Thinkpad L450 | Thinkpad L440 | mITX for life

Offline

#5 2008-08-15 11:57:15

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: Conky problem

i have the exact same issue; i'd love if someone had a solution.

the only way i solved it (as mentioned) was to put what fits on the left then ${alignr} the rest of it

screenshot:

http://www.imagerocket.net/photos/12187 … esktop.jpg

conky:
(apolologies if word-wrapped)

#
#Conky Config File
#

update_interval 1
total_run_times 0
background no
double_buffer yes

use_xft yes
xftfont bauhaus:pixelsize=10
xftalpha 0.8

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

minimum_size 1270 0

draw_shades no
draw_outline no

draw_borders no
#border_margin 1
#border_width 1

default_color  ffffff
default_shade_color 000000
color1 yellow

alignment top_left
gap_x 5
gap_y 5

no_buffers yes
uppercase no

cpu_avg_samples 2
net_avg_samples 2

override_utf8_locale no

TEXT
${color blue}$nodename ${color}- $kernel ${color1}$uptime ${color}| ${color1}$running_processes ${color}of ${color1}$processes ${color}| CPU: ${color1}$cpu% ${color}RAM: ${color1}$memperc% ${color}SWAP: ${color1}$swapperc% ${color}| ${addr eth0} ${color1}${downspeed eth0} ${color}D ${color1}${upspeed eth0} ${color}U | ${color}USB: ${color1}${fs_free /media/usb_sdb1} ${color}free ${alignr}Now Playing: ${color1}${execi 10 ~/.conky/amarok.sh title} ${color}by ${color1}${execi 10 ~/.conky/amarok.sh artist} ${color}on ${color1}${execi 10 ~/.conky/amarok.sh album}
${offset 10}${color}Currently: ${color1}${execi 300 ~/.conky/weather.sh 0213}${alignr}${offset -10}$time

Offline

#6 2008-08-22 14:56:37

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: Conky problem

solution:

add this to your conky variables up top:

text_buffer_size 256

hope you're still reading this thread

Last edited by brisbin33 (2008-08-22 14:56:50)

Offline

Board footer

Powered by FluxBB