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

Extended external communication via D-BUS #51

Closed
leukipp opened this issue Apr 12, 2024 · 2 comments
Closed

Extended external communication via D-BUS #51

leukipp opened this issue Apr 12, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request info General purpose information

Comments

@leukipp
Copy link
Owner

leukipp commented Apr 12, 2024

External communication with cortile was implemented via unix domain sockets as discussed here #14 (comment).

The current implementation has some caveats, as it works in an asynchronous way. You have to listen for return values while you are requesting a state from cortile.
There were also feature requests that were either impossible to add or require extensive programming skills and knowledge of the X window backend.

To address these issues, I have opted to introduce a more efficient approach that uses quasi-synchronous interaction with cortile via D-BUS. Given that tray icon communication already relies on D-BUS, this change introduces no new dependencies.

For those who have developed custom event handlers/hook-up logic for cortile, I recommend transitioning to the new API as soon as possible.
The forthcoming external communication via D-BUS will supersede the now deprecated unix domain socket approach.

Details regarding the new D-BUS API will be published here and in the README.md file.

@leukipp leukipp added enhancement New feature or request info General purpose information labels Apr 12, 2024
@leukipp leukipp self-assigned this Apr 12, 2024
@leukipp leukipp pinned this issue May 3, 2024
@leukipp
Copy link
Owner Author

leukipp commented Jun 12, 2024

Starting with v2.5.0 dbus communication was unofficially added.

It`s still work in progress, but early beta testers may already have a look into it via running a separate cortile instance:

cortile dbus -help

There are also plans to allow custom cortile-addons for the broader community, by using a python wrapper package.

@leukipp
Copy link
Owner Author

leukipp commented Aug 14, 2024

Starting with v2.5.1 dbus communication officially replaces the now removed unix domain socket communication.

Based on this, custom addons via python bindings #65 will be released.

@leukipp leukipp closed this as completed Aug 14, 2024
@leukipp leukipp unpinned this issue Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request info General purpose information
Projects
None yet
Development

No branches or pull requests

1 participant