<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Ali Abdallah wrote:
<blockquote cite="mid:490CC947.2050208@xfce.org" type="cite">
  <pre wrap="">jp.guillemin wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">looking into the code, I found that the mod uses HAL to suspend (this 
idea seams strange, it would be simpler to provide a configuration 
file to specify the scripts location) .

So the question is : how do I tell to HAL to use a suspend script ? 
(using default scripts provided by hal, or whatever, will usually 
fail, and I have written suspend scripts that work in 98% of the cases 
including laptops, so I must use them).

I want to test, but without any information about this feature, it's 
not easy.

Thanks
JP
    </pre>
  </blockquote>
  <pre wrap=""><!---->
You can always add the call to your script, usually in 
/usr/lib/hal/scripts/YourOS/hal-system-..., i use uswsusp to do 
suspend/hibernate and i had to edit the too HAL scripts, be careful 
about the exit code, HAL uses this to identify errors.

Regards,
Ali.
  </pre>
</blockquote>
<br>
Thanks Ali :)<br>
<br>
That's the kind of information I was expected (since the freedesktop
doc is poor on this subject)<br>
<br>
Cheers<br>
JP<br>
<br>
<blockquote cite="mid:490CC947.2050208@xfce.org" type="cite">
  <blockquote type="cite">
    <pre wrap="">jp.guillemin wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Were do I configure the path to the suspend script ?

Thanks
JP

Maximilian Schleiss wrote:
      </pre>
      <blockquote type="cite">
        <pre wrap="">Le samedi 01 novembre 2008 à 02:59 -0700, Brian J. Tarricone a écrit : 
  
        </pre>
        <blockquote type="cite">
          <pre wrap="">Hi all,

    
          </pre>
        </blockquote>
        <pre wrap="">Hi Brian,

  
        </pre>
        <blockquote type="cite">
          <pre wrap="">I just committed suspend/hibernate support for xfce4-session, based on
a patch from Xubuntu (recently updated by Michael Casadevall).  I can't
test this myself (susp/hibernate doesn't work on my laptop), so please
give it a quick test if you can before beta2.

    
          </pre>
        </blockquote>
        <pre wrap="">suspend and hibernate work here but shows this error message when it
resumes even though it did suspend, hibernate and resume properly:

*TITLE*Shutdown Failed

Failed to suspend session

Did not receive a reply. Possible causes include: the remote application
did not send a reply, the message bus security policy blocked the reply,
the reply timeout expired, or the network connection was broken.

  
        </pre>
        <blockquote type="cite">
          <pre wrap="">There's also quite a bit of new error-reporting code in there as well;
hopefully you don't run into it, but if you do, please note the
contents of the error dialog you get.

        -brian
_______________________________________________
Xfce4-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xfce4-dev@xfce.org">Xfce4-dev@xfce.org</a>
<a class="moz-txt-link-freetext" href="http://foo-projects.org/mailman/listinfo/xfce4-dev">http://foo-projects.org/mailman/listinfo/xfce4-dev</a>
    
          </pre>
        </blockquote>
        <pre wrap="">_______________________________________________
Xfce4-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xfce4-dev@xfce.org">Xfce4-dev@xfce.org</a>
<a class="moz-txt-link-freetext" href="http://foo-projects.org/mailman/listinfo/xfce4-dev">http://foo-projects.org/mailman/listinfo/xfce4-dev</a>
        </pre>
      </blockquote>
      <pre wrap="">------------------------------------------------------------------------

_______________________________________________
Xfce4-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xfce4-dev@xfce.org">Xfce4-dev@xfce.org</a>
<a class="moz-txt-link-freetext" href="http://foo-projects.org/mailman/listinfo/xfce4-dev">http://foo-projects.org/mailman/listinfo/xfce4-dev</a>
      </pre>
    </blockquote>
    <pre wrap="">------------------------------------------------------------------------

_______________________________________________
Xfce4-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xfce4-dev@xfce.org">Xfce4-dev@xfce.org</a>
<a class="moz-txt-link-freetext" href="http://foo-projects.org/mailman/listinfo/xfce4-dev">http://foo-projects.org/mailman/listinfo/xfce4-dev</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->
_______________________________________________
Xfce4-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xfce4-dev@xfce.org">Xfce4-dev@xfce.org</a>
<a class="moz-txt-link-freetext" href="http://foo-projects.org/mailman/listinfo/xfce4-dev">http://foo-projects.org/mailman/listinfo/xfce4-dev</a></pre>
</blockquote>
<br>
</body>
</html>