Repository navigation
Linux HUD: say why it can't show; the service finds the session's Wayland display (#756) - #758
Merged
Merged
Conversation
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.
for #756 (@itshimelz, hyprland without xwayland)
limitation()used to log one warning ("no layer-shell and XWayland is not running") for three different cases. it now says which one: no display at all (no reachableWAYLAND_DISPLAYand noDISPLAY), no layer-shell and no xwayland, or rune failing to open the overlay (with rune's error). the settings text matches, and the no-display case shows the hyprland import line.hex servicestarted without any display (systemd on a hyprland that imports nothing) now adopts the user manager'sWAYLAND_DISPLAY, else the newest$XDG_RUNTIME_DIR/wayland-*socket you own that accepts a connection. it only does this forhex service, so the cli doesn't change.exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP.checked on apollo in a headless sway with
xwayland disable:WAYLAND_DISPLAY/DISPLAY: it logs "adopted the session's Wayland display wayland_display=wayland-1", and the hud pill is on screen while recording (grim screenshot).WAYLAND_DISPLAY: it logs "HUD unavailable: Hex has no Wayland or X11 display …".not run on hyprland itself.
— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