You are not logged in.

#1 2013-07-29 15:16:14

manolos
Member
From: Athens, Greece
Registered: 2009-06-06
Posts: 117

[SOLVED] Conky size problem

Hello.
I have this problem with conky http://i.imgur.com/MdksWuG.jpg
As you can see, conky takes more size on screen than it should. Also its not on the center of the screen.
Here is my .conkyrc

#avoid flicker
double_buffer yes

#own window to run simultanious 2 or more conkys
own_window  yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorate,sticky,skip_taskbar,skip_pager 

#borders
draw_borders no
border_margin 1

#shades
draw_shades no

#position
gap_x 6
gap_y 6
alignment top_middle

#behaviour
update_interval 1

#colour
default_color  000000
color2 FFFFFF
#color3 f6830f
color3 FFFFFF
#color4 fdc065
color4 FFFFFF

#default_shade_color 000000
own_window_colour 393939

#font
use_xft yes
xftfont Sans:pixelsize=11
#to prevent window from moving
use_spacer none
minimum_size 1680 0

TEXT
kernel: ${color2}${kernel} (${exec uname -m})   ${color4}| |   ${color}time: ${color2}${uptime_short}   ${color3}| |   ${color}cpu: ${color2}${cpu cpu0}%   ${color}${cpugraph cpu0 10,50 FFFFFF FFFFFF}  ${color4}  ${color3}| |   ${color}ram: ${color2}$memperc% ${color} ${memgraph 10,50 FFFFFF FFFFFF}   ${color4}| |   ${color}up: ${color2}${upspeedf enp4s0} kb/s ${color}${upspeedgraph enp4s0 10,50 FFFFFF FFFFFF}   ${color3}| |   ${color}down: ${color2}${downspeedf enp4s0} kb/s ${color}${downspeedgraph enp4s0 10,50 FFFFFF FFFFFF}   ${color4}| |   ${color}ip: ${color2}${execi 100 wget http://checkip.dyndns.org/ -q -O - | grep -Eo '\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>'}   ${color3}| |   ${color}ping: ${color2}${execi 20 ping -c3 -q google.com | grep 'ms' | awk -F'=' '{ printf $2}' | awk -F'ms' '{ printf $1}' | awk -F'/' '{ printf $2}'}ms   ${color4}| |   ${color}cpu: ${color2}${hwmon temp 1}°C  ${color}gpu: ${color2}${execi 2 nvidia-settings -q gpucoretemp -t}°C   ${color3}| |   ${color} hdd: ${color2}${fs_free /} free

more info: my screensize 1920x1080 and the latest conky.
Thank you.

Last edited by manolos (2013-07-30 15:51:31)

Offline

#2 2013-07-30 14:48:05

cargoan
Member
Registered: 2013-07-13
Posts: 20

Re: [SOLVED] Conky size problem

conky is centered, text not.

TEXT
${alignc}kernel: ....

adjust the size  in minimum_size, also exists the maximum_width setting.

Offline

#3 2013-07-30 14:52:35

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] Conky size problem

manolos wrote:

I have this problem with conky http://i.imgur.com/MdksWuG.jpg
As you can see, conky takes more size on screen than it should. Also its not on the center of the screen.

Conky configuration is a highly personal thing. So I was actually not able to plainly see what the issues you are experiencing are from that picture.  You should try to be very explicit in your description of the problem.  I can see the the test is not centered, but that is pretty well explained in the conky documentation.  Otherwise, I have no idea really what "conky takes more size on screen than it should" means.  How much "should" it be taking? What is is you are trying to achieve? 

Just don't assume that your vision of what you expect from your conky configuration is going to be plainly obvious to someone coming here to try to help you.

Offline

#4 2013-07-30 15:48:25

manolos
Member
From: Athens, Greece
Registered: 2009-06-06
Posts: 117

Re: [SOLVED] Conky size problem

cargoan wrote:

conky is centered, text not.

TEXT
${alignc}kernel: ....

adjust the size  in minimum_size, also exists the maximum_width setting.

thank you. i changed it from minimum to maximum size and now the text is centered. i didnt know how those two settings work. thanks for your time cargoan

Last edited by manolos (2013-07-30 16:01:19)

Offline

#5 2013-07-30 15:50:16

manolos
Member
From: Athens, Greece
Registered: 2009-06-06
Posts: 117

Re: [SOLVED] Conky size problem

WonderWoofy wrote:
manolos wrote:

I have this problem with conky http://i.imgur.com/MdksWuG.jpg
As you can see, conky takes more size on screen than it should. Also its not on the center of the screen.

Conky configuration is a highly personal thing. So I was actually not able to plainly see what the issues you are experiencing are from that picture.  You should try to be very explicit in your description of the problem.  I can see the the test is not centered, but that is pretty well explained in the conky documentation.  Otherwise, I have no idea really what "conky takes more size on screen than it should" means.  How much "should" it be taking? What is is you are trying to achieve? 

Just don't assume that your vision of what you expect from your conky configuration is going to be plainly obvious to someone coming here to try to help you.

You get what i mean but instead of helping me you post about the way i ask for something that i dont know. good job

Offline

Board footer

Powered by FluxBB