LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   conky install: where to run LUA=yes script? (http://www.linuxquestions.org/questions/slackware-14/conky-install-where-to-run-lua%3Dyes-script-4175470887/)

textillis 07-25-2013 10:37 AM

conky install: where to run LUA=yes script?
 
I just used sbopkg to download conky and dependencies: lua, imlib2 and tolua++.

In the readme there is a note saying:
"You will need (abovementioned files) and:
run script LUA=yes ./conky.Slackbuilds"

Where do I run this script?

Edit: Okay, after searching the forum, I'm a step closer, after finding this, written 3 years ago:
Quote:

As for Conky, using that slackbuild you should be able to build and install it without any issue, but if you would like to add LUA support, you will need to install the required packages and their dependencies. First, once you have found conky, go down to the "Options" section in the menu and enter in "LUA=yes" (no quotes). Add it to your build queue, then add the dependencies as follows:
Conky with LUA support requires lua, imlib2, and tolua++, which you can add by searching for them using sbopkg.
tolua++ will require lua (which you've already added), and scons.
However, when I run conky at the prompt, I get this:
Code:

# conky
Conky: desktop window (1600003) is subwindow of root window (ae)
Conky: window type - desktop
Conky: drawing to created window (0x3800001)
Conky: drawing to single buffer

And the program doesn't do anything, doesn't terminate, doesn't run, no other error report.


Thanks kindly for any help

torimus 07-25-2013 11:46 AM

I don't use sbopkg, but passing environment variable has to work in the same way.

So do LUA=yes sbopkg build conky or something like that and it has to do the job unless sbopkg touches environment.

Habitual 07-25-2013 03:30 PM

go here and grab the Individual Files:
also grab http://downloads.sourceforge.net/con...-1.9.0.tar.bz2
save them on your local machine.

open a terminal and run
Code:

chmod 700  conky.SlackBuild
then
Code:

LUA=yes ./conky.SlackBuild

chess 07-25-2013 09:57 PM

Select "Options" in sbopkg (when you are viewing the Conky menu) to add build options like LUA=yes.

textillis 07-26-2013 12:54 AM

Chess:
Ah! that is the bit I was failing to understand!
thanks chess!

textillis 07-26-2013 12:55 AM

Habitual,
Thanks.
I had used to sbopkg but I will uninstall then go back and do as you suggest.

Appreciate it.

Habitual 07-26-2013 08:42 AM

Quote:

Originally Posted by textillis (Post 4997007)
Habitual,
Thanks.
I had used to sbopkg but I will uninstall then go back and do as you suggest.

Appreciate it.

Thank me if and when it works. :)

textillis 07-26-2013 11:07 AM

conky experience
 
1 Attachment(s)
Quote:

Originally Posted by Habitual (Post 4997219)
Thank me if and when it works. :)

That was fun.
The result: I have a humble conky that starts when I startx and I have a .conkyrc which I can play with.

I have included photographic evidence.

Cheers and thanks!

Habitual 07-26-2013 12:00 PM

Quote:

Originally Posted by textillis (Post 4997309)
That was fun.
The result: I have a humble conky that starts when I startx and I have a .conkyrc which I can play with.

I have included photographic evidence.

Cheers and thanks!

Glad it worked out. :)

textillis 07-26-2013 11:09 PM

slowed startup time for X after .conkyrc & .bashrc?
 
Sorry: wrong thread.


All times are GMT -5. The time now is 01:46 PM.