You are not logged in.

#176 2017-06-25 03:06:38

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

Re: Conky - Calendars / Clocks / Time

Hope no typos there S11 devil


Real Men Use Linux

Offline

#177 2017-06-25 03:29:26

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

Re: Conky - Calendars / Clocks / Time

Shouldn't be I used "convert.lua"  smile

 25 Jun 17 @ 00:26:39 ~
   $ cd /home/sector11/convert-lua
 
 25 Jun 17 @ 00:26:47 ~/convert-lua
   $ lua convert.lua conkyrc conky10rc

it comes with conky v1.10   angel


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#178 2017-06-25 03:49:12

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

Re: Conky - Calendars / Clocks / Time

Thanks for the conversion S11, upgraded to Conky 1.10 and still getting seg faults.


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

Offline

#179 2017-06-25 04:21:43

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

Re: Conky - Calendars / Clocks / Time

sad  something there doesn't like your machine or ARCH I guess.  sad

Copy: /usr/share/doc/conky-***/convert.lua to a directory in ~/ ( I use ~/convert.lua )and make it executable.

CD to the directory (you must be in it)
copy the conky to the directory

 $ lua convery.lua conkyfile

will overwrite 'conkyfile' with v1.10 code

or create a new file

 $ lua convery.lua conkyfile newfilename

I didn't do it with this convert for you but (this is just me) I strip out all commands are are commented out since they will not get converted and if you ever remove the " -- " thinking it will work:  You get an "OOPS!"


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#180 2017-06-25 04:33:59

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

Re: Conky - Calendars / Clocks / Time

Sector11 wrote:

sad  something there doesn't like your machine or ARCH I guess.  sad

Copy: /usr/share/doc/conky-***/convert.lua to a directory in ~/ ( I use ~/convert.lua )and make it executable.

CD to the directory (you must be in it)
copy the conky to the directory

 $ lua convery.lus conkyfile

will overwrite 'conkyfile' with v1.10 code

or create a new file

 $ lua convery.lus conkyfile newfilename

I didn't do it with this convert for you but (this is just me) I strip out all commands are are commented out since they will not get converted and if you ever remove the " -- " thinking it will work:  You get an "OOPS!"


Just did all those things.....the seg fault continues to plague me.  I give up for now.

Thank you all for your help.


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

Offline

#181 2017-06-25 05:07:33

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

Re: Conky - Calendars / Clocks / Time

I've changed my mind about giving up, this config is too good to pass by.

I deleted all the files and started from scratch with a 1.10 version.  This is the error I am now getting in the terminal.

onky: 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 (0x3800002)
conky: drawing to double buffer

I am indeed missing those files/folders.  I have lua 5.3 installed.  Not sure where to go from here.


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

Offline

#182 2017-06-25 05:19:11

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

Re: Conky - Calendars / Clocks / Time

Try 5.2 that's what's running here.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#183 2017-06-25 05:44:39

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

Re: Conky - Calendars / Clocks / Time

Sector11 wrote:

Try 5.2 that's what's running here.

Let me persevre with 5.3 first, once I am out of ideas then I will try 5.2 smile


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

Offline

#184 2017-06-25 08:53:45

ututo
Member
Registered: 2015-09-29
Posts: 279

Re: Conky - Calendars / Clocks / Time

geez... i just see these posts.
I'm running...

Conky 1.9.0 compiled Wed Sep 10 07:11:34 UTC 2014 for Linux 3.2.0-4-amd64 (x86_64)

try to extract the tar file in /home/your_name/.conky/Grey/images/grey/
lets see what happens.
It's not my code. just changed some images...


BunsenLabs on deviantArt
Don't touch my git!

Offline

#185 2017-06-25 09:12:18

unklar
Member
Registered: 2015-10-31
Posts: 1,095

Re: Conky - Calendars / Clocks / Time

^ I have exactly the same error.   tongue

