lowlevelup

xscreensaver

6 posts in this topic

For the last 6 month I've completely move to linux, I've used wine to use all the windows things I had to have. But there is still one thing I can't do and that is have my Johnny Castaway screen saver run at idle times like xscreensaver does. I've used this screensaver since I started using Windows 3.1 (when I was 7 or 8) so it has sentimental value to me. I've been messing around to see how xscreensaver (xss) works. and I found out that all the SS are just binary files, in /usr/lib/xscreensavers/*. And there is also /usr/share/xscreensaver/* for some configuration, and also /etc/X11/XScreenSaver*

Now, I'm able to start the screensaver using wine. I even made it change screen resolution at start because it only runs at 600x480 at fullscreen. here is the shell script


#!/bin/sh
xrandr -s 640x480
wine $HOME/.wine/drive_c/windows/SCRANTIC.SCR /s
xrandr -s 1024x768

My question is how do I go about configuring these XSS files to run my shell script. I've been trying to edit them but with out any luck. Any help or ideas would be apresheated. This is the last thing I need in order to be 100% happy with my switch to linux.

0

Share this post


Link to post
Share on other sites

I was just wondering if you read the man pages for xscreensaver.

$ man xscreensaver

and go down to line 339 and there is a section on how it runs the programs and what is needed to run them. It says that the program needs to know how to draw to the root window so I don't know if your script will do the trick but maybe that section will help you.

0

Share this post


Link to post
Share on other sites

i havnt looked at any xss stuff. so take what i say with a grain of salt if you will. the screensavers are binary files. although scripts are compiled binary files i THINK they would still be considered binary files. why not make a symlink to your script in the SS directory so that it sees it and then you can pick it from the menu. its a poor idea really, but something that might work. good luck,

0

Share this post


Link to post
Share on other sites

although scripts are compiled binary files i THINK they would still be considered binary files.

They are not complied, and not binary, just plain old ascii. Shell scripts are interpreted by the shell(a compiled binary)ie. bash, and processed just like perl and other interpreted languages.

As to running the script xss should run it along as the script has been

chmod +x

, if it refuses try adding a shell first like

xterm -e script.sh

Edited by n00dles
0

Share this post


Link to post
Share on other sites

ah n00dles that makes sense, i code perl. dont know why i didnt realise that. THANKS!

0

Share this post


Link to post
Share on other sites

In reply to the man asking about login asiabetking, kasino online tanpa setoran, putaran gratis 2020, permainan slot apa yang memenangkan uang sungguhan, I highly suggest this luar biasa bandar slot toko or slot online terbaik, www asiabetking menang, las atlantis casino online tanpa kode bonus deposit 2021, 7777 mesin slot, m asiabet88, not to mention this peringkat tertinggi bandar slot online situs and don't forget kasino online tanpa deposit uang gratis, perselisihan judi sloth judo, ekonomi premium boeing 777 maskapai amerika, slot demo rupiah pragmatis, asiabetking whatsapp, alongside all this lihat judi slot terpercaya toko which is also great. Also have a look at this keren situs slot situs on top of paris slot saya, slot demo pragmatis olympus, permainan mesin slot online gratis dengan uang sungguhan, judo sloth clash of clans id, judi slot online terbaik dan terpercaya, as well as this berguna judi slot terpercaya toko not to mention login slot klub paris, slot kasino online gratis, delta 777 peta kursi ekonomi premium, kasino online tanpa kode bonus setoran september 2020, kasino online tanpa setoran gratis berputar usa, not to mention luar biasa judi slot terpercaya link which is also worth a look. I also recommend this membantu bandar slot blog as well as badak slot-4d/, slot online terbaik uk, ceriabet situs judi slot online terbaik dan terpercaya, unduh 777 slot io apk, situs judi slot online resmi indonesia, alongside all this berguna slot pragmatic toko not to mention slot 777 kasino mod apk, bonus pendaftaran kasino online gratis, tidak perlu setoran, uang sungguhan, situs slot online terbaik indonesia, badak slot freebet baru, 7777 mesin slot, and don't forget keren slot pragmatic domain which is also great. Finally, have a look at this luar biasa judi slot online forum and cara bermain mesin slot keberuntungan 88, ekonomi premium perawan 777-300er, slot online terbaik jakarta, for good measure. See more Lihat Judi Slot Url 7_1076c

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now