When in gnome screensaver, and choosing the Help button, I get the error: "Could not load section The section 'prefs-screensaver' does not exist in this document. If you were directed to this section from a Help button in an application, please report this to the maintainers of that application." So there you go. Also, I'm trying to figure out how to include xscreensaver modules, but I guess that's a question for the forums (unless someone wants to volunteer an answer.) W
To answer my own question... HOW TO MOVE XSCREENSAVER MODULES TO GNOME-SCREENSAVER (The "worked for me" version) 1. As root, switch into an empty directory somewhere and download this migration script: http://cvs.gnome.org/viewcvs/*checkout*/gnome-screensaver/data/migrate-xscreensaver-config.sh?rev=1.1&content-type=text%2Fplain 2. Also get the .XSL file from here and put it in the same directory as the file above: http://cvs.gnome.org/viewcvs/gnome-screensaver/data/xscreensaver-config.xsl?rev=1.1&view=log 3. Give the migration script (migrate-xscreensaver-config.sh) executable privilages with: chmod u+x migrate-xscreensaver-config.sh 4. Run the migration script as follows: ./migrate-xscreensaver-config.sh /usr/share/xscreensaver/config/*.xml 5. A bunch of files ending in .desktop should be made in the local directory. Copy these to the gnome-screensaver directory as follows: cp *.desktop /usr/share/gnome-screensaver/themes 6. Finally, copy the xscreensaver module executables into the gnome-screensaver executable directory: cp /usr/lib/misc/xscreensaver/* /usr/libexec/gnome-screensaver 7. Now go to Desktop->Preferences->Screensaver and verify the new modules are there. (I think I'll post this in the forum too... anyway, it worked for me. Might be nice to have this done automatically if xscreensaver is already installed (and maybe disable xscreensaver too?) W
To get xscreensaver modules working, gnome-screensaver need to be configured with switches xscreensaverdir and xscreensaverhackdir (the bits that AllanonJL commented out in the ebuild) and xscreensaverhackdir needs to point to /usr/lib/misc/xscreensaver (this is where xscreensaver put its modules, configure doesn't check this dir so we need to specify explicitly). Then do pretty much like comment #1 except - you can get the script and xsl files from data dir - you don't need to do step no. 6 - maybe you need to logout from GNOME and login again
Little tip (got it from somewhere) to avoid duplicate screensaver entries in menu when both xscreensaver and gnome-screensaver installed, compile xscreensaver with -gnome. Maybe this tip can be added on postinst.
Updating Summary to reflect the dual nature of this bug (I guess)... ebuild improvements needed: 1. Add/fix help so that it works. 2. Add xscreensaver module support. Perhaps this could be split into two bugs? (this bug could be dependent on both)?
The reason the help doesn't work is likely because there's no help written yet. I don't get any error here, the help button just don't do anything.
Created attachment 82771 [details] gnome-extra/gnome-screensaver/gnome-screensaver-2.14.0.ebuild I have copied this ebuild from bmg-main and modified it to use fast-user-switch support. This ebuild also works fine with xscreensaver stuff. Regards Christian
The tip and the conversion utility is now included with the 2.14.1 version.
(In reply to comment #7) > The tip and the conversion utility is now included with the 2.14.1 version. > Found some more "problems" with the ebuild. Don't know if it's "standard" to point to the .txt file when it really is a .txt.gz, most editors don't mind but if you just copy-and-paste the path it won't find it, right? It is in the pkg_postinst(). The xss-conversion.txt.gz file are missing some important information such that you must copy the exec if you uninstall xscreensaver and the path is wrong, as Waldo said "cp *.desktop /usr/share/gnome-screensaver/themes" and not to "The resulting .desktop files should be placed into /usr/libexec/gnome-screensaver/" since it is only the exec that needs to be in libexec. There are also some "unused" .desktop files in /usr/libexec/gnome-screensaver that also exists in /usr/share/gnome-screensaver/themes.
Fixed in portage. Thanks for the comments. (There is no revbump or version bump as the change is not really that critical).