Shop Mobile More Submit  Join Login
Sands of Time Linux desktop by Flamer-Shaftglutton Sands of Time Linux desktop by Flamer-Shaftglutton
Saw this for Mac at [link] and wondered how easy it would be with Mint Linux. Turns out very easy if you know what you're doing, although it took me a week to figure out what I was doing.

This was my first venture into Conky (and Lua), but I'll definitely be doing more.

If you want to do this yourself (Linux only), just click 'download' and follow the readme. Sorry it's a .zip file; apparently DA doesn't like tarballs.
Add a Comment:
 
:iconboeday:
boeday Featured By Owner Dec 22, 2012
i need help, when i try this conky on ubuntu 12.04
this message show on the terminal
Conky: invalid configuration file 'clock'

Conky: desktop window (1800095) is subwindow of root window (aa)
Conky: window type - desktop
Conky: drawing to created window (0x3a00001)
Conky: drawing to single buffer

can u help me to fix it
Reply
:iconboeday:
boeday Featured By Owner Dec 22, 2012
can any one help me, i apply this conky on ubuntu 12.04
i think i did do any of that clue by change path
but i get this in the terminal

Conky: invalid configuration file 'clock'

Conky: desktop window (1800095) is subwindow of root window (aa)
Conky: window type - desktop
Conky: drawing to created window (0x3a00001)
Conky: drawing to single buffer
Reply
:icondavevato:
davevato Featured By Owner Jun 8, 2012
Anybody try to get this working on dual screen? when I try to move the clock over to the right hand screen the overlay is way out of alignment.
Reply
:icondavevato:
davevato Featured By Owner Jun 8, 2012
I found it, its in the overlay.lua, I had to adjust this line into the negatives to bring the overlay up:

imlib_context_set_image(image)
imlib_render_image_on_drawable(0,-455) <------ Original value was (0,171)
imlib_free_image()
Reply
:iconcrashusa666:
crashusa666 Featured By Owner Feb 18, 2012
Awsome work!!
But I was hoping that you could help me out to set the clock on a 24-hour time, not am/pm.?
Reply
:iconflamer-shaftglutton:
Flamer-Shaftglutton Featured By Owner Mar 25, 2012
That's pretty easy to do. Open up the Clock file and alter the last line: change the I to an H, ${time %I:%M} to ${time %H:%M}.
Reply
:icondustmop725:
dustmop725 Featured By Owner Feb 9, 2012
the desktop icons behind the text and overlay are blocked by it on mine. any way to fix this?
Reply
:iconflamer-shaftglutton:
Flamer-Shaftglutton Featured By Owner Mar 25, 2012
As far as I know, Conky will always cover up your icons. You can try changing the size of the Conky window and moving the overlay around, but that will just reduce the area Conky covers up.

Unfortunately, I don't think there's any way around it. If I find anything I'll let you know.
Reply
:iconcrustybarnacle:
CrustyBarnacle Featured By Owner Feb 8, 2012
Looks awesome!
Thanks for porting this to conky :-).

------------
Absolute paths are necessary, but you can use "~" for your /home/<username>/ in "clock" and "conky_start.sh".

Assuming you unzipped all to "~/.config/conky":
clock: lua_load ~/.config/conky/overlay.lua
conky_start.sh: sleep 20 && conky -c ~/.config/conky/clock


Put "overlay.png" in the same folder, and simply use the name of the overlay file in "overlay.lua":
image = imlib_load_image("overlay.png")
Reply
:iconace4ker:
ace4ker Featured By Owner Feb 4, 2012
Excellent
Reply
:iconbasseur:
basseur Featured By Owner Feb 2, 2012
I Installed this on Xubuntu 11.10.
The background of the clock was not transparent so I had to edit the following in the script:
own_window_argb_visual yes (added line)
own_window_argb_value 0 (added line)
own_window_type normal (used to be 'override')

But now the overlay .png file is also transparent
Any suggestions on how to fix this?
Reply
:iconbasseur:
basseur Featured By Owner Feb 2, 2012
I Installed this on Xubuntu 11.10. The background of the clock was not transparent so I had to edit the following in the script:
own_window_argb_visual yes (added line)
own_window_argb_value 0 (added line)
own_window_type normal (used to be 'override')

But now the overlay .png file is also transparent
Any suggestions on how to fix this?
Reply
:iconflamer-shaftglutton:
Flamer-Shaftglutton Featured By Owner Feb 2, 2012
That must be a Xubuntu thing; I never heard of any problem with the text. Weird.

