Repository navigation
Linux: HUD on GNOME Wayland through XWayland; refresh a stale XAUTHORITY - #479
Merged
Merged
Conversation
…e XAUTHORITY On a Wayland compositor without layer-shell (GNOME's Mutter), Rune now opens only the HUD as an override-redirect, click-through X11 window on XWayland (Rune 9983acad). The rest of Hex stays on Wayland, so portal shortcuts keep working. Without XWayland, the #466 status and log remain. A saved XAUTHORITY whose file is gone after a reboot is replaced at startup by the user manager's current value, else dropped. Fixes #465
This was referenced Oct 30, 2026
This was referenced Oct 30, 2026
kitlangton
added a commit
that referenced
this pull request
Oct 30, 2026
kitlangton
added a commit
that referenced
this pull request
Oct 30, 2026
kitlangton
added a commit
that referenced
this pull request
Oct 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #465 (and informs #464).
Xft.dpi) when the compositor lacks layer-shell andDISPLAYis set. Only the HUD uses it; the window and GlobalShortcuts portal stay native Wayland. Without XWayland, the Fix #465: recording HUD on GNOME Wayland #466 status and log remain.session.envbroke X11 connections after a reboot. At startup, a missing XAUTHORITY file is replaced by the systemd user manager's current value, else dropped.Tested on apollo in headless mutter 51 + Xwayland (private D-Bus, separate data root): HUD appears at the top centre (808,12, 304×80,
_NET_WM_WINDOW_TYPE_NOTIFICATION), Dot scope animates (consecutive captures differ), the focused window keeps focus, the pointer over the HUD hits the window below, andhex dictation start/stoprecord, transcribe and paste. Mutter alone has no GlobalShortcuts portal, so portal shortcuts weren't exercised there; Hex's Wayland side is unchanged. Not yet tried on a full GNOME Shell session.Thanks to the #465 reporter for the analysis.
— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