2023-10-23 05:33:14 +00:00
Environment variable `GOLDENDICT_FORCE_WAYLAND` can be used to force GD to run in Wayland mode, like `env GOLDENDICT_FORCE_WAYLAND=1 goldendict` .
!!! danger "Don't use unless you know!"
This flag only guarantees GD to run in wayland mode and won't crash, but nothing more.
2024-10-10 02:19:33 +00:00
Enable this will break popup, global hotkeys and probably other things.
2023-10-23 05:33:14 +00:00
## Current reality
!!! note "Help wanted"
2024-10-10 02:19:33 +00:00
Need help to redesign popup for wayland.
2023-10-23 05:33:14 +00:00
2024-10-10 02:19:33 +00:00
Popup is implemented with `querying mouse cursor's position` and `setting a window's absolute global position` .
2023-10-23 05:33:14 +00:00
Wayland does not support both by design and philosophy.
Wayland does not support registering global hotkeys until very recently, but a reasonable wayland desktop environment should provide some way to bind keys to commands globally.