Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Applets should be autostarting and registered to well known names #23

Open
jtgans opened this issue May 24, 2021 · 0 comments
Open

Applets should be autostarting and registered to well known names #23

jtgans opened this issue May 24, 2021 · 0 comments
Labels
enhancement New feature or request feature parity Gets us closer to having 1:1 feature parity with the official Logitech Windows driver

Comments

@jtgans
Copy link
Owner

jtgans commented May 24, 2021

It should be possible to introspect D-Bus to find every object published that implements the com.theonelab.g13.Applet interface, with objects published under /com/theonelab/g13/applets/$APPLET_NAME path. From that, we can determine their registration, and only start them when we want them.

IOW, the GUI should be the only thing a user should need to add to their session startup routines. The applets should be automatically started via dbus discovery and activation. This would do two things:

  1. Eliminates the weird backward connection validation flow we use for applets (applet calls AppletManager#Register, then periodically pings the AppletManager to ensure connectivity, AppletManager itself doesn't really monitor applet liveness)
  2. Lends itself toward more accessible user-specified controls of which applets to start (Gnome's concept of "auto-start" for the session is only available via Tweaks, which isn't exactly "user-serviceable").

Basically, what we actually want is to only start the G13 Configurator for everything to be up and running.

@jtgans jtgans added enhancement New feature or request feature parity Gets us closer to having 1:1 feature parity with the official Logitech Windows driver labels May 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature parity Gets us closer to having 1:1 feature parity with the official Logitech Windows driver
Projects
None yet
Development

No branches or pull requests

1 participant