xlideshow-0.0.1

A home for all kinds of Puppy related projects
Message
Author
User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

For .jwmrc

#16 Post by trio »

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............

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#17 Post by CatDude »

Hi

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

CatDude
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#18 Post by 01micko »

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: Select all

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
Attachments
xlideshowjwm.jpg
(48.59 KiB) Downloaded 891 times
Puppy Linux Blog - contact me for access

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

geometry

#19 Post by trio »

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

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

Re: geometry

#20 Post by 01micko »

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.
Puppy Linux Blog - contact me for access

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#21 Post by trio »

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

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#22 Post by zigbert »

I will sure add this to Pwidgets when slideshow is complete. - This is Great 8) .
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: Select all

xrandr -q | grep '*' | egrep "[0-9]+[ ]*x[ ]*[0-9]+" -o | cut -d "x" -f 1
This returns screen width.

Sigmund

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#23 Post by 01micko »

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
Attachments
noborder-icewm.jpg
(15.36 KiB) Downloaded 773 times
Puppy Linux Blog - contact me for access

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#24 Post by zigbert »

I'll be back with more. Have to go ... :D
Image

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#25 Post by 01micko »

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:
Puppy Linux Blog - contact me for access

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#26 Post by trio »

@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:

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#27 Post by zigbert »

Teacher speaking :D

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

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

Post Reply