| Author |
Message |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Sun 09 Oct 2005, 21:03 Post subject:
PuppyBasic-Screensaver 02 |
|
Screenshot:
see attachment
The "real" xscreensaver consists of thousands of lines of code.
You can get it here:
http://www.murga-linux.com/puppy/viewtopic.php?p=248308
And here is another one:
http://www.murga-linux.com/puppy/viewtopic.php?t=23909
PuppyBasic-Screensaver consists just of some lines, less than 100.
Why?
X is a complex system.
You have multiple Desktops, Remote-access functionality, Support for 2 and more Monitors and more.
If you want to keep account of all of that, a screensaver gets quite huge.
So PuppyBasic-Screensaver is NOT a replacement for xscreensaver.
It simply starts one of these modules:
Blank Screen
Parallax-Scroller
XDesktopwaves
Mplayer (Fullscreen)
slideshow
No Password-protection, no support for anything further special.
Usage:
Install, select "setup-PB-screensaver" in your Dotpup-menue.
Concerning Password-protection: not available yet, but I'm on it...
The slideshow uses the folder /usr/share/backgrounds
To use another one, edit:
/usr/local/PuppyBasicScreensaver02/resource/mod_slideshow.pbas
Download (62 kb):
http://dotpups.de/dotpups/Desktop-Tools/PuppyBasicScreensaver02.pup
UPDATE: bugfixed version 03 as Pet:
http://www.murga-linux.com/puppy/viewtopic.php?t=44574&start=45
*************************
Note for the slideshow:
if the slideshow module does not work, use this workaround:
Install with Petget the package "gqview".
Then edit:
/usr/local/PuppyBasicScreensaver02/resource/mod_slideshow.pbas
like this:
| Code: | #!/usr/bin/puppybasic
include "/usr/lib/wxbasicscript/basefunctions.inc"
shell("gqview -s -f /usr/share/backgrounds/") |
UPDATE:
a PET with new slideshow module is announced further down!
Mark
| Description |
|
| Filesize |
50.32 KB |
| Viewed |
657 Time(s) |

|
Last edited by MU on Sat 15 May 2010, 06:16; edited 11 times in total
|
|
Back to top
|
|
 |
Alucard_the_dex

Joined: 04 Oct 2005 Posts: 317
|
Posted: Sun 09 Oct 2005, 21:08 Post subject:
|
|
I like a no thrills screen saver if im not at my comp why need it be so bloated I like the one i have on puppy now by defualt that just blanks my screen Kinda like a program i had for Windows that blacked my screen when i double clicked it i wish puppy had that ><
_________________ ~Puppy Linux~ Where mans best friend becomes PCs best friend
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Sun 09 Oct 2005, 21:16 Post subject:
|
|
Jep, think so too.
Thats to say, xscreensaver is not really bloated (if you look at the resources of modern machines), but just too big for Puppy.
Had just a rough look today, Download is 4 MB.
you certainly can delete some parts, but have to add others because of dependencies.
So I think a small PuppyBasic-solution will be a nice thing for Puppy
|
|
Back to top
|
|
 |
gliezl

