Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165146 - gnome-screensaver, migrate-xscreensaver-config.sh doesn't work properly
Summary: gnome-screensaver, migrate-xscreensaver-config.sh doesn't work properly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-03 16:51 UTC by Mateusz Kotyrba
Modified: 2007-05-25 20:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mateusz Kotyrba 2007-02-03 16:51:29 UTC
I guess it's an upstream bug, but just in case. When I run following command (converting xscreensaver themes to gnome-screensaver themes)

migrate-xscreensaver-config.sh /usr/share/xscreensaver/config/*.xml

It produces only .desktop files, and there are no executable files as stated in  /usr/share/doc/gnome-screensaver-2.17.6/xss-conversion.txt.bz2 which are meant to be copied to /usr/libexec/gnome-screensaver.

Reproducible: Always

Steps to Reproduce:
1. run the script
2.
3.



Expected Results:  
the screensavers from xscreensaver should appear in gnome-screensaver ;].

I don't know if it matters. Version of gnome-screensaver is 2.17.6. But the migration scripts haven't been modified in gnome's svn from May/June 2006.
Comment 1 Mateusz Kotyrba 2007-02-03 18:08:56 UTC
I found that these desktop files can be used to install screensavers. You just have to drag and drop them into gnome-screensaver window, but I think that's not a solution.
Comment 2 Ferry 2007-04-23 08:47:04 UTC
It doesn't work. There are executable files for me (trying to port rss-glx) which I need to copy (it's in the text file).

The functionality is broken. It's not the script, the .desktop files are fine, so are the executables I have.

This functionality works fine on ubuntu. Not sure if they modified the source.

There's another way in which you can see it's broken. f-spot (photo manager) creates it's .desktop file and places it's executable in the correct directory, yet also f-spot doesn't show up. This too works fine on ubuntu.
Comment 3 Ferry 2007-04-24 13:41:30 UTC
Didn't see one of the comments on this subject. The dragging indeed works fine.

So to conclude:

The instructions says create the .desktop files and copy/move the executables for the screensaver. This appearantly isn't enough. However, if we do drag the .desktop files onto the gnome-screensaver-preferences dialog they are indeed picked up.

This probably means (just assuming, not knowledgeable in _ANY_ way):
- That either the directory isn't scanned (the files in it aren't picked up)
- We changed the location into something different than /usr/share/gnome-screensavers/themes (with the the path existed, but this might be only because f-spot added a file there).
- Something similar. The .desktop files appearantly do work, else drag-n-drop shouldn't pick em up.
Comment 4 Ferry 2007-04-24 13:48:23 UTC
See bug 166647 for the solution. The path has indeed changed.
Comment 5 Mart Raudsepp gentoo-dev 2007-05-25 20:39:25 UTC
Touched up the migration help text a bit to include the binary copying help in a better way, as per bug 166647.
This should fix this. Ideally of course gnome-screensaver would find its binaries from where they are really. I wonder if by making the .desktop files include full path to /usr/lib/misc/xscreensaver might help there