[mythtv-commits] Ticket #7749: When running under a managed session, use that session's tools to shutdown/reboot
MythTV
mythtv at cvs.mythtv.org
Mon Dec 14 06:09:07 UTC 2009
#7749: When running under a managed session, use that session's tools to
shutdown/reboot
--------------------------------+-------------------------------------------
Reporter: superm1@… | Owner: ijr
Type: enhancement | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: head
Severity: medium | Mlocked: 0
--------------------------------+-------------------------------------------
KDE, XFCE, & Gnome all support using their D-Bus interfaces to shutdown
and reboot the system in some fashion. If one of those environment's
session managers is running, it can be contacted and asked to reboot or
halt the system.
If it can't be contacted, then you can fall back to the old style
hardcoding of the halt/reboot commands.
Unfortunately this is broken in XFCE due to a bug in xfce-session, but
when that bug is fixed, this code can be uncommented and included in myth
too.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7749>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list