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 Sun 23 Nov 2014, 04:50
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
xlideshow-0.0.1
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [27 Posts]   Goto page: Previous 1, 2
Author Message
trio


Joined: 21 Dec 2008
Posts: 1883
Location: अनुमोदना

PostPosted: Fri 26 Dec 2008, 09:53    Post subject: For .jwmrc  

should be put before the ending </jwm>

<Group>
<Class>xli</Class>
<Name>xli</Name>
<Option>noborder</Option>
<Option>notitle</Option>
<Option>layer:1</Option>
<Option>sticky</Option>
</Group>

But I don't know what's the equivalent of xli.geometry ...+... (icewm) for jwm, to make the window position persistance

Glad I can contribute 01Micko............
Back to top
View user's profile Send private message 
CatDude


Joined: 03 Jan 2007
Posts: 1497
Location: UK

PostPosted: Fri 26 Dec 2008, 11:35    Post subject:  

Hi

@ trio
Nice one mate, i much prefer the look of it without a border etc. Cool

CatDude
.

_________________

Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Fri 26 Dec 2008, 21:44    Post subject:  

CatDude, trio
I have fixed the code so xlideshow runs where ever you want on your screen and it was sooooooo simple. Works in your script too Catdude.
Code:
xli -geometry +870+600 -delay "$DELAY" -goto ~/scaledimages/01.jpg ~/scaledimages/*.jpg

where '+870+600' is the position on screen of the topleft of the image.

Maybe you could hack your script to have a 'position' option in your gui.
Here's a shot. I'm using Jwm but it should work in Icewm or any window manager, but to truly test it in Icewm you would have to remove those lines provided by trio.

We can have two versions of this, the widget version (which zigbert would I'm sure incorporate into Pwidgets, it is small enough) and the gui 'standalone' version. Only one problem left. In Jwm it still runs the commentary in the bar. Hmmmmm, but anyhows,

WE now have a working slide show made for Puppy, built by Puppians!
I'll steal some of your code if you don't mind CatDude, the bit where the folder ~/scaledimages gets emptied and creates '01.jpg. They say mimicry is the greatest form of flattery Wink . I'll pet that version up as 'xlideshow-0.0.1'
I knew you were on the right track with 'geometry', trio.

Thanks guys.

Micko
xlideshowjwm.jpg
 Description   
 Filesize   48.59 KB
 Viewed   842 Time(s)

xlideshowjwm.jpg


_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
trio


Joined: 21 Dec 2008
Posts: 1883
Location: अनुमोदना

PostPosted: Fri 26 Dec 2008, 22:23    Post subject: geometry
Subject description: xlideshow
 

I think you hit the jackpot there micko, why didn't I thin of it....cheers
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Fri 26 Dec 2008, 22:58    Post subject: Re: geometry
Subject description: xlideshow
 

trio wrote:
I think you hit the jackpot there micko, why didn't I thin of it....cheers

Thanks trio,
I uploaded 'xlideshow-0.0.1.pet for testing. See main post.

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
trio


Joined: 21 Dec 2008
Posts: 1883
Location: अनुमोदना

PostPosted: Sat 27 Dec 2008, 02:17    Post subject:  

I am on vacation and typing this on a blackberry. Please try -dBorder: 0 to remove border and -dTitlemenu: 0 or -dTitle: 0 to remove title on startmenu bar. I am curious. Tq
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5785
Location: Valåmoen, Norway

PostPosted: Sat 27 Dec 2008, 04:41    Post subject:  

I will sure add this to Pwidgets when slideshow is complete. - This is Great Cool .
I'm sorry for not helping at the moment. My focus is pointed elsewhere.

- I would prefer borders around the picture, so maybe an option...
- For Pwidgets the default horizontal position (X) will differ depending on the screen resolution, and if the widgets are placed to the right of the screen. We need to define this x-point.
Code:
xrandr -q | grep '*' | egrep "[0-9]+[ ]*x[ ]*[0-9]+" -o | cut -d "x" -f 1
This returns screen width.

Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Sun 28 Dec 2008, 18:01    Post subject:  

trio wrote:
I am on vacation and typing this on a blackberry. Please try -dBorder: 0 to remove border and -dTitlemenu: 0 or -dTitle: 0 to remove title on startmenu bar. I am curious. Tq


Hi trio
Here is a shot in icewm with those options. The border is gone.
Have a good trip.

Cheers
noborder-icewm.jpg
 Description   
 Filesize   15.36 KB
 Viewed   718 Time(s)

noborder-icewm.jpg


_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5785
Location: Valåmoen, Norway

PostPosted: Mon 29 Dec 2008, 05:10    Post subject:  

I'll be back with more. Have to go ... Very Happy

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Mon 29 Dec 2008, 05:59    Post subject:  

Sigmund,
Very nice. I've been thinking and thinking and all along (I assume) you've known. You must be a teacher. Because as a student I have learnt so much! Still only know 2 characters out of Samuel Morse' invention but my thinking has become more lateral.
I'm still trying! Wink

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
trio


Joined: 21 Dec 2008
Posts: 1883
Location: अनुमोदना

PostPosted: Mon 29 Dec 2008, 09:27    Post subject:    

@sigmund: how do you get the nice border? a jpg image that you render by xli under the slideshow?

@micko: I have been experimenting, I think I was right that the window is truly controlled by the wm we used. -geometry is a common command that can be used as icewm command or xli command........or maybe we should wait for the "teacher" to enlighten us? please delete all my icewm command and you put them in the xli command, nothing will happen ............ Wink
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5785
Location: Valåmoen, Norway

PostPosted: Mon 29 Dec 2008, 12:40    Post subject:  

Teacher speaking Very Happy

The fact is that; while I work with different things, the only education I got is as a teacher Smile , which I don't practice. - Well, just a bit on this forum Very Happy

Now when you have worked so much with this code, you will learn a lot just looking at how I put it all together. Michaels code is the base of all my work. You'll recognize much of his code in /usr/local/pwidgets/func.

There is room for improvements, so go ahead.....


The teacher

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 2 of 2 [27 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.0730s ][ Queries: 12 (0.0086s) ][ GZIP on ]