xlideshow-0.0.1
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............
<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............
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.
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
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
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
- Attachments
-
- xlideshowjwm.jpg
- (48.59 KiB) Downloaded 891 times
Puppy Linux Blog - contact me for access
Re: geometry
Thanks trio,trio wrote:I think you hit the jackpot there micko, why didn't I thin of it....cheers
I uploaded 'xlideshow-0.0.1.pet for testing. See main post.
Puppy Linux Blog - contact me for access
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.This returns screen width.
Sigmund
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
Sigmund
Hi triotrio 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
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
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!
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!
Puppy Linux Blog - contact me for access
@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 ............
@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 ............
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
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