User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11 Build Identifier: The screensaver plugin does not work if one is missing xscreensaver but using Gnome screensaver instead. This can be fixed by creating a script similar to xflock4 which checks for the presence of xscreensaver-demo, and if not found, checks for gnome-screensaver-preferences instead. Reproducible: Always Steps to Reproduce: 1. Uninstall xscreensaver 2. Install gnome-screensaver 3. Restart Xfce 4. Try to run Screensaver Preferences Actual Results: I get an error Expected Results: Should launch gnome-screensaver-preferences instead. I am using Xfce 4.4.2, on Ubuntu though installed using graphical installer (with some Ubuntu patches added).
Created attachment 1460 Script to locate screensaver preferences utility
Created attachment 1461 A patch to screensaver_plugin.c
Hmm, not sure if this is the best way to do it. We might want to also change xinitrc to check for the presence of gnome-screensaver and run that instead of xscreensaver on startup. Might be best to wrap all of this in a 'xfscreensaver' script, so, e.g.: start screensaver: xfscreensaver open screensaver config: xfscreensaver --config force screensaver on: xfscerensaver --activate ... etc. Tho this might be overkill...
(In reply to comment #3) > Hmm, not sure if this is the best way to do it. We might want to also change > xinitrc to check for the presence of gnome-screensaver and run that instead of > xscreensaver on startup. > > Might be best to wrap all of this in a 'xfscreensaver' script, so, e.g.: > > start screensaver: xfscreensaver > open screensaver config: xfscreensaver --config > force screensaver on: xfscerensaver --activate Maybe better way is to configure a preferred application, as with the web browser, terminal, etc. and use exo-open to load the screensaver configuration or lock the screen, etc.? Even though it seems overkill, it's the logical place that someone trying to change the configuration would look for it.
Yeah, probably a less hacky idea, though setting the screensaver seems a little too uncommon for Preferred Applications. Benny, what do you think?
Hm, doable, but that's really overkill.
Close bugs in products that are not active anymore.