Joined: 06 Aug 2005 Posts: 322 Location: Manila
|
Posted: Mon 10 Oct 2005, 00:36 Post subject:
password protect! |
|
would you consider putting a password to lock your puppy workstation?
I mean for future versions
_________________ "If you have knowledge, let others light their candles in it."
~Margaret Fuller
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Wed 12 Oct 2005, 13:43 Post subject:
|
|
I uploaded version 02 with grafical interface.
It checks the keyboard now, too (uses a patched rsaver: http://www.linuxpages.org/rsaver_en.php )
| Alucard_the_dex wrote: | | I like a no thrills screen saver if im not at my comp why need it be so bloated I like the one i have on puppy now by defualt that just blanks my screen Kinda like a program i had for Windows that blacked my screen when i double clicked it i wish puppy had that >< |
You can drag /usr/local/PuppyBasicScreensaver02/resource/sc.sh to your desktop.
It will start the current module immedeatly
Gliezl, I found a very small Code for xlock, but it is from 1991 and does not compile on modern systems.
I will try to adapt it.
There are more modern versions with OpenGL and more, but they are quite huge.
Mark
|
|
Back to top
|
|
 |
headfound

Joined: 24 Jun 2006 Posts: 331 Location: England
|
Posted: Fri 25 Aug 2006, 17:20 Post subject:
|
|
Ok I fully admit to being a complete beginner when it comes to linux, but i'm very willing to learn with puppy, so, is it possible to run the screensaver as your background as in the xscreenaver hack eg
./flurry -root
will apparently run that saver as an animated desktop background. I tried installing xscreensaver but couldn't get it going so would the same command work with puppybasicsaver? eg will
./xdesktopwaves -root
run as an animated background?
thanks
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Fri 25 Aug 2006, 18:04 Post subject:
|
|
while xscreensaver is a "system", this one here is a "programcollection".
This means, it depends on the program, if you can run it in background.
Xdesktopwaves work, install the standalone-version for that:
http://www.murga.org/~puppy/viewtopic.php?t=2123
Mplayer can be used as Background, too, I think the option is -onroot
Or use mozilla:
http://www.murga.org/~puppy/viewtopic.php?t=8080
You also can run the xscreensaver-modules from another Linux-system, they are standalone-executables.
Mark
|
|
Back to top
|
|
 |
headfound

Joined: 24 Jun 2006 Posts: 331 Location: England
|
Posted: Fri 25 Aug 2006, 19:54 Post subject:
|
|
Wow thats great
Thanks, i will give it a go!
martyn
|
|
Back to top
|
|
 |
Eyes-Only

Joined: 10 Aug 2006 Posts: 1025 Location: La Confederation Abenaquaise
|
Posted: Sun 27 Aug 2006, 20:04 Post subject:
|
|
Nice Mark! Excellent! As is all of your things of course. Thank you so much. I've always found it so hard as "root" on other systems (yeah, yeah... "You're not supposed to run as root..." blah, blah---MY computer, eh?) as xscreensaver will never run so screen goes blank, monitor goes off. I dislike that very much.
My favourite? xdesktopwaves. Very calming effect!
Thanks so much again for all your useful .pups!
Amicalement / mfg
Eyes-Only
"L'Peau-Rouge"
(P/s: You have very good French you! hehe! )
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Mon 13 Nov 2006, 12:11 Post subject:
|
|
I added a slideshow-module.
Mark
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Thu 16 Apr 2009, 15:28 Post subject:
|
|
There is a PET here:
http://www.murga-linux.com/puppy/viewtopic.php?p=295847#295847
The slideshow module was replaced by one based on SDL, so you need to install libSDL with petget, if SDL is not in your Puppy.
Newyearspup already includes SDL, so that pet should work without other packages.
Mark
_________________ my recommended links
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Thu 16 Apr 2009, 18:15 Post subject:
|
|
here is a special version.
It includes 8 modules from Xscreensaver (details see next message).
They are not displayed fullscreen, because then you could not exit them (as they are not managed by Xscreensaver).
Instead, they use "pseudo-fullscreen".
To exit them, you must click on them, then hit the "Esc" key!
In JWM, this looks like a maximized window, in Icewm, XFWM and Openbox it looks like fullscreen, but panels might cover it.
It depends on the setup of those windowmanagers.
A funny gimmick you can get like this:
if you edit:
/usr/local/PuppyBasicScreensaver02/resource/xscreensaver/xsaver
Line 43
| Code: | | xwin_setlayer("0x" & mywin,"1") |
to
| Code: | | xwin_setlayer("0x" & mywin,"-1") |
Then the xscreensaver module runs as animated background.
But it will cover desktopicons.
I attach a screenshot running it like this in icewm.
Mark
| Description |
|

Download |
| Filename |
PuppyScreensaver.pet |
| Filesize |
591.83 KB |
| Downloaded |
568 Time(s) |
| Description |
|
| Filesize |
19.62 KB |
| Viewed |
1666 Time(s) |

|
_________________ my recommended links
Last edited by MU on Fri 17 Apr 2009, 04:46; edited 4 times in total
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Thu 16 Apr 2009, 19:00 Post subject:
|
|
added some more screensavers, I think these are the most beautifull ones.
atlantis
fiberlamp
fireworkx
flurry
glmatrix
lament
starwars
xmatrix
Most require OpenGL.
You can see screenshots here:
http://www.jwz.org/xscreensaver/screenshots/
To display a different text in "StarWars", edit:
/usr/local/PuppyBasicScreensaver02/resource/xscreensaver/xscreensaver-text
There you can change the file, that will be listed.
Mark
_________________ my recommended links
|
|
Back to top
|
|
 |
MUguest
Joined: 09 Dec 2006 Posts: 73
|
Posted: Fri 17 Apr 2009, 03:56 Post subject:
|
|
There was a bug with the new xscreensaver modules.
They were started again after the desired intervall, so you finally had lots of them running at the same time.
I corrected this now.
Mark
|
|
Back to top
|
|
 |
MUguest
Joined: 09 Dec 2006 Posts: 73
|
Posted: Fri 17 Apr 2009, 04:49 Post subject:
|
|
I updated the pet.
Changes for the slideshow:
- runs with your current screensize
- loops once all pictures were shown (by using a recursive symlink, and the option to descend into subdirectories)
- uses "fade" as effect to blend the pictures.
Mark
|
|
Back to top
|
|
 |
|