I'm trying to run a xscreensaver application through gnome-screensaver
engine with some custom options.
Since gnome-screensaver
doesn't offer a simple GUI that would help to tweak a particular screensaver, I've done a little research and I found out that in order to change the settings, I'd need to create a .desktop
file in
/usr/share/applications/screensaver
So I copied (for example) the phosphor.desktop
file to phosphor2.desktop
in the same directory and restarted gnome-screensaver-preferences
. New instance was not found in the list in the dialog.
Irritated, I deleted my newly created *.desktop
file and edited directly the default phosphor.desktop
. Here's the fun part - it turns out that merely changing something in this file, like from
Exec=phosphor -root
to
Exec=phosphor -root -scale 2
causes this particular screensaver to be REMOVED from the list. If you edit the file back to original settings, the Phosphorus screensaver is again visible.
Does anybody have an idea what might be going on there - and, ideally, an idea for a workaround? Google does not help me in this issue. The steps I've taken seem to be sufficient to add a new screensaver.
Just in case: Ubuntu 9.04, gnome-screensaver 2.28.0
xscreensaver-demo
to access that. All of the settings are stored in a file in your home directory,.xscreensaver
.