conky: llua_load: /home/unklar/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'
inxi -S
System:    Host: archhost Kernel: 4.11.6-1-ARCH x86_64 (64 bit) Desktop: KDE Plasma 5.10.2 Distro: Arch Linux

Offline

#186 2017-06-25 17:05:26

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

Re: Conky - Calendars / Clocks / Time

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

dobbie03 wrote:

I am indeed missing those files/folders.  I have lua 5.3 installed.  Not sure where to go from here.

I suspect you have the files, just not the folder/directory structure.

There may an under the hood difference in where Arch and Debian install the files - i.e. /usr/lib v. /usr/share/lib - and then configures the application (lua and imlib in this case?).

If you can locate the files that llua_load is looking for, you may be able to just create some symlinks to the locations it's searching. I've had success doing that in the past.

Last edited by PackRat (2017-06-25 17:07:27)


You must unlearn what you have learned.
    -- yoda

Offline

#187 2017-06-25 21:12:50

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

Re: Conky - Calendars / Clocks / Time

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

dobbie03 wrote:

I am indeed missing those files/folders.  I have lua 5.3 installed.  Not sure where to go from here.

I suspect you have the files, just not the folder/directory structure.

There may an under the hood difference in where Arch and Debian install the files - i.e. /usr/lib v. /usr/share/lib - and then configures the application (lua and imlib in this case?).

If you can locate the files that llua_load is looking for, you may be able to just create some symlinks to the locations it's searching. I've had success doing that in the past.

I have done a through search and I am missing these files.  Would be nice if the people on G+ who got it working on Arch would reply to me.


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

Offline

#188 2017-06-25 22:09:45

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

Re: Conky - Calendars / Clocks / Time

ututo wrote:

geez... i just see these posts.
I'm running...

Conky 1.9.0 compiled Wed Sep 10 07:11:34 UTC 2014 for Linux 3.2.0-4-amd64 (x86_64)

try to extract the tar file in /home/your_name/.conky/Grey/images/grey/
lets see what happens.
It's not my code. just changed some images...

Yea, mine works from the same place and I also have it running from:

/media/5/Conky/Grey/conkyrc

Above TEXT in the conky I removed:

update_run_times 0

it's not a conky command.

and in the LUA script I commented out (line 23):

--	imlib_free_image ()

Run the two of them too long and things freeze up though  smile
2017-06-25_185434_Scrot11.th.jpg

Dobbie03, hope you get it going.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#189 2017-06-25 22:20:05

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

Re: Conky - Calendars / Clocks / Time

I have tried those, if I have the lua link uncommented in the conky config I get a seg fault.

Still struggling to get the clock face to show.

Last edited by Dobbie03 (2017-06-25 22:34:36)


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

Offline

#190 2017-06-25 22:25:52

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

Re: Conky - Calendars / Clocks / Time

@ Dobbie03 - I have none of the things that conky is telling you you are missing.  sad
I have:

/usr/share/lua/5.1
/usr/share/lua/5.2

and go from / to:

/usr/lib/lp_solve
/usr/lib/man-db

so no "/usr/lib/lua/" either.

Sniffing out files:

 25 Jun 17 @ 19:13:21 ~
   $ sff imlib2 /
[sudo] password for sector11: 
/usr/lib/x86_64-linux-gnu/imlib2
 
 25 Jun 17 @ 19:14:41 ~
   $ sff imlib2.lua /
[sudo] password for sector11: 
 
 25 Jun 17 @ 19:15:12 ~
   $ 

crazy!!!!


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#191 2017-06-25 22:29:49

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

Re: Conky - Calendars / Clocks / Time

OK, where is Rod Serling hiding? ...  He's gotta be here someplace!! ... I hear the music!


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#192 2017-06-25 22:34:19

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

Re: Conky - Calendars / Clocks / Time

I'm struggling to keep calm with this.  I just can't understand how people who are using the same system as me can get it going yet it won't work for me.  Totally frustrated.


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

