dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

Replace dependency “rofi-wayland” with “rofi” for better IME support

Open Sunrongguo2008 opened this issue 6 months ago • 4 comments

Description

This pull request replaces the dependency “rofi-wayland” with “rofi” since “rofi” now has native Wayland support. Additionally, “rofi” provides better compatibility with input method frameworks such as fcitx, making it a more versatile choice compared to “rofi-wayland”.

Changes

  • [x] Improved
  • [ ] Bug Fixes
  • [ ] Feature
  • [x] Documentation
  • [ ] Other

Context

This change is necessary because “rofi” has gained native Wayland support, making “rofi-wayland” redundant. Moreover, “rofi” works better with IME frameworks (like fcitx), which solves compatibility issues encountered with “rofi-wayland”.

How Has This Been Tested?

  • [x] Tested on Arch Linux/Based Distro.
  • [ ] Tested on Fedora Linux/Based Distro.
  • [ ] Tested on openSuse.

Checklist

Please ensure your pull request meets the following requirements:

  • [x] My code follows the style guidelines of this project.
  • [x] I have performed a self-review of my code.
  • [x] I have commented on my code, particularly in hard-to-understand areas.
  • [x] My changes do not introduce new warnings.
  • [x] I have added tests that prove my fix is effective or that my feature works.
  • [x] I have made corresponding changes to the documentation
  • [x] New and existing unit tests pass locally with my changes.

Screenshots

Related Issues

Additional Notes

No further notes.

Sunrongguo2008 avatar Sep 03 '25 05:09 Sunrongguo2008

Thank you for the PR. I will test it.

mylinuxforwork avatar Sep 03 '25 19:09 mylinuxforwork

Hi. When I install rofi with sudo pacman -S rofi, I still don't get rofi 2.0.0 with full wayland support. Is it the same on your side?

mylinuxforwork avatar Sep 05 '25 14:09 mylinuxforwork

The latest version I can get is 1.7.9.1, maybe we should wait for the repository to be updated, or compile and install it? Another point to note is that there is a conflict between rofi and rofi-wayland; perhaps the installation script should first uninstall rofi-wayland before installing rofi.

Sunrongguo2008 avatar Sep 05 '25 15:09 Sunrongguo2008

Fedora is still on the last version: https://packages.fedoraproject.org/pkgs/rofi/rofi/ That's why I can't change it in the general pkg.sh list.

I only can change it for Arch and openSuse. Both are already on version 2.x

mylinuxforwork avatar Oct 20 '25 06:10 mylinuxforwork

Rofi in Fedora 43 has been updated to version 2.0.0. 图片

Sunrongguo2008 avatar Dec 08 '25 13:12 Sunrongguo2008