Page 1 of 2

For .jwmrc

Posted: Fri 26 Dec 2008, 13:53
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............

Posted: Fri 26 Dec 2008, 15:35
by CatDude
Hi

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

CatDude
.

Posted: Sat 27 Dec 2008, 01:44
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

geometry

Posted: Sat 27 Dec 2008, 02:23
by trio
I think you hit the jackpot there micko, why didn't I thin of it....cheers

Re: geometry

Posted: Sat 27 Dec 2008, 02:58
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.

Posted: Sat 27 Dec 2008, 06:17
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

Posted: Sat 27 Dec 2008, 08:41
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

Posted: Sun 28 Dec 2008, 22:01
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

Posted: Mon 29 Dec 2008, 09:10
by zigbert
I'll be back with more. Have to go ... :D
Image

Posted: Mon 29 Dec 2008, 09:59
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:

Posted: Mon 29 Dec 2008, 13:27
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:

Posted: Mon 29 Dec 2008, 16:40
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