GNOME Bugzilla – Bug 545516
Add setup callout
Last modified: 2018-02-15 14:08:41 UTC
When a hot-pluggable receiver is plugged, a callout provided by gnome-lirc-properties should do a minimum of setup. If I don't have any receiver/remotes configured, or they use stock configurations, I should be able to: - plug in the receiver - callout is called - checks if the hardware that was plugged in has a remote supplied with it by default - checks if lircd is running, whether the default configuration is customised compared to "factory" (LIRC-provided) settings - write out a lircd.conf and lircd.conf.gnome suitable for use with that receiver and the default remote that comes with it This means that for a large number of configurations (USB receiver, with a remote supplied) gnome-lirc-properties would require no configuration at all.
This should be quite straight-forward for somebody with the necessary hardware, and more Python skills than me. Marking as gnome-love. You would need to modify backend.py to dump more information to the disk about the setup status, and use it to detect devices/remotes, and write out the new configuration to the disk.
Reassign to alias.
gnome-lirc-properties is obsolete and relies on outdated technology (HAL instead of udev). Most of the functionality is now integrated directly into the kernel, and Wayland has support for passing some keys up the stack to applications, that were ignored/dropped with X11.