| Author |
Message |
trio

Joined: 21 Dec 2008 Posts: 1786 Location: अनुमोदना
|
Posted: 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
|
|
 |
CatDude

Joined: 03 Jan 2007 Posts: 1355 Location: UK
|
Posted: Fri 26 Dec 2008, 11:35 Post subject:
|
|
Hi
@ trio
Nice one mate, i much prefer the look of it without a border etc.
CatDude
.
_________________

|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7019 Location: qld
|
Posted: 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 . 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
| Description |
|
| Filesize |
48.59 KB |
| Viewed |
790 Time(s) |

|
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
trio

Joined: 21 Dec 2008 Posts: 1786 Location: अनुमोदना
|
Posted: 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
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7019 Location: qld
|
Posted: 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.
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
trio

Joined: 21 Dec 2008 Posts: 1786 Location: अनुमोदना
|
Posted: 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
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5241 Location: Valåmoen, Norway
|
Posted: Sat 27 Dec 2008, 04:41 Post subject:
|
|
I will sure add this to Pwidgets when slideshow is complete. - This is Great .
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
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7019 Location: qld
|
Posted: 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
| Description |
|
| Filesize |
15.36 KB |
| Viewed |
669 Time(s) |

|
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5241 Location: Valåmoen, Norway
|
Posted: Mon 29 Dec 2008, 05:10 Post subject:
|
|
I'll be back with more. Have to go ...
_________________ Stardust resources
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7019 Location: qld
|
Posted: 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!
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
trio

Joined: 21 Dec 2008 Posts: 1786 Location: अनुमोदना
|
Posted: 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 ............
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5241 Location: Valåmoen, Norway
|
Posted: Mon 29 Dec 2008, 12:40 Post subject:
|
|
Teacher speaking
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
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
|
|
 |
|