You are not logged in.

#1 2013-11-03 21:21:50

bigboss
Member
Registered: 2013-10-09
Posts: 34

[solved]Conky moving...

Here's my code

background yes
alignment top_right
cpu_avg_samples 4
use_xft no
font 7x13
update_interval 0.5
total_run_times 0
update_interval_on_battery 20
double_buffer yes
own_window yes
own_window_type override
own_window_transparent yes
#default_bar_size 120 8
gap_y 20
gap_x 20
use_spacer yes

TEXT

${color red} ${alignc}System: $nodename
$alignc $gw_ip
${hr}
$alignc CPU Usage
${hr}
${color green}core_1: ${cpu cpu1}%  ${cpubar cpu1 10} 
core_2: ${color green}${cpu cpu2}%  ${cpubar cpu2 10} 
${color red}$hr
$alignc Memory 
$hr
${color green}Total: $memmax
In use: $mem 
Free: $memfree	
Using $memperc% ${membar memperc}
${color red}$hr
$alignc Battery 
$hr
${color green}${battery BAT1}

I really can't get why this is keep happening tried all of these :

1) use spacer left,right,yes
2)use a mono font

Still when the percentage of CPU goes to a 2 digit number conky is moving horizontally...
I use type_override coz I like conky to be bound instead of using a window..

Last edited by bigboss (2013-11-04 19:23:50)

Offline

#2 2013-11-03 21:27:53

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,722

Re: [solved]Conky moving...

Is there a question in there?  What is it that is happening?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2013-11-03 21:46:37

Jellicent
Member
From: Berlin
Registered: 2013-09-13
Posts: 189

Re: [solved]Conky moving...

Oh, I know what you mean. I had the same thing happen, I gave up on finding a way to avoid it.

ewaller: His text, centred, has a fixed space in which it will appear. The problem with that is, that as soon as a digit gets added (like cpu % jumping from 9 to 10) the text needs to be re-allocated on the given space.

As the manual states, spacer should get rid of this problem, but it either shouldn't do that but the description implies it does, or it should do it but for some weird reason we aren't able to make it behave like it should -- the text jumps

Offline

#4 2013-11-03 22:01:28

redstar
Member
Registered: 2013-06-20
Posts: 32

Re: [solved]Conky moving...

Adding these options solved the issue for me:

pad_percents 2
use_spacer left

Last edited by redstar (2013-11-03 22:01:49)

Offline

#5 2013-11-04 10:17:22

bigboss
Member
Registered: 2013-10-09
Posts: 34

Re: [solved]Conky moving...

adding that pad_percents redstar fixed the moving bar and conky itself also. Thank you. You may flag it as solved.

Offline

#6 2013-11-04 17:50:32

mrinx
Member
From: Richmond, VA
Registered: 2013-08-01
Posts: 87
Website

Re: [solved]Conky moving...

You should flag it as solved by editing your initial post and putting [SOLVED] at the beginning of the post title.


English isn't my first language.
Is Arch Linux user called archer? Where are our bows and arrows?

Offline

#7 2013-11-04 19:23:30

bigboss
Member
Registered: 2013-10-09
Posts: 34

Re: [solved]Conky moving...

done

Offline

Board footer

Powered by FluxBB