Conky With Lua
-
- Posts: 55
- Joined: Sun 16 Oct 2011, 16:52
- battleshooter
- Posts: 1378
- Joined: Wed 14 May 2008, 05:10
- Location: Australia
Okey, that's great. Have you downloaded and installed the pets in the first post?XBlackChaosX wrote:@battleshooter
I'm running Lucid Puppy 5.2.8.005.
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
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]
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.
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.
-
- Posts: 55
- Joined: Sun 16 Oct 2011, 16:52
size?
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
I guess the cool backgrounds don't come with the package..
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
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.
- battleshooter
- Posts: 1378
- Joined: Wed 14 May 2008, 05:10
- Location: Australia
@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.
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]
Trying to run the Suuuuny theme from jemimahs updated .pet and conky won't load - I get the following errors in the terminal:
With the conky_grey theme:
I've used various liblua packages... Any ideas anyone?
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'
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]
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]
- battleshooter
- Posts: 1378
- Joined: Wed 14 May 2008, 05:10
- Location: Australia
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]
- battleshooter
- Posts: 1378
- Joined: Wed 14 May 2008, 05:10
- Location: Australia
@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?
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]
-
- Posts: 62
- Joined: Tue 28 Feb 2012, 04:16
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
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
- battleshooter
- Posts: 1378
- Joined: Wed 14 May 2008, 05:10
- Location: Australia
@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.
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]
-
- Posts: 62
- Joined: Tue 28 Feb 2012, 04:16
- battleshooter
- Posts: 1378
- Joined: Wed 14 May 2008, 05:10
- Location: Australia
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?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
[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]
-
- Posts: 62
- Joined: Tue 28 Feb 2012, 04:16
- battleshooter
- Posts: 1378
- Joined: Wed 14 May 2008, 05:10
- Location: Australia
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: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
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]
-
- Posts: 62
- Joined: Tue 28 Feb 2012, 04:16
- battleshooter
- Posts: 1378
- Joined: Wed 14 May 2008, 05:10
- Location: Australia
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 italwaysalonee 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
[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]
-
- Posts: 62
- Joined: Tue 28 Feb 2012, 04:16