Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178278 - Two screensaver links under preferences in GNOME on x86 livecd
Summary: Two screensaver links under preferences in GNOME on x86 livecd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: LiveCD/DVD/USB (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2007-05-13 03:05 UTC by Andrew Pennebaker
Modified: 2008-07-13 01:05 UTC (History)
1 user (show)

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 Andrew Pennebaker 2007-05-13 03:05:18 UTC
One option's tip is "Change screensaver preferences". A duplicate below it reads "Set screensaver."

Reproducible: Always

Steps to Reproduce:
1. Boot the 2007.0 i686 live cd.
2. Look for screensaver preferences in the menu.
3. See two screensaver preference links, with different tip strings.
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2007-05-13 05:25:01 UTC
This is probably more of a GNOME bug than a problem with the LiveCD itself.

GNOME team, can you verify that this is a general GNOME problem and not something specific to the LiveCD?
Comment 2 Mart Raudsepp gentoo-dev 2007-05-13 11:10:02 UTC
One probably comes from /usr/share/applications/gnome-screensaver-preferences.desktop which is the correct Screensaver entry that launches gnome-screensaver prefs, and one probably comes from /usr/share/applications/screensaver-properties.desktop, which is the Screensaver enrty for configuring xscreensaver and comes from the xscreensaver package. The xscreensaver entry used to not be installed if USE=-gnome for xscreensaver - there is a note to that effect in gnome-screensaver as ewarn's.
It seems xscreensaver-5.02 now installs the desktop entry regardless.
The solution of -gnome USE on xscreensaver to avoid duplicate entry is quite weird anyhow, and as such we need to find a proper solution, whatever it be. We have discussed this problem on IRC in the past, but I don't find a bug filed about that, so this one can serve as one :)
I believe that the LiveCD media should be built with xscreensaver USE=-gnome (a package.use entry, not a global USE flag change) if it sports only a GNOME desktop environment out of graphical ones.
Comment 3 Andrew Gaffney (RETIRED) gentoo-dev 2007-05-13 22:33:02 UTC
(In reply to comment #2)
> I believe that the LiveCD media should be built with xscreensaver USE=-gnome (a
> package.use entry, not a global USE flag change) if it sports only a GNOME
> desktop environment out of graphical ones.

Eh, we can't really do that. We need to stick as close to the profile USE as possible so the installer can do what it needs to do for "GRP" properly.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2007-05-16 18:34:26 UTC
Right.

Basically, this is two bugs.  One, belongs to xscreensaver and needs to be fixed.  The second, belongs to Release Engineering and needs to be fixed in the next release.

Is there a bug already for the xscreensaver thing?
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2007-11-23 12:29:04 UTC
Xfce needs the .desktop file in /usr/share/applications as per f.d.o specification but I have *zero* idea what the USE gnome in xscreensaver ebuild does, feel free to punt it..
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2008-01-02 17:59:45 UTC
xscreensaver-5.04/driver/screensaver-properties.desktop.in is doing,

_Name=Screensaver
_Comment=Change screensaver properties

and the prefixed with _ lines are translated during the build from po/

so we can't really go and change it's name either..

but according to 

http://standards.freedesktop.org/menu-spec/latest/ar01s03.html#desktop-entry-extensions-examples

we could add: NotShowIn=GNOME;

to the desktop file which would make it invisible for gnome users.. or release could use this as workaround.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2008-02-21 18:33:05 UTC
fixed..
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2008-02-24 08:31:16 UTC
Ehh... not until we get a new release out with this in it...
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2008-02-24 08:32:34 UTC
This has been updated in the release snapshot SVN tree...
Comment 10 Andrew Gaffney (RETIRED) gentoo-dev 2008-07-13 01:05:06 UTC
This should be fixed in 2008.0