Disregarding Conky pains, any advantages to Xubuntu over Ubuntu so far?
Reply
:iconlinuxrants:
LinuxRants Featured By Owner Feb 1, 2012
I had to remove the override option from the own_window_type before I could see anything. Since I've got about 10 minutes cumulative conky experience, I can't say why that is. After that, a few small ajustments to the gap_y value, and it was perfect. Thank you!
Reply
:iconflamer-shaftglutton:
Flamer-Shaftglutton Featured By Owner Feb 2, 2012
Glad you got it working. I've found that pretty desktops are a good way to get people interested in Linux.
Reply
:icondupwnt:
Dupwnt Featured By Owner Feb 1, 2012
Killer work man.... Hell of a job!
Reply
:iconflamer-shaftglutton:
Flamer-Shaftglutton Featured By Owner Feb 2, 2012
Thanks. Credit for the idea goes to Ian Smith from the link up top, although I do seem to be the first to attempt it with Linux.
Reply
:iconubuntu93:
ubuntu93 Featured By Owner Feb 1, 2012
There's just one thing I don't get in your script. Why did you put the sleep command before actually executing the script? is there any benfit you get from waiting 20 secs?
Other than that....GREAT WORK :D
I'm actually talking to some friends to try and implement this as a lock screen background for ubuntu with the unlock password dialog embedded into the design.
...We'll see how that works out ;)
Reply
:iconflamer-shaftglutton:
Flamer-Shaftglutton Featured By Owner Feb 2, 2012
The sleep command is to make sure X server is running first. If it's not and Conky tries to start, it'll just crash which defeats the purpose. You can tweak it based on how long it actually takes your machine to start up.

Also that lock-screen background sounds awesome. Give me a shout if you actually get that working.
Reply
:icondupwnt:
Dupwnt Featured By Owner Feb 1, 2012
Putting the sleep command allow you to run this conky setup in your startup programs. If you dont put a delay on conky when executing from startup it just shuts itself down before you even get a chance to see it. The 20 seconds gives your desktop time to load all of the system functions conky depends on so that shortly after you log in you are greeted by the hasty arrival your conky setup.
Reply
:iconlaithk50:
laithk50 Featured By Owner Jan 31, 2012
Hi, I have your exact resolution, but the overlay won't show at all ...

the error I get is

"Conky: llua_do_call: function conky_start execution failed: attempt to call a nil value"

Any idea what I did wrong?
Reply
:iconlaithk50:
laithk50 Featured By Owner Jan 31, 2012
Sorry, false alarm ... fixed it.

But for some reason the overlay is a bit off even though it should fit nicely ...

Also, does the wallpaper have a 1366x768 size or did you crop/resize it yourself?
Reply
:iconapoapoapo:
apoapoapo Featured By Owner Feb 1, 2012
How did you fix it? I got the same error :(

(Please add always solutions to "I fixed it" posts. Goes for everyone out there! Thanks;-) )
Reply
:iconubuntu93:
ubuntu93 Featured By Owner Feb 1, 2012
Yo need to fix the 'lua_load' path in the "clock" script.
to easily find it set gedit so it displays line numbers, then it's on line 27
lua_load /home/travis/.conky/overlay.lua

you need to put the correct path pointing to the location of the 'overlay.lua'
script.
So if you have copied the folder to your home and put a dot in front of it it should be 'lua_load /home/your_usrname/.conky/overlay.lua'
Reply
:iconapoapoapo:
apoapoapo Featured By Owner Feb 5, 2012
I did change all the path. I may try this again in a few weeks.. my conky seems to be corrupted somehow.
Reply
:iconteldric:
teldric Featured By Owner Aug 25, 2014
Did you get it to work? I'm having the same problem...
Reply
:iconflamer-shaftglutton:
Flamer-Shaftglutton Featured By Owner Feb 2, 2012
Yeah, unfortunately Conky/Lua demand absolute paths, which means you have to change a few things. Glad you got it working. If it still looks a bit off, play with the gap_x and gap_y variables until it looks right.

Oh and yes, I had to crop/resize it myself if I remember correctly.
Reply
:iconeternalkernel:
EternalKernel Featured By Owner Jan 3, 2012
Nice work! :D
Reply
:icondobbie03:
Dobbie03 Featured By Owner Jan 2, 2012  Hobbyist Interface Designer
Excellent work with the conky
Reply
Add a Comment:
 
×




Details

Submitted on
January 2, 2012
File Size
294 KB
Submitted with
Sta.sh
Link
Thumb
Embed

Stats

Views
13,946
Favourites
46 (who?)
Comments
29
Downloads
3,714
×