Results 1 to 3 of 3

Thread: missing shutdown method in org.freedesktop.PowerManagement dbus interface

  1. #1
    Join Date
    Jun 2008
    Location
    Belgium
    Posts
    45

    Default missing shutdown method in org.freedesktop.PowerManagement dbus interface

    hi,

    I'm using handbrake to encode some dvd's and am trying to use the autoshutdown feature. It does not work.

    However, handbrake does not seem at fault here. When I check in qdbusviewer, there is indeed no shutdown method in the org.freedesktop.PowerManagement interface. This does not seem normal, although I have the same problem on 2 suse 11.3 boxes.

    Through this post, I started fiddling with policykit settings, but it doesn't change anything..

    Does anyone know a solution to this problem? Do you have these canShutdown/shutdown methods?

    thanks

  2. #2

    Default Re: missing shutdown method in org.freedesktop.PowerManagement dbus interface

    Hello mxttie,

    I also want "handbrake" to shutdown my pc, when its work is done. However, I think the interface mentioned in the subject is deprecated. You may try the interface mentioned at that Stackoverflow issue.

    Best regards

  3. #3
    Join Date
    Jun 2008
    Location
    Belgium
    Posts
    45

    Default Re: missing shutdown method in org.freedesktop.PowerManagement dbus interface

    The solution you refer to uses HAL, which is deprecated by now (see for example this blog post on KDE 4.6 beta1). Also, even if that command would work, Handbrake does not use it and would need patching (then again, why would they do that, that's what standards are for). As far as I understand, the KDE implementation of the freedesktop powermgmt interface on opensuse is not properly implemented. It turned out to be much easier to patch handbrake to support an alternative shutdown method than to figure out/fix the KDE/opensuse issue.

    See this forumpost for my patch I submitted to Handbrake which will be present in the next version. The patch adds an extra shutdown option "quit app" so you can use KShutdown to shutdown.

    works fine here

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •