[Pkg-xfce-devel] Bug#688598: Bug#688598: xfce4-power-manager: Notification icon actions are not configurable

Yves-Alexis Perez corsac at debian.org
Tue Sep 25 13:33:01 UTC 2012


On mar., 2012-09-25 at 15:21 +0200, José Salavert Torres wrote:
> 1) There are two scripts to suspend from console: "pm-suspend" and
> "pm-suspend-hybrid" , both in package pm-utils.
> 
> When I suspend using xfpm using the notification area icon, I have
> found that the "pm-suspend" script is called by default .
> That script does not work on my machine, but if I rename
> pm-suspend-hybrid to pm-suspend the suspend process using xfpm works
> again.

Note that pm-suspend-hybrid is just suspending after taking a ram
snapshot for hibernation. So what you really means, I guess, is that
suspend fails while hibernation works, and that's an issue in your
kernel (or X drivers or something).
> 
> But renaming a file is not a user friendly way of selecting the
> suspend method.
> 
> Maybe it would be possible to allow the user to select the suspend
> method (pm-suspend or pm-suspend-hybrid) in the applet, is there only
> one kind of dbus suspend call available?
> If so maybe we should notify this to upower package mantainer.

A quick look in dbus methods offered by upower shows that it only have
suspend() and hibernate(), yes.
> 
> 2) This is a wish. I would like to setup the xfpm to suspend my
> computer when plugged and hybernate when running on batteries. Is this
> possible?

Well, you can configure various options for when you're on AC and when
you're on battery in the settings interface.

Regards,
-- 
Yves-Alexis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20120925/530cefba/attachment.pgp>


More information about the Pkg-xfce-devel mailing list