<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    1) There are two scripts to suspend from console: "pm-suspend" and
    "pm-suspend-hybrid" , both in package pm-utils.<br>
    <br>
    When I suspend using xfpm using the notification area icon, I have
    found that the "pm-suspend" script is called
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    by default
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    .<br>
    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.<br>
    <br>
    But renaming a file is not a user friendly way of selecting the
    suspend method.<br>
    <br>
    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?<br>
    If so maybe we should notify this to upower package mantainer.<br>
    <br>
    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?<br>
    <br>
    <br>
    <br>
    El 25/09/12 14:43, Yves-Alexis Perez escribió:
    <blockquote cite="mid:1348576991.4545.1.camel@scapa" type="cite">
      <pre wrap="">On lun., 2012-09-24 at 03:58 +0200, José Salavert Torres wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">When selecting suspend in the notification area icon, the user is not
able to configure which command will use the system to
suspend.
In my concrete case, a lenovo thinkpad R61, the "pm-suspend" script
does not work properly, while pm-suspend-hybrid does,
so I had to create move the non-working script and symbolic link to
-hybrid as a workaround.
</pre>
      </blockquote>
      <pre wrap="">
xfpm only send a dbus call for suspend, which is catched by upower, so
that would be an issue for upower.
</pre>
      <blockquote type="cite">
        <pre wrap="">
Also, it would be nice to select what will do the computer when
reaching inactivity (suspend or hibernate), depending
on if it is plugged or running on batteries. 
</pre>
      </blockquote>
      <pre wrap="">
What do you mean?
</pre>
    </blockquote>
    <br>
  </body>
</html>