SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2009-11-20 16:23:50

dilch
#! Member
Registered: 2009-08-13
Posts: 63

conkyquestion, problem with two funtions in the same line

this is one of my conkyliness

${font DejaVu Sans:size=6}${execi 1800 conkyEmail --servertype=IMAP --servername=imap.googlemail.com --port=993 --username=secret@googlemail.com --password="don't tell ya" --mailinfo=2 --ssl}${goto 1000}}${rss [url]http://www.werder.de/aktuelles/rss/index.xml[/url] 10 item_titles 3}${font}

so, the emailprog is using 1+2 lines,

2 new
first new email
second new email

and the rss-feed also uses 3 lines.
the emailview is on my left, rss on my right desktopside. i've got a problem because the rss-feed is now "under" my emailine, so it looks like i have empty lines on the right. any solution?

perhaps there is an easy positioncommandslution but i am realy to stupid to understand it roll

if needed, the emailscript
http://ubuntuforums.org/showthread.php?t=869771

Offline

Help fund CrunchBang, donate to the project!

#2 2009-11-20 22:06:05

arpinux
#! Die Hard
From: Montréal, France
Registered: 2009-01-15
Posts: 689
Website

Re: conkyquestion, problem with two funtions in the same line

try to put this line into two separate lines with a ${voffset -x} at the beginning of the second line. just adjust the 'x' to fit your needs.

Offline

#3 2009-11-22 15:18:27

dilch
#! Member
Registered: 2009-08-13
Posts: 63

Re: conkyquestion, problem with two funtions in the same line

yeah, great! but now i have another problem i solved once before. the second and third rss-line dont stay on the right, they are on the left. i can't remember what my solution was? again any ideas?

Offline

#4 2009-11-22 15:34:24

arpinux
#! Die Hard
From: Montréal, France
Registered: 2009-01-15
Posts: 689
Website

Re: conkyquestion, problem with two funtions in the same line

maybe the ${goto x}variables at the beginning of tour rss line ?

Offline

#5 2009-11-22 15:49:56

dilch
#! Member
Registered: 2009-08-13
Posts: 63

Re: conkyquestion, problem with two funtions in the same line

arpinux wrote:

maybe the ${goto x}variables at the beginning of tour rss line ?

it is still there but only has influence on the first rss-line. second and third are left...

Offline

#6 2009-11-22 16:01:26

arpinux
#! Die Hard
From: Montréal, France
Registered: 2009-01-15
Posts: 689
Website

Re: conkyquestion, problem with two funtions in the same line

oO ? very strange,
i've just tried

${goto 930}${rss http://www.werder.de/aktuelles/rss/index.xml 10 item_titles 3}

and the 3 lines act like a block and go to 930...

Last edited by arpinux (2009-11-22 16:04:36)

Offline

#7 2009-11-22 16:14:17

dilch
#! Member
Registered: 2009-08-13
Posts: 63

Re: conkyquestion, problem with two funtions in the same line

arpinux wrote:

oO ? very strange,
i've just tried

${goto 930}${rss http://www.werder.de/aktuelles/rss/index.xml 10 item_titles 3}

and the 3 lines act like a block and go to 930...

yeah it's weird... because i also can't remember what i have changed... i thougt it worked so before...
any "mistake" in the body?

background yes
use_xft yes
xftfont freemono:bold:size=9 #Droid Sans DejaVu Sans advor deja 8{font sans-serif:bold:size=8}freemono:bold:size=9
xftalpha 0.8
text_buffer_size 2048

update_interval 1.0
imlib_cache_size 0

total_run_times 0

own_window no
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

double_buffer yes

minimum_size 900 900
maximum_width 1250

draw_shades no

draw_outline no

draw_borders no

draw_graph_borders no

default_color black
#default_shade_color black
#default_outline_color white
own_window_colour grey

alignment top_right
#alignment bottom_right
#alignment top_left
#alignment bottom_left
#gap_x 12
gap_y 12
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
#default_color 111111

Offline

#8 2009-11-22 16:18:08

arpinux
#! Die Hard
From: Montréal, France
Registered: 2009-01-15
Posts: 689
Website

Re: conkyquestion, problem with two funtions in the same line

maybe try to replace

minimum_size 900 900
maximum_width 1250

by

minimum_size 1250 900
maximum_width 1250

to fix the window size.

Offline

#9 2009-11-22 16:39:47

dilch
#! Member
Registered: 2009-08-13
Posts: 63

Re: conkyquestion, problem with two funtions in the same line

no change...
without imap the code is

${goto 1000}RSS ${hr 2} #${rss http://lazyubuntu.com/feed 60 feed_title}
${goto 1000}${font pizzadude bullets:size=10}t${font} Werder:
${goto 1000}${font DejaVu Sans:size=6}${rss http://www.werder.de/aktuelles/rss/index.xml 10 item_titles 3}${font}
${goto 1000}${font pizzadude bullets:size=10}t${font} FAZ:
${goto 1000}${font DejaVu Sans:size=6}${rss http://www.faz.net/s/Rub/Tpl~Epartner~SRss_~Ahomepageticker~E1.xml 10 item_titles 3}${font}

in both feeds, the rssline 2 and 3 are on the left

Offline

#10 2009-11-22 17:05:57

arpinux
#! Die Hard
From: Montréal, France
Registered: 2009-01-15
Posts: 689
Website

Re: conkyquestion, problem with two funtions in the same line

at this time, we need some more help 'cause i didn't have your issue with the same command line, so... hmm
i can't help you more, sorry.

Offline

#11 2009-11-22 17:56:19

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,282

Re: conkyquestion, problem with two funtions in the same line

I've never had any luck with a goto (or alignc or alignr) persisting across a newline character in Conky.

Offline

#12 2009-11-22 21:50:55

dilch
#! Member
Registered: 2009-08-13
Posts: 63

Re: conkyquestion, problem with two funtions in the same line

pvsage wrote:

I've never had any luck with a goto (or alignc or alignr) persisting across a newline character in Conky.

oh man... and i had luck and changed conky
lol... stupid diclh wink
thx until now!

Offline

#13 2009-11-22 22:07:27

dilch
#! Member
Registered: 2009-08-13
Posts: 63

Re: conkyquestion, problem with two funtions in the same line

arpinux wrote:

at this time, we need some more help 'cause i didn't have your issue with the same command line, so... hmm
i can't help you more, sorry.

i know, but thx alot!
does anybody now a trick how the ${hr2} stops after x pixel or is there a similiar function?

Offline

#14 2009-11-22 22:27:13

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,418

Re: conkyquestion, problem with two funtions in the same line

The horizontal lines in Conky always try to fill the entire width. Maybe make your own horizontal line with emdashes "—".

Offline

#15 2009-11-22 23:07:52

arpinux
#! Die Hard
From: Montréal, France
Registered: 2009-01-15
Posts: 689
Website

Re: conkyquestion, problem with two funtions in the same line

dilch wrote:

does anybody now a trick how the ${hr2} stops after x pixel or is there a similiar function?

take a look here : http://conky.linux-hardcore.com/?page_id=302  smile

Offline

#16 2009-11-23 16:36:47

dilch
#! Member
Registered: 2009-08-13
Posts: 63

Re: conkyquestion, problem with two funtions in the same line

arpinux wrote:
dilch wrote:

does anybody now a trick how the ${hr2} stops after x pixel or is there a similiar function?

take a look here : http://conky.linux-hardcore.com/?page_id=302  smile

great, thx to both of you.
is there a option how i can tell my rss-feed, that it should be just 200 px long or something similiar?

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo