Conky With Lua

Themes, icons, wallpapers, etc.
Message
Author
XBlackChaosX
Posts: 55
Joined: Sun 16 Oct 2011, 16:52

#16 Post by XBlackChaosX »

@battleshooter
I'm running Lucid Puppy 5.2.8.005.

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#17 Post by battleshooter »

XBlackChaosX wrote:@battleshooter
I'm running Lucid Puppy 5.2.8.005.
Okey, that's great. Have you downloaded and installed the pets in the first post?
That's technically all the files Conky needs to run.

However, if there is a black screen around where Conky is, let me know, and I'll help you tweak your system settings to get rid of the black.

Finally, to actually get Conky running you can create a script, called "conkystart" or something and put it in your /root/Startup folder.

Put this in the file:

Code: Select all

conky -c /path/to/conkyrc
"conky" is basically the program. "-c" is saying use this theme. And "/path/to/conkyrc" is the location where your Conky theme file is.

Alternatively, you could try using the Conky theme switcher,
Which will basically setup what I said above and give you a nice GUI to pick Conky setups. If you have any questions, fire away.
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=94580]LMMS 1.0.2[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94593]Ardour 3.5.389[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94629]Kdenlive 0.9.8[/url]

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#18 Post by jemimah »

I've updated the conky switcher a little and made some more themes for it.

http://smokey01.com/jemimah/misc/conkys ... x-0.02.pet

There are some additional fonts you'll need.
http://smokey01.com/saluki/pet_packages ... nt-001.pet
http://smokey01.com/saluki/pet_packages ... 1.07.2.pet
http://smokey01.com/saluki/pet_packages ... ts-1.0.pet

Screen shots are here:
http://murga-linux.com/puppy/viewtopic. ... 702#619702

This should work with rox/jwm but I haven't tested it (I only tested on Saluki, but if you run Saluki, use the pet in the saluki repo - it's not the same). The new themes might need some tweaks for ROX if I didn't get them quite right.

XBlackChaosX
Posts: 55
Joined: Sun 16 Oct 2011, 16:52

#19 Post by XBlackChaosX »

@battleshooter
I created the conkystart script, and i opened it with abiword to place the line that you gave me in it but there was already something in it "#!/bin/sh" What is this and should i delete it and add what you gave me or place it along side it?

r4m0n3
Posts: 10
Joined: Tue 06 Jan 2009, 22:57

size?

#20 Post by r4m0n3 »

This is great! Thanks battleshooter.
I'm pretty close here.. only problem is that I can't see the actual background in any theme. Only the widgets on the right are visible.

I also tried looking root/.conky/orangelua/conkyrc where does the background come from.. but I couldn't see any path there..


*lupu 528.003 "pendrive", Xorg@1280x800, openbox, no wbar, Asus a6u laptop*

is it the lack of wbar, running from pendrive or just a tricky laptop :) ?


edit
:D I guess the cool backgrounds don't come with the package..
Last edited by r4m0n3 on Tue 17 Apr 2012, 12:03, edited 1 time in total.

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#21 Post by battleshooter »

@jemimah

Cool, nice to know someone's giving Conky switcher some love. I'll add a link to the first post for Saluki users. The latest Saluki 019 looks awesome by the way, really looking forward to messing around with it tonight. :)

@XBlackChaosX

Nope, don't get rid of "#!/bin/sh". It's to tell the system it's a script.

Just add conky -c /path/to/conkyrc on the line beneath it.

@r4m0n3

Sorry man, not really sure what the problem is :? Your screenshot looks normal, what do you mean exactly by "can't see the actual background in any theme" What background? Not running Wbar shouldn't be a problem.
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=94580]LMMS 1.0.2[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94593]Ardour 3.5.389[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94629]Kdenlive 0.9.8[/url]

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#22 Post by sc0ttman »

Trying to run the Suuuuny theme from jemimahs updated .pet and conky won't load - I get the following errors in the terminal:

Code: Select all

Conky: llua_load: /root/.conky/Suuuuny/text.lua:8: module 'cairo' not found:
        no field package.preload['cairo']
        no file './cairo.lua'
        no file '/usr/local/share/lua/5.1/cairo.lua'
        no file '/usr/local/share/lua/5.1/cairo/init.lua'
        no file '/usr/local/lib/lua/5.1/cairo.lua'
        no file '/usr/local/lib/lua/5.1/cairo/init.lua'
        no file '/usr/share/lua/5.1/cairo.lua'
        no file '/usr/share/lua/5.1/cairo/init.lua'
        no file '/usr/lib/conky/libcairo.so'
        no file './cairo.so'
        no file '/usr/local/lib/lua/5.1/cairo.so'
        no file '/usr/lib/lua/5.1/cairo.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
With the conky_grey theme:

Code: Select all

Conky: llua_load: /root/.conky/conky_grey/conky_grey.lua:10: module 'cairo' not found:
        no field package.preload['cairo']
        no file './cairo.lua'
        no file '/usr/local/share/lua/5.1/cairo.lua'
        no file '/usr/local/share/lua/5.1/cairo/init.lua'
        no file '/usr/local/lib/lua/5.1/cairo.lua'
        no file '/usr/local/lib/lua/5.1/cairo/init.lua'
        no file '/usr/share/lua/5.1/cairo.lua'
        no file '/usr/share/lua/5.1/cairo/init.lua'
        no file '/usr/lib/conky/libcairo.so'
        no file './cairo.so'
        no file '/usr/local/lib/lua/5.1/cairo.so'
        no file '/usr/lib/lua/5.1/cairo.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'

I've used various liblua packages... Any ideas anyone?
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#23 Post by sc0ttman »

ignore my post above, i was missing the libcairo and libimlib2 stuff in /usr/lib/conky
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#24 Post by battleshooter »

Ah ok, glad you got it sorted Scott, sorry I wasn't of more assistance :?
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=94580]LMMS 1.0.2[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94593]Ardour 3.5.389[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94629]Kdenlive 0.9.8[/url]

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#25 Post by battleshooter »

@r4m0n3

Oh right sorry, no the backgrounds don't come with the packages, they were just examples of what you could do with the Conky theme. Were there any particular wallpapers you were after?
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=94580]LMMS 1.0.2[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94593]Ardour 3.5.389[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94629]Kdenlive 0.9.8[/url]

alwaysalonee
Posts: 62
Joined: Tue 28 Feb 2012, 04:16

#26 Post by alwaysalonee »

However, if there is a black screen around where Conky is, let me know, and I'll help you tweak your system settings to get rid of the black.

i am getting black screen ..
i am on lucid puppy 5.2.8 ..
openbox as WM ...
i've downloaded conky pets from
please help
thanks ..

jaydee
Posts: 7
Joined: Wed 18 Apr 2012, 10:20

#27 Post by jaydee »

aa, if the black window is persistent, check the position of

feh --bg-scale /root/.background in /root/.xinitrc .

the code line: rox -p /root/Choices/ROX-Filer/PuppyPin appears at least twice (i remember they reside in an if - else statement), so try to place it before the other instance. (this is what i was doing wrong the first time around).

alternatively, with conky enabled, use nathan's wallpaper setter and change the wp image.
See if transparency appears (which is what the
feh --bg-scale $IMAGE
cp -f $IMAGE /root/.background
code in the file /usr/local/apps/Wallpaper/set_bg does).

i have a sneaky suspicion that half the enjoyment of conky is trying to get it to work they way you like. Hang in there

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#28 Post by battleshooter »

@jaydee

Thanks much for replying alwaysalonee, I'm busy these days and don't always get around to answering questions.

@alwaysalonee
Let us know how you go with jaydee's suggestion.
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=94580]LMMS 1.0.2[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94593]Ardour 3.5.389[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94629]Kdenlive 0.9.8[/url]

alwaysalonee
Posts: 62
Joined: Tue 28 Feb 2012, 04:16

#29 Post by alwaysalonee »

sorry for late replay
i tried jd's suggestion but didn't work
conky was running fine on XFCE wm but now XFCE is not loading itself :(

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#30 Post by battleshooter »

alwaysalonee wrote:sorry for late replay
i tried jd's suggestion but didn't work
conky was running fine on XFCE wm but now XFCE is not loading itself :(
Hmmm, XFCE... that could be a little different because it comes with real transparency. Alright, back to the topic on hand, what was the last thing you edited before XFCE didn't start? Are you able to load into other window managers like JWM?
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=94580]LMMS 1.0.2[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94593]Ardour 3.5.389[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94629]Kdenlive 0.9.8[/url]

alwaysalonee
Posts: 62
Joined: Tue 28 Feb 2012, 04:16

#31 Post by alwaysalonee »

yes jwm also gives black screen ..
before a while when i mount my usb it used to be green dot on icon but now it gives red dot on usb drive icon , is it a problem ?
i am gonna reinstall puppy and try again , i hope XFCE will load fine then

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#32 Post by battleshooter »

alwaysalonee wrote:yes jwm also gives black screen ..
before a while when i mount my usb it used to be green dot on icon but now it gives red dot on usb drive icon , is it a problem ?
i am gonna reinstall puppy and try again , i hope XFCE will load fine then
Yes, if you reinstall Puppy, XFCE should work again. If you enable compositing in XFCE, you shouldn't need to go through any of the steps except for installing the basic pets:

conky-1.8.1.pet
liblua5.1-0_5.1.4-5_i386.deb
libiconv-1.14.pet

and then just starting up a Conky theme normally. Be warned that the default Conky theme does have a black box around it so don't be fooled by it into thinking your Conky setup isn't working, test with a different theme.
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=94580]LMMS 1.0.2[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94593]Ardour 3.5.389[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94629]Kdenlive 0.9.8[/url]

alwaysalonee
Posts: 62
Joined: Tue 28 Feb 2012, 04:16

#33 Post by alwaysalonee »

after installing, it works well on xfce and openbox. in openbox it takes some seconds to completely vanish black screen but it's ok coz finally it's working :)

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#34 Post by battleshooter »

alwaysalonee wrote:after installing, it works well on xfce and openbox. in openbox it takes some seconds to completely vanish black screen but it's ok coz finally it's working :)
Very glad to hear that! So just to clarify, you reinstalled, didn't mess with the .xinitrc file and now there's no black box around Conky? If yes, great! Good job for sticking with it :)
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=94580]LMMS 1.0.2[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94593]Ardour 3.5.389[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94629]Kdenlive 0.9.8[/url]

alwaysalonee
Posts: 62
Joined: Tue 28 Feb 2012, 04:16

#35 Post by alwaysalonee »

..
Last edited by alwaysalonee on Sun 13 May 2012, 08:47, edited 1 time in total.

Post Reply