You are not logged in.

#151 2017-06-25 00:53:14

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,154

Re: Conky - Calendars / Clocks / Time

Calling ututo! Calling ututo! Calling ututo! Calling ututo! Calling ututo!

big_smile

Me too!


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#152 2017-06-25 01:04:42

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,154

Re: Conky - Calendars / Clocks / Time

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.
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


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#153 2017-06-25 01:20:58

Dobbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 2,584
Website

Re: Conky - Calendars / Clocks / Time

Sector11 wrote:

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.


One of the ArchLabs dudes
Obssesive Metalhead and practiced beer drinker
\m/

Offline

#154 2017-06-25 01:27:15

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,154

Re: Conky - Calendars / Clocks / Time

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.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#155 2017-06-25 01:32:40

Dobbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 2,584
Website

Re: Conky - Calendars / Clocks / Time

***** 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 .


One of the ArchLabs dudes
Obssesive Metalhead and practiced beer drinker
\m/

Offline

#156 2017-06-25 01:38:37

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,154

Re: Conky - Calendars / Clocks / Time

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.  sad

 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....


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#157 2017-06-25 01:42:13

Dobbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 2,584
Website

Re: Conky - Calendars / Clocks / Time

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: '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.  sad

 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 big_smile


One of the ArchLabs dudes
Obssesive Metalhead and practiced beer drinker
\m/

Offline

#158 2017-06-25 01:47:24

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,154

Re: Conky - Calendars / Clocks / Time

I have it!!!!!!!!!!!!!!!!!
2017-06-24_224344_Scrot11.jpg
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.  smile


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#159 2017-06-25 01:51:17

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,154

Re: Conky - Calendars / Clocks / Time

Dobbie03 wrote:
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 big_smile

see that 28:

That's line 28 in the conky RC ... the line that reads:

update_run_times 0

Delete that line.  big_smile


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#160 2017-06-25 02:04:10

Dobbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 2,584
Website

Re: Conky - Calendars / Clocks / Time

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.


One of the ArchLabs dudes
Obssesive Metalhead and practiced beer drinker
\m/

Offline

#161 2017-06-25 02:16:05

Dobbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 2,584
Website

Re: Conky - Calendars / Clocks / Time

This is the error I am now getting:

conky: Syntax error (/home/dobbie/.conky/Grey/conkyrc:2: unexpected symbol near '#') while reading config file. 
conky: Assuming it's in old syntax and attempting conversion.
conky: llua_load: /home/dobbie/.conky/Grey/scripts/lua/imlib_clock.lua:17: module 'imlib2' not found:
	no field package.preload['imlib2']
	no file '/usr/share/lua/5.3/imlib2.lua'
	no file '/usr/share/lua/5.3/imlib2/init.lua'
	no file '/usr/lib/lua/5.3/imlib2.lua'
	no file '/usr/lib/lua/5.3/imlib2/init.lua'
	no file './imlib2.lua'
	no file './imlib2/init.lua'
	no file '/usr/lib/conky/libimlib2.so'
	no file '/usr/lib/lua/5.3/imlib2.so'
	no file '/usr/lib/lua/5.3/loadall.so'
	no file './imlib2.so'
conky: desktop window (4b9) is root window
conky: window type - normal
conky: drawing to created window (0x2a00002)
conky: drawing to double buffer
conky: llua_do_call: function conky_imlib_clock execution failed: attempt to call a nil value

One of the ArchLabs dudes
Obssesive Metalhead and practiced beer drinker
\m/

Offline

#162 2017-06-25 02:30:35

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,154

Re: Conky - Calendars / Clocks / Time

conky: Assuming it's in old syntax and attempting conversion.

Excuse me but that error tells me you are running conky v1.10.

Terminal please:

conky -v

The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#163 2017-06-25 02:32:27

Dobbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 2,584
Website

Re: Conky - Calendars / Clocks / Time

Sector11 wrote:
conky: Assuming it's in old syntax and attempting conversion.

Excuse me:  Terminal please:

conky -v

That error tells me you are running conky v1.10.

Shit, I forgot that I tried a different conky.

Just reinstalled 1.9

Conky 1.9.0 compiled Sun Jun 25 14:20:19 NZST 2017 for Linux 4.11.6-3-ARCH (x86_64)

Compiled in features:

System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky

 X11:
  * Xdamage extension
  * XDBE (double buffer extension)
  * Xft
  * ARGB visual

 Music detection:
  * MPD
  * MOC

 General:
  * math
  * hddtemp
  * portmon
  * Curl
  * RSS
  * wireless
  * support for IBM/Lenovo notebooks
  * nvidia
  * config-output
  * Imlib2
  * apcupsd
  * iostats
  * ncurses
  * Lua

  Lua bindings:
   * Cairo
   * Imlib2

One of the ArchLabs dudes
Obssesive Metalhead and practiced beer drinker
\m/

Offline

#164 2017-06-25 02:33:35

Dobbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 2,584
Website

Re: Conky - Calendars / Clocks / Time

Now I am getting a seg fault

1]    25672 segmentation fault (core dumped)  conky -c /home/dobbie/.conky/Grey/conkyrc

One of the ArchLabs dudes
Obssesive Metalhead and practiced beer drinker
\m/

Offline

#165 2017-06-25 02:37:20

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 1,215

Re: Conky - Calendars / Clocks / Time

conky: Syntax error (/home/dobbie/.conky/Grey/conkyrc:2: unexpected symbol near '#') while reading config file. 
conky: Assuming it's in old syntax and attempting conversion.

