Replace `zenity` dependency with `alerta`
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 830
- Forks
- 108
- Avg merge
- 6d 33m
- Merged PRs (30d)
- 2
Description
(hope you don't mind the self-advertisement)
On Unix, rfd currently relies on zenity being installed in order to create message boxes. This isn't great, since it's a runtime dependency that can't be compiled into the program, and it might not always be installed.
Alerta is my attempt at displaying simple message boxes on X11 without any C dependencies. It may be worth switching to it to avoid the problems caused by zenity.
This would cause a few regressions, so it might not be acceptable:
- No support for selecting text, or for copying it out of the message box https://github.com/SludgePhD/Alerta/issues/3
- No accessibility support (AT-SPI requires speaking DBus) https://github.com/SludgePhD/Alerta/issues/4
- No support for selecting buttons with the keyboard https://github.com/SludgePhD/Alerta/issues/2
Apart from the accessibility issue, these should be resolvable with relative ease if desired.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating rfd's Unix message-box path and its zenity integration, then review Alerta's X11 behavior and the listed regression concerns. Determine whether the dependency replacement is acceptable, and verify that message boxes still work on Unix without zenity while documenting or testing the affected text-selection, accessibility, and keyboard-button behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- desktop
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100