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

Open
leukipp opened this issue Apr 12, 2024 · 0 comments
Open

Extended external communication via D-BUS #51

leukipp opened this issue Apr 12, 2024 · 0 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
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