You are not logged in.

#1 2009-07-11 03:33:14

B4RR13N705
Member
Registered: 2009-06-08
Posts: 87

Conky trouble!

Hi people! I installed and configure conky on my PC with arch and XFCE4.
When i start conky it appear at the middle of the screen and not in the position i set.
I tried configuring it but the X and Y gap are okay, but it still appears on the middle of the screen.
I notice something really weird:
When conky is running, i edit the .conkyrc file, but i dont modify anything, then i save the file and conky goes to the correct position! weird...
For example, i edit the .conkyrc file and i remove a "#" comment symbol, then i write the same symbol in the same position it was, i save, and conky goes to right position!!
My conkyrc file:

# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages 
# - netstat connections to your computer
#
# -- Pengo (conky@pengo.us)
#

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_hints undecorated,below,skip_taskbar,sticky
background no

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# fiddle with window
use_spacer none
use_xft yes

# Update interval in seconds
update_interval 3.0

# Minimum size of text area
minimum_size 400 5

# Draw shades?
draw_shades no

# Text stuff
draw_outline no # amplifies text if yes
draw_borders no

uppercase no # set to yes if you want all text to be in uppercase

# Stippled borders?
stippled_borders 1

# border margins
border_margin 1

# border width
border_width 1

# Default colors and also border colors, grey90 == #e5e5e5
default_color white
default_shade_color black
default_outline_color grey90

own_window_colour brown
own_window_transparent yes

# 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
gap_x -230
gap_y 55

# stuff after 'TEXT' will be formatted on screen

override_utf8_locale yes
xftfont Terminus:size=8
xftalpha 0.8

# Coisas para rever mais tarde

#${offset 240}${color}${font weather:size=26}y ${font}FSB ${i2c temp 1} °C
#${offset 240}${color slate grey}Temperature:
#${offset 240}${color}${font weather:size=26}z ${font}CPU ${i2c temp 2} °C

TEXT
${color slate grey}${time %a, } ${color }${time %e %B %G}
${color slate grey}${time %Z,    }${color }${time %H:%M:%S}

${voffset 6}${color}${font OpenLogos:size=30}    T
${voffset -20}${color}${font StyleBats:size=12}O ${font}${color slate grey}UpTime: ${color }$uptime
${color}${font StyleBats:size=12}Q ${font}${color slate grey}Kern:${color }$kernel
${color}${font StyleBats:size=12}A ${font}${color slate grey}CPU:${color } $cpu% ${acpitemp}C
${cpugraph 20,140 000000 ffffff}
${color slate grey}Load: ${color }$loadavg
${color slate grey}Processes: ${color }$processes  
${color slate grey}Running:   ${color }$running_processes

${color}${font Webdings:size=12}i ${font}${color slate grey}Highest CPU:
${color #ddaa00} ${top name 1}${top cpu 1}
${color lightgrey} ${top name 2}${top cpu 2}
${color lightgrey} ${top name 3}${top cpu 3}

${color}${font Webdings:size=12}i ${font}${color slate grey}Highest MEM:
${color #ddaa00} ${top_mem name 1}${top_mem mem 1}
${color lightgrey} ${top_mem name 2}${top_mem mem 2}
${color lightgrey} ${top_mem name 3}${top_mem mem 3}

${color slate grey}MEM:  ${color } $memperc% $mem/$memmax
${membar 3,140}
${color slate grey}SWAP: ${color } $swapperc% $swap/$swapmax
${swapbar 3,140}

${color slate grey}ROOT:    ${color }${fs_free /}/${fs_size /}
${fs_bar 3,140 /}
${color slate grey}HOME:  ${color }${fs_free /home}/${fs_size /home}
${fs_bar 3,140 /home}

${color slate grey}Internet:
${color}${font PizzaDude Bullets:size=12}M${font}  Tot.up. ${totalup eth0} Kb/s
${voffset 1}${color}${font PizzaDude Bullets:size=12}v${font}  Up: ${color }${upspeed eth0}k/s
${upspeedgraph eth0 20,140 000000 ffffff}
${voffset 6}${color}${font PizzaDude Bullets:size=12}S${font}  Tot.dow. ${totaldown eth0} Kb/s
${voffset 1}${color}${font PizzaDude Bullets:size=12}r${font}  Down: ${color }${downspeed eth0}k/s
${downspeedgraph eth0 20,140 000000 ffffff}

Does someone have a solution?

Last edited by B4RR13N705 (2009-07-11 18:13:10)


OS -----> Arch Linux     DE -----> KDE4
CPU ---> 2.66GHz         RAM ---> 512 MB
SWAP -> 2 G                / -------> 10 G
/home -> 50 G             /boot ---> 64 MB

Offline

#2 2009-07-11 06:03:18

dwindle
Member
From: /dev/urandom/
Registered: 2009-05-15
Posts: 85
Website

Re: Conky trouble!

Doesn't look like you even specified the position.
Add this:
gap_x x
gap_y y
alignment p_q

x and y are integers.
valid values for p are bottom, top, and center
valid values for q are left, right, and center.


[nil]
[exists]

Offline

#3 2009-07-11 18:14:53

B4RR13N705
Member
Registered: 2009-06-08
Posts: 87

Re: Conky trouble!

The forum only posted half of the code!  dont know why, i edited my first message, is okay now. Ive already have gap_x & gap_y and aligment!


OS -----> Arch Linux     DE -----> KDE4
CPU ---> 2.66GHz         RAM ---> 512 MB
SWAP -> 2 G                / -------> 10 G
/home -> 50 G             /boot ---> 64 MB

Offline

#4 2009-07-11 18:48:23

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: Conky trouble!

Ummmm...if you set your gap_x to 230 as in your .conkyrc example then conky will appear far from the right side of your screen.  Maybe try a smaller gap setting like your gap_y 55 unless your really want your conky far from the right side of your screen.


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#5 2009-08-15 09:04:32

nazarener
Member
Registered: 2009-02-07
Posts: 19

Re: Conky trouble!

i have exactly the same problem as B4RR13N705:
if i add a newline to my conkyfile and save it, it jumps to the right spot.
did you come up with any solutions?

Offline

Board footer

Powered by FluxBB