Description of problem:
The upstream defaults don't include options for suspend, hibernate and switch
user but Fedora supports all of this pretty well.
Apparently Xubuntu has patched this
We need to do this and push the patches upstream. If you can get this done
before the Fedora 9 release, it would be great for the Xfce spin.
Another reference from the Xfce wish list page
See upstream Xfce bugs:
and some mailing list discussion at:
The problems with this patch is that it will do a very simple suspend or
hibernate on those machines that advertise in hal that they can. There is no
ability to specify quirks or otherwise do any tweaks if it doesn't work for you.
Also, the UI choice is bad... "Quit" and then suspend or hibernate? what about
quitting? ie, users aren't likely to look for it there.
I think currently it's better to use gnome-power-manager. Unfortunately, that
pulls in a ton of dependencies.
The Xubuntu UI and patches were just examples I pointed out about the
functionality. We don't necessarily need to use the exact same patch or UI.
Probably take a look at what GNOME does in Fedora. We have much better
integration there including quirks support.
Right, so the solution now is: include gnome-power-manager.
I haven't looked to what this would pull in for things like the livecd however. :(
+1 for g-p-m. The only question is: How to start it? I suggest via
/etc/xdg/autostart so users can configure it with xfce4-autostart-editor.
For User switching: I think of something like
What do you think of the look/layout? Works fine, but requires some changes:
- xfce4-session needs to require gdm for user switching. I'll try to rewrite the
patch so the "Switch user" button is only sensitive or shown when gdmflexiserver
- We would NEED to include gnome-screensaver on the LiveCD if we allow user
If both gdmflexiserver and gnome-screensaver can be run-time dependencies, that
would be ideal I think. It must be run-time not to cause "pure" Xfce fans to
Agreed. gdmflexiserver is a run-time dependency (will rewrite the patch). screen
savers are only needed for privacy to lock the screen when switching to another
user. Switching itself works fine without a screen saver.
Apparently Mandriva has also their logout dialog to support these options. Can
someone take a look at their patches and see if they are different/better from
the Xubuntu ones?
Mandriva use the same patches as Xubuntu does, just checked it.
So, where are we here?
For g-p-m, a xdg autostart file would be great, but I would think we would need
to get the g-p-m maintainer to accept that, so not sure thats going to happen.
;( We could it add it to the xfdesktop startup I guess...
Not sure user switching is good for the 'quit' dialog either... but I guess the
only alternative is to make a xfce panel applet for it. ;(
Can you file a RFE with g-p-m first explaining why that would be a benefit. If
it is not accepted, we can use xfdesktop. Quit is not a very logical place.
agreed but for now sticking it there seems to be progress.
Just a reminder that I don't want either g-p-m or gnome-screensaver to be hard
coded. They would merely be installed in the Xfce spin by default and Xfce can
take advantage of it. If those packages are removed, Xfce will lose that
functionality but otherwise remain just the same. Is there any upstream
discussion on whether Xfce itself is gaining these features?
ok. Filed bug 439959.
Yeah, I agree.
Xfce was hoping to get some google summer of coding people to work on a Xfce
power manager, but they were not accepted. :(
So, hopefully someone will work on that at some point...
It is too late this time but we added Jboss.org to Fedora project and got
through SoC. Maybe we can associated some of the Xfce tasks with Fedora next time?
That would be great. They did make an effort this year... perhaps we can work
with them sooner next year.
(In reply to comment #5)
> +1 for g-p-m. The only question is: How to start it? I suggest via
> /etc/xdg/autostart so users can configure it with xfce4-autostart-editor.
Does this imply a workaround solution for those who have Gnome installed? If
not is there a scripting solution you could reference or outline?
My primary interest is suspend but if you want to reply to both suspend and user
switch then all the better.
Currently the only work arounds are:
- Run gnome-power-manager once you login. Make sure you have a systray in one of
your Xfce panels to display it.
- Setup a .desktop file that calls a shell script that runs gnome-power-manager,
and add that desktop in autostarted applications under Xfce.
I have filed a upstream Gnome bug asking for gnome-power-manager to have a xdg
desktop file. Seems pretty stalled, but feel free to comment or add yourself to
Maybe we should get rid of the idea of using g-p-m altogether?
There is an alternative battery applet with support for hibernate and suspend
via dbus/hal . You can find a package of it at . This project seems to be
stalled because there also is a hal based branch of the original
xfce4-battery-plugin  that the author wasn't aware of. I'm also going to
package it for testing purposes, but it won't become stable before Xfce 4.6
because the official policy for Xfce 4.4 is that hal/dbus is optional.
(just a quick test)
Interesting... I think that might well be worth using for 4.6... whenever that
This message is a reminder that Fedora 8 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 8. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '8'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 8's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 8 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
It's worth noting here that there is support in 4.6 for suspend/hibernate from the logout dialog... so the orig reason this was opened will be solved when we move to 4.6.
Can we go ahead and close this now? Or is there any reason to keep it open until 4.6 lands?
4.6 has landed in rawhide and has this feature.
Closing this now. Feel free to re-open or file a new bug if there is some issue.