Skip to content

Linux: avoid DBus stalls on TTY; prefer GNOME/KDE native backends; POSIX-safe#66

Open
alberti42 wants to merge 1 commit intof-person:mainfrom
alberti42:missing-display
Open

Linux: avoid DBus stalls on TTY; prefer GNOME/KDE native backends; POSIX-safe#66
alberti42 wants to merge 1 commit intof-person:mainfrom
alberti42:missing-display

Conversation

@alberti42
Copy link
Copy Markdown

@alberti42 alberti42 commented Sep 13, 2025

Summary

  • Skip DBus when no DISPLAY/WAYLAND_DISPLAY (headless/SSH): return empty output and disable polling.
  • Prefer gsettings (GNOME) and kreadconfig5 (KDE/Plasma) when session matches or tools exist; normalize to uint32 1/0 for current parser.
  • Reduce dbus-send timeout to 200ms.

Tests

  • I have tested it under gnome. Unfortunately, I could not test it under kde. It should work, but I wanted to mention that this branch is not tested yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant