[mythtv] Screen Saver testers needed!
Steve E
simon.sinister at sbcglobal.net
Fri Mar 20 01:27:10 UTC 2015
Mike,
It did work after applying the changes you suggested.
- Steve
On 03/19/2015 10:06 AM, Michael T. Dean wrote:
> On 03/19/2015 09:56 AM, Steve E wrote:
>> mate-screensaver
>>
>> I have no idea whether that uses DBus control or not.
>
> It does. The mate-screensaver-command utility actually uses DBus
> messaging to control mate-screensaver.
>
> What happens if you change line 13 of dbus-screensaver.cpp from:
>
> m_interface(new QDBusInterface("org.freedesktop.ScreenSaver",
> "/ScreenSaver",
>
> "org.freedesktop.ScreenSaver",
> m_bus))
>
> to
>
> m_interface(new QDBusInterface("org.mate.ScreenSaver",
>
> "/org/mate/ScreenSaver",
>
> "org.mate.ScreenSaver",
> m_bus))
>
> i.e. change the service, path, and interface arguments to the
> QDBusInterface constructor to use the mate-specific ones.
>
> Standards. They just make things so much easier for everyone. It's
> good there are so many of them for screensaver control. As Gary B so
> often (and rightly) points out: http://www.xkcd.com/927/
>
> FWIW, though, if using mate-specific DBus arguments works and it's
> decided not to include mate-specific code in MythTV, it would be
> simple to make a wrapper for mate-screensaver-command that works with
> the existing xscreensaver support in MythTV. (Basically just have
> create an executable script called xscreensaver-command that supports
> -version, such that it returns an error code if mate-screensaver isn't
> running, and -deactivate, such that it calls mate-screensaver-command
> -poke . I'd be happy to help with the wrapper if that's the direction
> Stuart decides to go.)
>
> Mike
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
More information about the mythtv-dev
mailing list