You are not logged in.
There's a clock inn that image? where?
![]()
NICE! - the clock I mean ... {cough cough}
Thanks, man! ok ok. I'll add a 'preview pic'
I get a blank page. Dropbox has disabled publick links.
really? I do get the 'Download' button, though. I'll have to find another way to load the files and make it easy for everyone to download.
BunsenLabs on deviantArt
Don't touch my git!
Offline
Sector11 wrote:There's a clock inn that image? where?
![]()
NICE! - the clock I mean ... {cough cough}Thanks, man! ok ok. I'll add a 'preview pic'
Sector11 wrote:I get a blank page. Dropbox has disabled publick links.
really? I do get the 'Download' button, though. I'll have to find another way to load the files and make it easy for everyone to download.
It's your DropBox ... it's also why I DroppedDropBox
Now they have shared links
PS. If I look at the "no clock", Dawana, image too long my wife gets upset ]:D
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
ututo wrote:Sector11 wrote:There's a clock inn that image? where?
![]()
NICE! - the clock I mean ... {cough cough}Thanks, man! ok ok. I'll add a 'preview pic'
Sector11 wrote:I get a blank page. Dropbox has disabled publick links.
really? I do get the 'Download' button, though. I'll have to find another way to load the files and make it easy for everyone to download.
It's your DropBox ... it's also why I DroppedDropBox
Now they have shared linksPS. If I look at the "no clock", Dawana, image too long my wife gets upset
]:D
Edit your post to use the "wget" line I posted, like this:
=======================
Get the image with this line in a terminal:
wget https://www.dropbox.com/s/hhevxp58myqse14/GreyConkyClock.tar.gz
=======================
A good temporary fix.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Grey Conky Clock
based on EtlesTeam's Conky Dawana, so all credits go for him. I just made my own clock with Inkscape.
conkyrc:
# Conky, a system monitor, based on torsmo # # Any original torsmo code is licensed under the BSD license # # All code written since the fork of torsmo is licensed under the GPL # # Please see COPYING for details # # Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen # Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS) # All rights reserved. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. ################################################################################ background no update_interval 0.5 update_run_times 0 total_run_times 0 cpu_avg_samples 2 net_avg_samples 2 double_buffer yes no_buffers yes text_buffer_size 1024 imlib_cache_size 0 own_window yes own_window_class Conky own_window_type normal #All options: conky,dock,desktop,normal,override,panel own_window_transparent yes own_window_argb_visual yes own_window_argb_value 120 #Opacity color own_window_colour ff0000 #Change color bg in this line own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager draw_shades no draw_borders no draw_graph_borders no minimum_size 250 135 maximum_width 250 alignment bottom_right gap_x 50 gap_y 80 use_xft yes override_utf8_locale yes xftfont Mono:size=8 xftalpha 1 uppercase no use_spacer none default_color ffffff #D8D8D8 color1 ff0000 lua_load ~/.conky/Grey/scripts/lua/imlib_clock.lua TEXT ${voffset 24}${offset 150}${font Roboto Condensed:size=12}${color 616161}ARGENTINA${font} ${voffset 2}${offset 150}${font Roboto Condensed:size=12}${color 616161}${time %A}${font} ${voffset 2}${offset 150}${font Roboto Condensed:size=12}${color 616161}${time %e}.${time %m}.${time %Y}${font} ${voffset 2}${offset 150}${font Roboto Condensed:size=12}${color 8D8D8D}${time %I}:${time %M}:${time %S} ${time %p}${font} ${lua imlib_clock grey 130 71 72} ##======================== Regards, Etles_Team =============================##
lua script:
--[[ Simple clock, written using imlib. Edited by Etles_Team (2016) Make sure you've installed "imlib2" application in your system if this script doesn't work :) To use this script in Conky, Add this command in conkyrc file before (TEXT), Example : lua_load ~/.conky/Conky-Name/imlib_clock.lua lua_draw_hook_pre imlib_clock theme OR you can add this other command to load script in conkyrc after (TEXT), Example : ${lua imlib_clock theme-name 120 100 100} ]] --------------------------------------------------------------------------------------------------------- require 'imlib2' image_path = os.getenv ('HOME')..'/.conky/Grey/images/' function fFreeImage (image) imlib_context_set_image(image) imlib_free_image () end function fRotateImage (image, arc) imlib_context_set_image(image) return imlib_create_rotated_image(arc) end function fGetImageSize(image) imlib_context_set_image(image) return imlib_image_get_width(), imlib_image_get_height() end function create_clock(theme, arc_s, arc_m, arc_h) local imgFace = imlib_load_image(image_path..theme..'/face.png') local w_img, h_img = fGetImageSize(imgFace) local imgH = imlib_load_image(image_path..theme..'/h.png') local imgHR = fRotateImage (imgH, arc_h) local w_imgH, h_imgH = fGetImageSize(imgHR) local imgM = imlib_load_image(image_path..theme..'/m.png') local imgMR = fRotateImage (imgM, arc_m) local w_imgM, h_imgM = fGetImageSize(imgMR) local imgS = imlib_load_image(image_path..theme..'/s.png') local imgSR = fRotateImage (imgS, arc_s) local w_imgS, h_imgS = fGetImageSize(imgSR) local imgGlass = imlib_load_image(image_path..theme..'/glass.png') local buffer = imlib_create_image(w_img, h_img) imlib_context_set_image(buffer) imlib_image_set_has_alpha(1) imlib_image_clear() imlib_blend_image_onto_image(imgFace, 1, 0, 0, w_img, h_img, 0, 0, w_img, h_img ) imlib_blend_image_onto_image(imgHR, 1, 0, 0, w_imgH, h_imgH, w_img/2-w_imgH/2, h_img/2-h_imgH/2, w_imgH, h_imgH ) imlib_blend_image_onto_image(imgMR, 1, 0, 0, w_imgM, h_imgM, w_img/2-w_imgM/2, h_img/2-h_imgM/2, w_imgM, h_imgM ) imlib_blend_image_onto_image(imgSR, 1, 0, 0, w_imgS, h_imgS, w_img/2-w_imgS/2-1, h_img/2-h_imgS/2-1, w_imgS, h_imgS ) --imlib_blend_image_onto_image(imgGlass, 1, 70, 70, w_img, h_img, 0, 0, w_img, h_img ) fFreeImage (imgFace) fFreeImage (imgH) fFreeImage (imgHR) fFreeImage (imgM) fFreeImage (imgMR) fFreeImage (imgS) fFreeImage (imgSR) fFreeImage (imgGlass) return buffer end function conky_imlib_clock(theme,w,x,y) if conky_window==nil then return ' ' end local w = w or 200 local x = x or conky_window.width / 2 local y = y or conky_window.height / 2 local arc_s = (2 * math.pi / 60) * os.date("%S") local arc_m = (2 * math.pi / 60) * os.date("%M") + arc_s / 60 local arc_h = (2 * math.pi / 12) * os.date("%I") + arc_m / 12 local buffer = create_clock(theme, arc_s, arc_m, arc_h) imlib_context_set_image(buffer) imlib_render_image_on_drawable_at_size( x-w/2, y-w/2, w, w) fFreeImage (buffer) return ' ' end --======================== Regards, Etles_Team ===========================--
Am I missing something with this config? For the life of me I can't get the clock face to show. What version of conky is this intended for?
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Offline
@ Dobbie03
This is a conky v1.9 file - you are using conky v1.10 - the LUA format
You will need to convert it.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
@ Dobbie03
This is a conky v1.9 file - you are using conky v1.10 - the LUA format
You will need to convert it.
Thanks for the reply S11. I have installed Conky V19 from the AUR and I am currently running v 1.9.0.
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Offline
Oh in that case it should work ... what error message do you get if you start it in the terminal?
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Conky: missing text block in configuration; exiting
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:
imlib_context_free();
With the parameter:
context
being NULL. Please fix your program.
This, I have imlib2 installed.
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Offline
Nope, sorr Dobbie03... not until you get the images from ututo ... in the lua script:
image_path = os.getenv ('HOME')..'/.conky/Grey/images/'
I'm getting the error:
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:
imlib_image_get_width();
With the parameter:
image
being NULL. Please fix your program.
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:
imlib_image_get_height();
With the parameter:
image
being NULL. Please fix your program.
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:
imlib_create_rotated_image();
With the parameter:
image
being NULL. Please fix your program.
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:
{snip}
you get the idea ... it's "forever!"
Oh ututo we need you!
EDIT: Images available in utuo's original post.
I have: libimlib2.
I changed:
--#image_path = os.getenv ('HOME')..'/.conky/Grey/images/'
image_path = os.getenv '/media/5/Conky/images/Grey/images/grey/'
And have the conky, but not the clock.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Nope, sorr Dobbie03... not until you get the images from ututo ... in the lua script:
image_path = os.getenv ('HOME')..'/.conky/Grey/images/'
I'm getting the error:
***** Imlib2 Developer Warning ***** : This program is calling the Imlib call: imlib_image_get_width(); With the parameter: image being NULL. Please fix your program. ***** Imlib2 Developer Warning ***** : This program is calling the Imlib call: imlib_image_get_height(); With the parameter: image being NULL. Please fix your program. ***** Imlib2 Developer Warning ***** : This program is calling the Imlib call: imlib_create_rotated_image(); With the parameter: image being NULL. Please fix your program. ***** Imlib2 Developer Warning ***** : This program is calling the Imlib call: {snip} you get the idea ... it's "forever!"
Oh ututo we need you!
I have all the images, lua etc. All in the correct places that conky specifies.....me confussed.
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Offline
Calling ututo! Calling ututo! Calling ututo! Calling ututo! Calling ututo!
Me too!
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
OK, I grabbed the file in ututo's post, and have the conky in the same place as in the archive, still getting the error in the terminal but I have the conky.
/home/sector11/.conky/Grey/conkyrc
/home/sector11/.conky/Grey/scripts/lua/imlib_clock.lua
/home/sector11/.conky/Grey/images/grey/face.png
/home/sector11/.conky/Grey/images/grey/h.png
/home/sector11/.conky/Grey/images/grey/m.png
/home/sector11/.conky/Grey/images/grey/s.png
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
OK, I grabbed the file in ututo's post, and have the conky in the same place as in the archive, still getting the error in the terminal but I have the conky.
https://cdn.scrot.moe/images/2017/06/25/2017-06-24_215944_Scrot11.th.jpg/home/sector11/.conky/Grey/conkyrc
/home/sector11/.conky/Grey/scripts/lua/imlib_clock.lua
/home/sector11/.conky/Grey/images/grey/face.png
/home/sector11/.conky/Grey/images/grey/h.png
/home/sector11/.conky/Grey/images/grey/m.png
/home/sector11/.conky/Grey/images/grey/s.png
I just did that myself. No luck at all.
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Offline
Now I really want to see your terminal output from starting it. This should do it:
Make sure it is dead:
pkill -xf "conky -c /home/sector11/.conky/Grey/conkyrc" &
replace 'sector11' with your user... and start it:
conky -c /home/sector11/.conky/Grey/conkyrc &
post the error please.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:
imlib_free_image();
With the parameter:
image
being NULL. Please fix your program.
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:
imlib_render_image_on_drawable_at_size();
With the parameter:
image
being NULL. Please fix your program.
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:
imlib_free_image();
With the parameter:
image
being NULL. Please fix your program.
See, same error as we both have been having. Conky pops up but no clock .
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Offline
AHA!!!!! And I missed it too..... right at the beginning:
24 Jun 17 @ 22:33:36 ~
$ Conky: /home/sector11/.conky/Grey/conkyrc: 28: no such configuration: 'update_run_times'
Conky: desktop window (4b2) is root window
Conky: window type - normal
Conky: drawing to created window (0x2800002)
Conky: drawing to double buffer
***** Imlib2 Developer Warning ***** :
but still with error.
24 Jun 17 @ 22:36:17 ~
$ Conky: desktop window (4b2) is root window
Conky: window type - normal
Conky: drawing to created window (0x2800002)
Conky: drawing to double buffer
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:
imlib_free_image();
Getting closer....
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
AHA!!!!! And I missed it too..... right at the beginning:
24 Jun 17 @ 22:33:36 ~
$ Conky: /home/sector11/.conky/Grey/conkyrc: 28: no such configuration: 'update_run_times'
Conky: desktop window (4b2) is root window
Conky: window type - normal
Conky: drawing to created window (0x2800002)
Conky: drawing to double buffer
***** Imlib2 Developer Warning ***** :but still with error.
24 Jun 17 @ 22:36:17 ~ $ Conky: desktop window (4b2) is root window Conky: window type - normal Conky: drawing to created window (0x2800002) Conky: drawing to double buffer ***** Imlib2 Developer Warning ***** : This program is calling the Imlib call: imlib_free_image();
Getting closer....
I have no ideas, so I will patiently wait on the sideline while the guru figures this out
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Offline
I have it!!!!!!!!!!!!!!!!!
Cost ya a coffee for the fix ... and since I know you're good for it:
In the lua code - comment out this line:
function fFreeImage (image)
imlib_context_set_image (image)
-- imlib_free_image ()
should be line 23.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Sector11 wrote:AHA!!!!! And I missed it too..... right at the beginning:
24 Jun 17 @ 22:33:36 ~
$ Conky: /home/sector11/.conky/Grey/conkyrc: 28: no such configuration:I have no ideas, so I will patiently wait on the sideline while the guru figures this out
see that 28:
That's line 28 in the conky RC ... the line that reads:
update_run_times 0
Delete that line.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Thanks S11, still isn't working.
I thought I might need to somehow enable an image "flag" but can't seem to find anything relating to this.
"All we are is dust in the wind, dude"
- Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
- Wayne Campbell
Offline