[RFE] Please investigate if gnome-ponytail-daemon can be used with gnome-kiosk
When I tried to use ponytail with gnome-kiosk I found the daemon is not working correctly.
ponytail = Ponytail()
^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/ponytail/ponytail.py", line 42, in __init__
self.shell_introspect = self.bus.get_object(self.shell_introspect_iface,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/site-packages/dbus/bus.py", line 237, in get_object
return self.ProxyObjectClass(self, bus_name, object_path,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/site-packages/dbus/proxies.py", line 250, in __init__
self._named_service = conn.activate_name_owner(bus_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/site-packages/dbus/bus.py", line 178, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib64/python3.12/site-packages/dbus/bus.py", line 273, in start_service_by_name
return (True, self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/site-packages/dbus/connection.py", line 634, in call_blocking
reply_message = self.send_message_with_reply_and_block(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
Exception ignored in: <function Ponytail.__del__ at 0x7f7e8b4cfc40>
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/ponytail/ponytail.py", line 52, in __del__
if (self.connected):
^^^^^^^^^^^^^^
AttributeError: 'Ponytail' object has no attribute 'connected'
When I tried to restart the daemon by hand I got Failed to register: Unable to acquire bus name 'org.gnome.PonytailDaemon' which might not be relevant since it started from sudo user but was still not activatable.
As Jose mentioned in our chat there might not be equivalent of org.gnome.Shell.Introspect for Kiosk but might be worth looking into it. If there is not much effort to produce an equivalent of Introspect for Kiosk I would certainly welcome it for our QE abilities.