Offline

#193 2017-06-25 22:44:02

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

Re: Conky - Calendars / Clocks / Time

OH I've been there and done that ... in fact in another respect, I'm there and doing that ... but not with conky.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#194 2017-06-25 22:45:47

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

Re: Conky - Calendars / Clocks / Time

Sector11 wrote:

OH I've been there and done that ... in fact in another respect, I'm there and doing that ... but not with conky.


LOL! S11 check your PM's at the AL forum smile


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

Offline

#195 2017-06-25 23:25:56

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

Re: Conky - Calendars / Clocks / Time

Dobbie03 wrote:

I'm struggling to keep calm with this.  I just can't understand how people who are using the same system as me can get it going yet it won't work for me.  Totally frustrated.

I'm having nearly the same issues with Void. I repoduced your error in post #155. After converting the conkyrc file to 1.10, I get the conky data part, but not the clock. No seg fault though. I'll tinker a bit longer with it.

Last edited by PackRat (2017-06-25 23:27:06)


You must unlearn what you have learned.
    -- yoda

Offline

#196 2017-06-25 23:29:08

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

Re: Conky - Calendars / Clocks / Time

PackRat wrote:
Dobbie03 wrote:

I'm struggling to keep calm with this.  I just can't understand how people who are using the same system as me can get it going yet it won't work for me.  Totally frustrated.

I'm having nearly the same issues with Void. I repoduced your error in post #155. After converting the conkyrc file to 1.10, I get the conky data part, but not the clock. No seg fault though. I'll tinker a bit longer with it.

Thanks Pack.  Appreciate it.


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

Offline

#197 2017-06-26 00:07:28

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

Re: Conky - Calendars / Clocks / Time

^ I'm stumped.

The only thing I can think of is that lines like these in the lua script (after changing the path to match my system):

image_path = os.getenv ('HOME')..'/.conky/DAWANA/images/'

local imgFace =  imlib_load_image(image_path..theme..'/face.png')

aren't registering so the script doesn't find the images. I have no idea why that would be, but keep coming back to that.

Time to walk the dog and think about something else for a while  monkey

Last edited by PackRat (2017-06-26 00:08:58)


You must unlearn what you have learned.
    -- yoda

Offline

#198 2017-06-26 00:17:24

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

Re: Conky - Calendars / Clocks / Time

PackRat wrote:

^ I'm stumped.

The only thing I can think of is that lines like these in the lua script (after changing the path to match my system):

image_path = os.getenv ('HOME')..'/.conky/DAWANA/images/'

local imgFace =  imlib_load_image(image_path..theme..'/face.png')

aren't registering so the script doesn't find the images. I have no idea why that would be, but keep coming back to that.

Time to walk the dog and think about something else for a while  monkey

I actually had that thought too.....I'm going to let this rest for a few days and revisitwhen I am in a better mood smile


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

Offline

#199 2017-06-26 00:30:04

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

Re: Conky - Calendars / Clocks / Time

Weird ... I have it in two locations:

~/home
/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

lua_load ~/.conky/Grey/scripts/lua/imlib_clock.lua

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}

and in /media/5/Conky:
/media/5/Conky/Grey/images - same sub directory structure
/media/5/Conky/Grey/scripts - same sub directory structure
/media/5/Conky/Grey/conkyrc

lua_load /media/5/Conky/Grey/scripts/lua/imlib_clock.lua

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}

Other than commenting out the line in the LUA script I didn't touch anything else.

Obviously from the LUA script it's picking up the images from:
/home/sector11/.conky/Grey/images/grey/
because I did not change that

image_path = os.getenv ('HOME')..'/.conky/Grey/images/'

The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#200 2017-06-26 00:41:46

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

Re: Conky - Calendars / Clocks / Time

Brainstorming:  Think:  "..theme.."  dould that be "directory"  ???

Grey and grey ???


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

Board footer

Powered by FluxBB