Open alexjp opened 5 years ago
Let me check if there is any Flatpak application that works in such a way – with the auto-start feature/setting.
By the way, I tried manually changing the Exec
key in the generated ~/.config/autostart/wire-desktop.desktop
file, and that didn't work.
Let me check if there is any Flatpak application that works in such a way – with the auto-start feature/setting.
Nobody does. Ideally there would be a portal to request autostart.
By the way, I tried manually changing the
Exec
key in the generated~/.config/autostart/wire-desktop.desktop
file, and that didn't work.
There is no reason it shouldn't.
On my Linux Mint 19.1 Wire (flatpak) doesn't autostart. /app/Wire/wire-desktop --hidden
On my other computer with Linux Mint 19 Wire autostart correctly: /opt/Wire/wire-desktop --hidden
Something like flatpak run com.wire.WireDesktop --hidden
I think if flatpak run com.wire.WireDesktop --hidden
works, I can try to put a request for them to add it in such a way. It would be a matter of identifying when Wire
is running as a Flatpak (easy, just checking if /.flatpak-info
exists) and later on modifying the entry that's created in $HOME/.config/autostart/wire-desktop.desktop
.
That until the portal exists :sunglasses:
@x80486 Ideally flatpaks have no access to writing to home, codifying features that rely on that is a bad idea.
OK, I'll hold off from this one until there is a portal.
In the meantime, if people want this, they can still create the auto-start entry from Wire
itself (will be here: ~/.config/autostart/wire-desktop.desktop
), edit it, and assign flatpak run com.wire.WireDesktop --hidden
to the Exec
key...that will work.
I think https://github.com/flatpak/flatpak/issues/118 is the upstream-flatpak issue and it was closed a week ago.
They link to https://github.com/flatpak/xdg-desktop-portal/blob/master/data/org.freedesktop.impl.portal.Background.xml
@Mikaela, I have no idea where the e-mail notification for your comment went :smirk: ...I just saw this one.
Let me see if there is some documentation already about this. Moreover, if you know already how to do it and want to send a Pull Request, go for it :sunglasses:
When I enable the option to autostart, it doesn't work.
Checking the file on ~/.config/autostart/wire-desktop.desktop, it seems to point to exec:
which doesn't exist. Should the desktop file be patched to full flatpak exec command line ? Like example: