After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 530800 - gnome-power-manager should provide a xdg desktop file
gnome-power-manager should provide a xdg desktop file
Status: RESOLVED NOTGNOME
Product: gnome-power-manager
Classification: Deprecated
Component: gnome-power-manager
2.22.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Power Manager Maintainer(s)
GNOME Power Manager Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2008-04-30 20:59 UTC by Kevin Fenzi
Modified: 2009-03-04 15:12 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Kevin Fenzi 2008-04-30 20:59:32 UTC
Currently gnome-power-manager provides a 
/usr/share/gnome/autostart/gnome-power-manager.desktop
file with "OnlyShowIn=GNOME;XFCE;"

Would it be possible to instead provide a /etc/xdg/autostart/ desktop file? 

With that Xfce users would be able to mark it to autostart or not, and could manage it with their other autostarted applications instead of having to manually start it.
Comment 1 Richard Hughes 2008-05-05 20:18:08 UTC
Is this what all GNOME applications should do?
Comment 2 Kevin Fenzi 2008-05-05 20:56:49 UTC
Good question. I would suspect there are some applications that will simply not run without the entire Gnome DE running. I don't know how to identify those however. 

OnlyShowIn is unfortunately limited for people who want to mix and match things from many desktops. 

In this particular case, Xfce has no power manager at all, so pretty much anyone running Xfce who wants one needs to run gnome-power-manager. It runs just fine with Xfce, and if there are features missing I sure don't know what they would be. 

I guess I would say: 

- Short term, could we just get this change in gnome-power-manager? 

- Longer term, (xdg level) we need to figure out a better way to let end users mix and match things without them conflicting (not that I know what that is). 

Anyhow, hoped that made any sense at all... 
Comment 3 Richard Hughes 2009-03-04 15:12:53 UTC
(In reply to comment #2)
> In this particular case, Xfce has no power manager at all, so pretty much
> anyone running Xfce who wants one needs to run gnome-power-manager.

I know somebody is working on this now.

Richard.