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 Sun 31 Aug 2014, 02:24
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 Posts_count  
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   759 Time(s)

PuppyBasicScreensaver02.jpg


Edited_times_total
Back to top
View user's profile Send_private_message Visit_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_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_website 
headfound


Joined: 24 Jun 2006
Posts: 345
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_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_website 
headfound


Joined: 24 Jun 2006
Posts: 345
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_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_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_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  622 Time(s) 
xsaver-bg.jpg
 Description   
 Filesize   19.62 KB
 Viewed   1782 Time(s)

xsaver-bg.jpg


_________________
my recommended links

Edited_times_total
Back to top
View user's profile Send_private_message Visit_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_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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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