@Dobbie - that error usually shows up when conky 1.10 tries to read a conky 1.9 configuration file. You posted earlier that you installed 1.9 (from the AUR?); that still the case? Do you happen to have both 1.9 and 1.10 installed.

In a terminal, what is the output of:

conky -v

That will not only give the version, but also indicate if the conky 1.9 version from the AUR is built with imlib bindings for lua.

EDIT - ninja'd by S11.

Last edited by PackRat (2017-06-25 02:40:18)


You must unlearn what you have learned.
    -- yoda

Offline

#166 2017-06-25 02:39:18

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,154

Re: Conky - Calendars / Clocks / Time

Lua file reinstate that line 23:

function fFreeImage (image)
	imlib_context_set_image (image)
--	imlib_free_image ()

to

function fFreeImage (image)
	imlib_context_set_image (image)
	imlib_free_image ()

see if it stops the seg fault at least.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#167 2017-06-25 02:40:30

Dobbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 2,584
Website

Re: Conky - Calendars / Clocks / Time

Hey PacRat version below

Conky 1.9.0 compiled Sun Jun 25 14:34:22 NZST 2017 for Linux 4.11.6-3-ARCH (x86_64)

Compiled in features:

System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky

 X11:
  * Xdamage extension
  * XDBE (double buffer extension)
  * Xft
  * ARGB visual

 Music detection:
  * Audacious
  * MPD
  * MOC

 General:
  * math
  * hddtemp
  * portmon
  * Curl
  * RSS
  * wireless
  * support for IBM/Lenovo notebooks
  * nvidia
  * config-output
  * Imlib2
  * apcupsd
  * iostats
  * ncurses
  * Lua

  Lua bindings:
   * Cairo
   * Imlib2

One of the ArchLabs dudes
Obssesive Metalhead and practiced beer drinker
\m/

Offline

#168 2017-06-25 02:42:13

Dobbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 2,584
Website

Re: Conky - Calendars / Clocks / Time

Sector11 wrote:

Lua file reinstate that line 23:

function fFreeImage (image)
	imlib_context_set_image (image)
--	imlib_free_image ()

to

function fFreeImage (image)
	imlib_context_set_image (image)
	imlib_free_image ()

see if it stops the seg fault at lease.


Done that, still a seg fault.  I don't want to take over this thread so I may pull the pin on this config.


One of the ArchLabs dudes
Obssesive Metalhead and practiced beer drinker
\m/

Offline

#169 2017-06-25 02:44:18

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,154

Re: Conky - Calendars / Clocks / Time

S11 waves at PackRat.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#170 2017-06-25 02:45:09

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,154

Re: Conky - Calendars / Clocks / Time

OK, it's not ARCH friendly  sad


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#171 2017-06-25 02:47:09

Dobbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 2,584
Website

Re: Conky - Calendars / Clocks / Time

Sector11 wrote:

OK, it's not ARCH friendly  sad

No it's not I need a conky 1.10 guru to convert it big_smile

I tried and failed.


One of the ArchLabs dudes
Obssesive Metalhead and practiced beer drinker
\m/

Offline

#172 2017-06-25 02:48:55

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,154

Re: Conky - Calendars / Clocks / Time

Give me a second .....

v1.10 coming up.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#173 2017-06-25 02:49:10

DeepDayze
Member
From: In Linux Land
Registered: 2017-05-28
Posts: 909

Re: Conky - Calendars / Clocks / Time

I think there may be the possibility of missing packages on Arch that could be causing it as well?


Real Men Use Linux

Offline

#174 2017-06-25 02:53:24

Dobbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 2,584
Website

Re: Conky - Calendars / Clocks / Time

DeepDayze wrote:

I think there may be the possibility of missing packages on Arch that could be causing it as well?

I think you are right but there is no hint as to what they maybe in any of the errors


One of the ArchLabs dudes
Obssesive Metalhead and practiced beer drinker
\m/

Offline

#175 2017-06-25 02:59:36

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,154

Re: Conky - Calendars / Clocks / Time

Well, meantime try this conky v1.10 version.

conky.config = {
-- 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/>.
--###############################################################################
--# pkill -xf "conky -c /home/sector11/.conky/Grey/conkyrc" &
	background = false,
	update_interval = 0.5,


	cpu_avg_samples = 2,
	net_avg_samples = 2,

	double_buffer = true,
	no_buffers = true,

	text_buffer_size = 1024,
	imlib_cache_size = 0,

	own_window = true,
	own_window_class = 'Conky',
	own_window_type = 'normal',--All options: conky,dock,desktop,normal,override,panel
	own_window_transparent = true,
	own_window_argb_visual = true,
	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 = false,
	draw_borders = false,
	draw_graph_borders = false,

	minimum_width = 250, minimum_height = 135,
	maximum_width = 250,

	alignment = 'bottom_right',
	gap_x = 50,
	gap_y = 80,

	use_xft = true,
	override_utf8_locale = true,
	font = 'Roboto Condensed:size=12',
	xftalpha = 1,
	uppercase = false,
	use_spacer = 'none',

	default_color = '#616161',--D8D8D8
	color1 = '#8D8D8D',

	lua_load = '~/.conky/Grey/scripts/lua/imlib_clock.lua',

};

conky.text = [[
${goto 120}Buenos Aires

${voffset 10}${goto 150}${time %A}
${goto 150}${time %e}.${time %m}.${time %Y}
${lua imlib_clock grey 130 71 72}\

${voffset 10}${goto 120}${color1}${time %T}${color}]];

Hope you don't mind but it has my edit in the code under TEXT ( conky.text = [[ )


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

Board footer

Powered by FluxBB