Skip to content

fix(gui): inherit wayland display and desktop styling for root GUI vi…#2445

Draft
jtrag wants to merge 1 commit into
bit-team:devfrom
jtrag:fix-wayland-root-gui
Draft

fix(gui): inherit wayland display and desktop styling for root GUI vi…#2445
jtrag wants to merge 1 commit into
bit-team:devfrom
jtrag:fix-wayland-root-gui

Conversation

@jtrag

@jtrag jtrag commented Mar 16, 2026

Copy link
Copy Markdown

Hello,

I am a new contributor, and I was fixing/modifying some things about BackInTime for myself today, but then I decided to do it as a contribution to the official project and add a much-wanted feature while I was at it (I added dry run). I have tested everything, and it works 100%. Screenshots shouldn't be necessary for these additions/fixes since nothing about the GUI itself has changed. I hope this helps others to continue to use BackIntime for many years to come!

fix(gui): inherit wayland display and desktop styling for root GUI via pkexec

  • Resolves crashing on modern Wayland compositors (like Pop!_OS COSMIC) by natively inheriting WAYLAND_DISPLAY and XDG_RUNTIME_DIR.
  • Injects comprehensive desktop styling variables (QT_QPA_PLATFORMTHEME, XDG_CURRENT_DESKTOP, GTK_THEME, etc.) into pkexec wrapper so the root-elevated GUI feels native and matches user styling.

Authored by @jtrag (https://github.com/jtrag).
If this fix helped improve your Linux desktop experience, please consider supporting my open-source work: ☕ BuyMeACoffee: https://buymeacoffee.com/jtrag
💙 PayPal: https://paypal.com/donate/?business=DN9W5GQ638WPQ

…a pkexec

- Resolves crashing on modern Wayland compositors (like Pop!_OS COSMIC) by natively inheriting `WAYLAND_DISPLAY` and `XDG_RUNTIME_DIR`.
- Injects comprehensive desktop styling variables (`QT_QPA_PLATFORMTHEME`, `XDG_CURRENT_DESKTOP`, `GTK_THEME`, etc.) into `pkexec` wrapper so the root-elevated GUI feels native and matches user styling.

Authored by @jtrag (https://github.com/jtrag).
If this fix helped improve your Linux desktop experience, please consider supporting my open-source work:
☕ BuyMeACoffee: https://buymeacoffee.com/jtrag
💙 PayPal: https://paypal.com/donate/?business=DN9W5GQ638WPQ
@buhtz

buhtz commented Mar 17, 2026

Copy link
Copy Markdown
Member

On hold until #2446 is merged.

@buhtz buhtz added the PR: Waiting for review PR won't be merged until review and approval from a member of the maintenance team. label Mar 17, 2026
@buhtz buhtz added the Feedback needs user response, may be closed after timeout without a response label Jul 13, 2026
@buhtz
buhtz marked this pull request as draft July 13, 2026 10:59
@buhtz buhtz added the Prio: Low relevant, but not urgent label Jul 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feedback needs user response, may be closed after timeout without a response PR: Waiting for review PR won't be merged until review and approval from a member of the maintenance team. Prio: Low relevant, but not urgent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants