The time now is Tue 24 Apr 2018, 19:14
All times are UTC - 4 |
Author |
Message |
Glitchman
Guest
|
Posted: Thu 06 Oct 2005, 19:38 Post subject:
How to set up screensavers copied from another distro? |
|
I recently copied some screensavers off of RedHat and decided to see if they would run under Puppy. Well, after setting their permissions to execute, I can launch them from rox, but they only open in a generic "X" window. This is the same behavior as when I attempted to launch them individually from inside RedHat (as opposed to using its built-in screen saver app, which gives me configurable options per screen saver.)
Anyway, where do I need to place these screensavers in Puppy? Is there a GUI or command line setting to get Puppy to see my screensavers instead of the dull default gray X screensaver? Is there something I need to edit in .fvwm95? If it matters, I'm using the live CD version 1.03 (due to too many quirks with recent versions.) Thanks in advance.
|
Back to top
|
|
 |
Glitchman
Guest
|
Posted: Fri 07 Oct 2005, 00:07 Post subject:
Quick addendum |
|
BTW, one of the screensavers continuously spits out the following: Quote: | /usr/X11R6/lib/xscreensaver/fortune: No such file or directory |
Puppy does not appear to have an xscreensaver subdirectory. Creating that directory and copying screensavers there does not get me much further. Surely there must be a way to configure screensavers in Puppy. Perhaps if I could find the location of the default screensaver and replace it with one of mine...
|
Back to top
|
|
 |
rarsa

Joined: 29 May 2005 Posts: 3053 Location: Kitchener, Ontario, Canada
|
Posted: Fri 07 Oct 2005, 00:30 Post subject:
|
|
xscreensaver is an application.
If you want to use it, you will need to compile and install it.
Or ask someone to help you with that.
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13648 Location: Karlsruhe, Germany
|
Posted: Fri 07 Oct 2005, 00:33 Post subject:
|
|
Just had a quick look.
I have the Xorg-Xserver installed, and tried to run xscreensaver from my Mandrake:
# ./xscreensaver
./xscreensaver: error while loading shared libraries: libpam.so.0: cannot open shared object file: No such file or directory
# ./xscreensaver
./xscreensaver: error while loading shared libraries: libkrb4.so.2: cannot open shared object file: No such file or directory
# ./xscreensaver
./xscreensaver: error while loading shared libraries: libdes425.so.3: cannot open shared object file: No such file or directory
# ./xscreensaver
./xscreensaver: error while loading shared libraries: libkrb5.so.3: cannot open shared object file: No such file or directory
# ./xscreensaver
./xscreensaver: error while loading shared libraries: libk5crypto.so.3: cannot open shared object file: No such file or directory
This is too bloated, I stop it now.
It would make more sense to do this maybe:
Pseudocode:
Code: |
include "xlib.h"
int main(){
int counter = 0;
while(1){ // endless loop)
usleep(1000); //(sleep 1 second)
int i1=Xgetevent(key);
int i2=getevent(mouse);
counter += 1000;
if (i1){ counter=0;}
if (i2){ counter=0;}
if (counter == 100000000){
execvp("/usr/bin/screensaver.sh");
counter=0;
}
}
}
main();
|
So it would be a small C-program, that counts seconds until 10 minutes are reached, and executes a script then. The script could run whatever you want, a slideshow or my SDLBasic-PseudoScreensaver http://www.murga.org/~puppy/viewtopic.php?t=2493
If I have Time, I might try to write it this weekend in C.
Mark
|
Back to top
|
|
 |
|
|
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
|