You are not logged in.
Is it possible to have an X Y co-ordinate for each output line in conky cos I like having mine in places to go with the background and theme but doing this would be so much easier than have lines of nothing in various font sizes to space them out correctly which sometimes just simply doesn't work.
And being able to rotate the individual outputs would also be nice
Any help would be much appreciated 
Offline
What about {goto} for x and {voffset} for y?
on the outside looking in
Offline
Ahhh that works, thanks
is there no way of rotating individual outputs then? cos it would be nice to be able to do that 
Offline
you would need some way of recognizing which wallpaper you had showing
then i would say a conky launch script of some kind
set up different conkies for the different wallpapers, then the script reads the wallpaper name and sets the correct conky
you could do it with exec to get the wallpaper name and if_match to set the XY, but i dont think that would be a very good way
there are some other ways i can think of to do what you want... none are particularly "easy"
and also... conky questions should go here http://crunchbanglinux.org/forums/topic … ky-thread/
Last edited by mrpeachy (2012-04-16 17:34:35)
Offline
Yeah something that recognizes the wallpaper and then determines the conky script based on it would be pretty darn handy, but I'm a bit of a noob when it comes to that kinda thing so I'm not sure quite how to go about it 
Offline
nitrogen is the program that sets wallpaper in #!... i can see a terminal command to set wallpaper, but not to get the wallpaper name
although i would think there should be a way to do it
there are plenty of scripts around to get nitrogen to cycle through different wallpapers... i think they could be easily adapted to launch the correct conky also
how were you planning on having your wallpaper change?
Offline
there was a member who posted an app he made for quick switching of your entire graphical setup, so wallpaper, conky, gtk-theme, etc. but i cannot find it. anyone know what i'm talking about and where to find it? this might be of use for you. or not 
Offline
there was a member who posted an app he made for quick switching of your entire graphical setup, so wallpaper, conky, gtk-theme, etc. but i cannot find it. anyone know what i'm talking about and where to find it? this might be of use for you. or not
yes, I remember it but also can't find it 
Be eggsalad to each other.
Offline
yeah I can't find a way to get the name or file address either, and I would change it through nitrogen as you said, if there is away of finding out the name then you could have a simple script that changes the conky config file depending on which wallpaper you have, as there is a terminal command to change that.
Having said that I have no idea when it comes to writing scripts but I probably should learn at some point
Offline
youll need lua 5.1 installed for this
sorry, dont know bash 
this might be all you need...
script.lua
repeat
io.write("directory containing wallpaper:")
io.flush()
directory=io.read()
until directory~=nil
repeat
io.write("file name:")
io.flush()
wallpaper=io.read()
until wallpaper~=nil
os.execute("nitrogen --set-scaled "..directory.."/"..wallpaper..".png &")
os.execute("conky -c /home/mcdowall/conky/"..wallpaper.." &")need a conkyrc named the same as each wallpaper you will be using (without the file extension)
the script asks you to set the directory where the wallpaper is kept, then the name of the wallpaper without the .filetype
edit the filetype if needed
edit the way that nitrogen sets the wallpaper if needed
edit the location where the conky files are
launch in teminal like so
lua /path/to/file/script.luahere i am echoing the results
mcdowall@mcdowall-desktop:~$ lua /home/mcdowall/script.lua
directory containing wallpaper:test
file name:test
nitrogen --set-scaled test/test.png
conky -c /home/mcdowall/conky/testLast edited by mrpeachy (2012-04-16 18:49:28)
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.