Skip to content

Use Background Portal if available for autostart#13482

Draft
hifi wants to merge 1 commit into
keepassxreboot:developfrom
hifi:refactor/portal-autostart-first
Draft

Use Background Portal if available for autostart#13482
hifi wants to merge 1 commit into
keepassxreboot:developfrom
hifi:refactor/portal-autostart-first

Conversation

@hifi

@hifi hifi commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Refactored to use dbus code generator with the real portal XML spec.

This makes auto-start work "natively" on Wayland desktops like Plasma that provides the portal to non-sandboxed applications as well and avoids us from creating a custom entry.

Testing strategy

TBD

Type of change

  • ✅ Refactor (significant modification to existing code)

Refactored to use dbus code generator with the real portal XML spec.
@hifi hifi modified the milestone: v2.8.0 Jul 1, 2026
@hifi
hifi marked this pull request as draft July 3, 2026 11:21
@hifi

hifi commented Jul 3, 2026

Copy link
Copy Markdown
Contributor Author

This didn't really work as-is on either KDE or GNOME. Both created an autostart entry without the Exec key. We need to set the command manually which somewhat defeats the point of using the portal in the first place. The portal spec says you can leave the command out and it'll use the one in the desktop file but that wasn't the case in practice.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant