First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 126737
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Waldo <VValdo@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gnome-screensaver-2.14.0.ebuild gnome-extra/gnome-screensaver/gnome-screensaver-2.14.0.ebuild text/plain Christian Roessner 2006-03-21 05:32 0000 2.33 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 126737 depends on: Show dependency tree
Bug 126737 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-03-18 15:50 0000
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

------- Comment #1 From Waldo 2006-03-18 16:44:49 0000 -------
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

------- Comment #2 From Arif Lukito 2006-03-19 07:18:43 0000 -------
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

------- Comment #3 From Arif Lukito 2006-03-19 07:23:13 0000 -------
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.

------- Comment #4 From Waldo 2006-03-19 22:57:38 0000 -------
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)?

------- Comment #5 From Arif Lukito 2006-03-20 05:05:31 0000 -------
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.

------- Comment #6 From Christian Roessner 2006-03-21 05:32:53 0000 -------
Created an attachment (id=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

------- Comment #7 From Saleem Abdulrasool (RETIRED) 2006-04-22 21:22:36 0000 -------
The tip and the conversion utility is now included with the 2.14.1 version.

------- Comment #8 From Jonas Jonsson 2006-04-29 16:07:11 0000 -------
(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.

------- Comment #9 From Saleem Abdulrasool (RETIRED) 2006-05-16 01:18:47 0000 -------
Fixed in portage.  Thanks for the comments.  (There is no revbump or version
bump as the change is not really that critical).

First Last Prev Next    No search results available      Search page      Enter new bug