Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 02 Aug 2014, 05:00
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
PuppyBasic-Screensaver 02
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [15 Posts]  
Author Message
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: 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
PuppyBasicScreensaver02.jpg
 Description   
 Filesize   50.32 KB
 Viewed   756 Time(s)

PuppyBasicScreensaver02.jpg


Last edited by MU on Sat 15 May 2010, 06:16; edited 11 times in total
Back to top
View user's profile Send private message Visit poster's website 
Alucard_the_dex


Joined: 04 Oct 2005
Posts: 317

PostPosted: 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
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: 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 Cool
Back to top
View user's profile Send private message Visit poster's website 
gliezl


Joined: 06 Aug 2005
Posts: 322
Location: Manila

PostPosted: Mon 10 Oct 2005, 00:36    Post subject: password protect!  

would you consider putting a password to lock your puppy workstation? Smile

I mean for future versions Wink

_________________
"If you have knowledge, let others light their candles in it."
~Margaret Fuller

Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: 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 Smile

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
View user's profile Send private message Visit poster's website 
headfound


Joined: 24 Jun 2006
Posts: 344
Location: England

PostPosted: 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
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: 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
View user's profile Send private message Visit poster's website 
headfound


Joined: 24 Jun 2006
Posts: 344
Location: England

PostPosted: Fri 25 Aug 2006, 19:54    Post subject:  

Wow thats great Very Happy
Thanks, i will give it a go!
martyn
Back to top
View user's profile Send private message Visit poster's website 
Eyes-Only


Joined: 10 Aug 2006
Posts: 1046
Location: La Confederation Abenaquaise

PostPosted: Sun 27 Aug 2006, 20:04    Post subject:  

Nice Mark! Excellent! As is all of your things of course. Smile 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! Smile

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! Wink )
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Mon 13 Nov 2006, 12:11    Post subject:  

I added a slideshow-module.

Mark
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: 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
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: 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
PuppyScreensaver.pet
Description 
pet

 Download 
Filename  PuppyScreensaver.pet 
Filesize  591.83 KB 
Downloaded  617 Time(s) 
xsaver-bg.jpg
 Description   
 Filesize   19.62 KB
 Viewed   1777 Time(s)

xsaver-bg.jpg


_________________
my recommended links

Last edited by MU on Fri 17 Apr 2009, 04:46; edited 4 times in total
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: 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
View user's profile Send private message Visit poster's website 
MUguest

Joined: 09 Dec 2006
Posts: 73

PostPosted: 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
View user's profile Send private message 
MUguest

Joined: 09 Dec 2006
Posts: 73

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [15 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0849s ][ Queries: 13 (0.0048s) ][ GZIP on ]