Sending Temporary Desktop Entries over D-Bus: New Portal? #1305
Replies: 3 comments 39 replies
-
Beta Was this translation helpful? Give feedback.
-
I think the idea to transiently register an app is a good one. Portals are however targeted at (confined) applications so I think it makes more sense to have a dbus service which is not a portal. |
Beta Was this translation helpful? Give feedback.
-
Yeah, I regret to have anything that references file paths, but how do I register icons for example without doing some kind of file path? That'd be way too heavy for DBus :/ Open to any and all ideas to get around that hurdle Edit: Just realized I made a new comment, so @ssokolow for visibility |
Beta Was this translation helpful? Give feedback.
-
The Desktop Entry Spec contains tons of metadata about an application, including icons, MIME types, and additional actions an app can use. Pretty much all the desktop environments I have used in the past have had support for the spec.
There are some apps which are portable that aren't able to register icons and MIME types and the like, the former of which has been discussed in wayland protocols.
In the linked MR, which is Matthias Klumpp's proposal for solving the problem of apps with no permanent installation wanting to set icons, this comment by Simon Ser and the related discussion interested me.
Since desktop entries are less compositor related, I thought about the functionality maybe being a desktop portal. There's probably lots of things I'm not considering, but I think a D-Bus api for an app to send a desktop entry to any necessary party would be nice.
cc @emersion
Beta Was this translation helpful? Give feedback.
All reactions