How to Run a Custom Made Screen Saver with xscreensaver
I recently have made a test screensaver that has compiles successfully but does not run. All that sits at the terminal is a still courser. I have yet to find a website that explains how to individually start a screensaver. In case it concerns anyone, here is the code for the screensaver.
Code:
|
I have never done anything like this and can't answer your question directly, but xscreensaver has a number of man pages. I start by looking through them; some of them may give you a hint as to how to write a compatible screensaver.
Code:
$ apropos xscreensaver I'm just learning to program X, and I want to write an xscreensaver module. Where should I start? |
I just looked through and I found that the .xscreensaver file in the home directory has all the modules that it is going to load. Thing is though, there is no path's involved, it just has the name. But I don't think there is a way. I tried running the other screensavers as a program and magically, the screensaver ran with all the graphics and such. However, when I ran simplesquares, the cursor stopped blinking and not even a flicker appears. Most liekly the example code does not work, but I do not know where other example code is.
|
I found the solution through a python tutorial: http://alvinalexander.com/python/pyt...eensaver-linux
All you need to do is to add the path to the .xscreensaver list of programs to run. Then to view it, just open up the demo and preview it. |
All times are GMT -5. The time now is 01:19 PM. |