- On my linux distribution this creates the following directories:
/usr/libexec/xscreensaver: contains the screensaver hacks executables
/usr/libexec/mate-screensaver: contains the
/usr/share/applications/screensavers: containes the
- 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 the
mate-screensaverpreferences will not accept any executables that are not in the right places.
- Create a desktop file to call the screensaver hack. Verify that
Execproperty contains the application with the right arguments and the
TryExeconly contains a path to the script that you created in the previous step. The
mate-screensaverpreferences applet will test if the file specified in
TryExecis indeed executable.
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.
-eoption will only show enabled hacks.
-doption will only show disabled hacks.
- `$0 enable [–all|hacks]
- enable the specified hacks.
--allto enable all available hacks (excluding blacklisted hacks)
- `$0 disable [–all|hacks]
- disable the specified hacks.
--allto disable all available hacks