Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 17 Sep 2014, 23:55
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Eye Candy
Conky With Lua
Post new topic   Reply to topic View previous topic :: View next topic
Page 4 of 6 [86 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6 Next
Author Message
jaydee

Joined: 18 Apr 2012
Posts: 7

PostPosted: Wed 16 May 2012, 07:13    Post subject:  

battleshooter, appreciate the feedback.

its the openbox that comes as the default wm in lupu, specs say
openbox 3.4.11 , repo has it as openbox_3.4.10-1 .
the xdgmenu that also shows up in repo composes the start menu so it shouldnt (probably?) be necessary.

Tracking down the transparency command sounds like a tall order for my skillset, but i ll certainly give it a go. Also attached my conkyrc file, in case any specific setting in it contributes to the effect (also added a preview pic, to keep the punters passing through happy).

like yourself, i have nothing against feh, i just looked through its files, and it seems feh was designed for a completely different reason and function; it seems a bit too much for what we want it for (although still a great working fix).

thanks again for the effort.
compactlua.tar.gz
Description  stripped-down, compact version of conky lua rings
gz

 Download 
Filename  compactlua.tar.gz 
Filesize  27.78 KB 
Downloaded  669 Time(s) 
preview.jpg
 Description   
 Filesize   23.6 KB
 Viewed   2590 Time(s)

preview.jpg

Back to top
View user's profile Send private message 
battleshooter


Joined: 14 May 2008
Posts: 1075
Location: Australia

PostPosted: Thu 17 May 2012, 06:00    Post subject:  

Well that's got to be the weirdest thing ever. I tried fiddling around with the conkyrc file for the "Cherries" theme in OpenBox but wasn't able to achieve any transparency. Then I tried your compact lua theme (it's a nice take on the original by the way Smile) and true enough it was black and then eventually went transparent. I'll have to look more into this tomorrow, maybe copy the settings from the compact lua conkyrc and try to work them with another theme.
_________________
LMMS 1.0.2, Ardour 3.5.389, Kdenlive 0.9.8
Back to top
View user's profile Send private message 
jaydee

Joined: 18 Apr 2012
Posts: 7

PostPosted: Thu 17 May 2012, 15:02    Post subject:  

its weird, right ?!

I was going back and forth on all the startup scripts and got lost, so i went back to the conkyrc file, commenting out rules and it seems that the rule that allows this is
Code:
 own_window_type override
(none of the other options exhibits this).
According to the conky configuration page, Override windows are not under the control of the window manager, meaning no wm decorations or rules apply.
So we might not be getting transparency per se (none of the argb/opacity values work), but just that the base window (border, label,) isn't drawn;why the background lags is right now beyond me. To get variable transparency in openbox, i think we probably need a compositor like xcompmgr, as per urukrama's guide.

This could very well be a weird glitch/coincidence that made me jump into a convenient conclusion.
Back to top
View user's profile Send private message 
alwaysalonee

Joined: 28 Feb 2012
Posts: 62

PostPosted: Mon 21 May 2012, 00:33    Post subject:  

Code:
own_window_type override

this is a magic code for transparency Shocked
in greenlua conky rc file i put that line and it begin to give transparency Shocked Shocked Shocked Shocked :
Back to top
View user's profile Send private message 
battleshooter


Joined: 14 May 2008
Posts: 1075
Location: Australia

PostPosted: Mon 21 May 2012, 04:53    Post subject:  

I haven't had time to really process your post jaydee, I'll be busy most this week, but just thought to post to let you know I haven't forgotten about OpenBox and Conky.

alwaysalonee wrote:
this is a magic code for transparency

Haha, that made me laugh Smile

_________________
LMMS 1.0.2, Ardour 3.5.389, Kdenlive 0.9.8
Back to top
View user's profile Send private message 
`f00


Joined: 06 Nov 2008
Posts: 809
Location: the Western Reserve

PostPosted: Mon 21 May 2012, 10:50    Post subject:
Subject description: order and layer
 

..enable wand gestures (pesky brooms with pails Wink

This may be ot for this particular conky (use the old 161 myself since 181 gave me multiple pids in htop), but pseudotrans needs always a bg set before conky starts - however you set it. Sometimes the wm does it like enlightenment, afterstep, startfluxbox or if flux/blackbox/? does it in the style when changing that; other wms I do the bg-set as the first line for each wm, then wbar, then conky (with sleep-delay as desired) in a ~/Startup/script. As noted conky 'catches up' after awhile (sooner or later, depending). If a rox pinboard is used, that can be yet another background (if roxpin has been set up as an on-demand item) or the initial method Neutral

On some of my pups, openbox likes a normal or desktop rather than override - otherwise windows may open under the layer conky is on. Enlightenment has different needs as well (akin to xfce as I recall, but with a few differences of course)

Depending on your 'clutter' preferences, more control can be exerted (like iconizing to the task/client list or..) with the 'skip' parameters - wms and pagers allowing. Funny, I used to use this to hide desktop icons under conky
Back to top
View user's profile Send private message 
alwaysalonee

Joined: 28 Feb 2012
Posts: 62

PostPosted: Mon 21 May 2012, 12:40    Post subject:  

here's a trick for noobs by a noob
create a script name it yoconky and paste code
Code:
conky -c /root/.conky/greenlua/conkyrc
set_wallpaper /root/imgs/cool.jpg

you will need to change paths to files tho Razz
additionally i put this script in bin folder and in tint2 in clock setting on right click i give it as command so i just have to right click on clock to get some things done easily Smile
Back to top
View user's profile Send private message 
Colonel Panic


Joined: 16 Sep 2006
Posts: 1513

PostPosted: Tue 29 May 2012, 17:31    Post subject:  

This looks good. I might give it a try next weekend when hopefully I'll have some spare time. Thanks for the thread and info.

Cheers,

CP .

_________________
Stone Pentium IV (2.4 GHz), 2 GB of RAM, 160 GB hard drive running Puppy Slacko 5.9.3, Puppy EmSee v2.2, Puppy 4.31 Workhorse, Puppy Boxpup 4.31, Puppy Carolina 1.2, Puppy Legacy OS2 LTS, Puppy Diamond 528_512 (full) and Puppy Upup Raring 3.9.9.2.

Last edited by Colonel Panic on Sat 08 Jun 2013, 11:34; edited 1 time in total
Back to top
View user's profile Send private message 
scott2907

Joined: 11 May 2012
Posts: 5

PostPosted: Thu 31 May 2012, 09:49    Post subject: OB Transparency  

Hi Guys
This is a great thread and I got conky in and working no bother.
I'm having trouble with my lua rings tho -

Code:
conky: llua_do_call: function conky_clock_rings execution failed:attempt to call a nil value


Also, my /usr/local/apps/Wallpaper directory doesn't exist. Instead I have an executable there of the same name that is nathan's wallpaper switcher.
No hidden files either. So I can't put my transparency setting in there as you describe.

Thanks for any help here.
*Intel something-or-other, 1GB, Openbox, wbar, slacko.*
Tom
Back to top
View user's profile Send private message 
battleshooter


Joined: 14 May 2008
Posts: 1075
Location: Australia

PostPosted: Thu 31 May 2012, 11:44    Post subject: Re: OB Transparency  

scott2907 wrote:
Hi Guys

This is a great thread and I got conky in and working no bother.
I'm having trouble with my lua rings tho -

Code:
conky: llua_do_call: function conky_clock_rings execution failed:attempt to call a nil value



That's weird, I thought I edited the code to remove that error. It basically comes up if you don't have the things installed that are being displayed in the rings.

Stick this I suppose at the top of the clock_rings.lua file after all the red comments and I think it should fix your problem.

Code:
if value == nil then value = 0 end
pct = value/pt['max']


scott2907 wrote:

Also, my /usr/local/apps/Wallpaper directory doesn't exist. Instead I have an executable there of the same name that is nathan's wallpaper switcher.
No hidden files either. So I can't put my transparency setting in there as you describe.


Haha, actually that executable is the folder. If you click on the folder while holding shift, it should open normally as a folder. Smile

scott2907 wrote:

slacko


Do the pets I uploaded in this thread work on Slacko? Shocked Or are you using a Conky pet for Slacko?

_________________
LMMS 1.0.2, Ardour 3.5.389, Kdenlive 0.9.8
Back to top
View user's profile Send private message 
scott2907

Joined: 11 May 2012
Posts: 5

PostPosted: Thu 31 May 2012, 15:04    Post subject: Re: OB Transparency  

Thanks for the answer I'll give it a go.

battleshooter wrote:

Do the pets I uploaded in this thread work on Slacko? Shocked Or are you using a Conky pet for Slacko?


yup they seem to! At least your Conky pet did, I still don't have LUA working, but I'm sure that's user error.

and regarding the wallpaper icon- That's just weird!!!
Handdrawn.png
Description 
png

 Download 
Filename  Handdrawn.png 
Filesize  1.34 MB 
Downloaded  659 Time(s) 
Back to top
View user's profile Send private message 
koulaxizis


Joined: 17 Jul 2011
Posts: 428
Location: Greece

PostPosted: Tue 14 Aug 2012, 11:08    Post subject:  

Nice post my friend! I finally managed to set up conky as i like! Thank you! Smile
_________________
Christos Koulaxizis
Woof woof from Greece...

[ Puppy packages | Puppy search ]
Back to top
View user's profile Send private message Visit poster's website 
Haut_Dawg


Joined: 25 Nov 2012
Posts: 27
Location: Portland OR

PostPosted: Sun 02 Dec 2012, 12:33    Post subject: conky troubles  

Hi! I'm fooling around with conky this morning. I have done step 1 and step 2. I seem to be missing something. Here's my screeny. Thank for any help.
Cheers!
Haut_Dawg
not quite there.png
 Description   
 Filesize   170.89 KB
 Viewed   1808 Time(s)

not quite there.png


_________________
2x Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz//4138MB (304MB used)//GeForce 8600 GT/PCIe/SSE2//Creative X-Fi//Puppy Precise 5.4.2.2
Back to top
View user's profile Send private message 
James C


Joined: 26 Mar 2009
Posts: 5753
Location: Kentucky

PostPosted: Sun 02 Dec 2012, 13:02    Post subject:  

One of my current Conky configs......
Conky Exprimo.png
 Description   
 Filesize   160.95 KB
 Viewed   1842 Time(s)

Conky Exprimo.png

Back to top
View user's profile Send private message 
nilsonmorales


Joined: 15 Apr 2011
Posts: 485
Location: El salvador

PostPosted: Sat 29 Dec 2012, 03:48    Post subject:  

I like my conky+lua
thank you batleshooter
Back to top
View user's profile Send private message MSN Messenger 
Display posts from previous:   Sort by:   
Page 4 of 6 [86 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Eye Candy
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1053s ][ Queries: 13 (0.0163s) ][ GZIP on ]