Using XScreenSaver Hacks with mate-screensaver
Here we explain how to use XScreenSaver EXCELLENT screensaver hack collection with the MATE screensaver applet.
- Install
xscreensaverandmate-screensaver - On my linux distribution this creates the following directories:
/usr/libexec/xscreensaver: contains the screensaver hacks executables/usr/libexec/mate-screensaver: contains themate-screensaverexecutables/usr/share/applications/screensavers: containes thedekstopfiles
- Create a small script that will call the screensaver hack with the right
arguments. Make sure this script is in the
/usr/libexec/mate-screensaverdirectory, as themate-screensaverpreferences will not accept any executables that are not in the right places. - Create a desktop file to call the screensaver hack. Verify that
the
Execproperty contains the application with the right arguments and theTryExeconly contains a path to the script that you created in the previous step. Themate-screensaverpreferences applet will test if the file specified inTryExecis indeed executable. - Restart
mate-screensaver. I usually logout and log back in.
For my computers I use this script:
This simplifies the full process. Just run the script (you may need to
sudo) with the following options:
$0 hacks [-e\|-d]- shows the list of hacks and its enabled or disabled status.
- the
-eoption will only show enabled hacks. - the
-doption will only show disabled hacks.
- `$0 enable [--all|hacks]
- enable the specified hacks.
- Use
--allto enable all available hacks (excluding blacklisted hacks)
- `$0 disable [--all|hacks]
- disable the specified hacks.
- Use
--allto disable all available hacks
If you like XScreenSaver and would like to see the same software on Windows, you should read this article from the XScreenSaver author.