Linux flatpak autostart does not work due to wrong command

(#4002) Bug Closed: Answered desktop

Thread

Comment by Fullest
FullestReviewer 2 votes 1 reply
Status changed from Needs triage to Answered
I was able to replicate this issue on flatpak stable, however it looks like this has already been fixed in flatpak canary, so the fix should come to stable whenever it is next caught up to canary. Canary Desktop 2026.1013.201015, Web 2026.1013.223957, Linux 7.2.10-200.fc44.x86_64 (x64), Electron 44.4.1, Chrome 152.0.7977.78, Node 24.21.0, Locale en-US Stable autostart desktop entry:
❯ cat app.fluxer.Fluxer.desktop                          
[Desktop Entry]
Type=Application
Name=Fluxer
X-XDP-Autostart=app.fluxer.Fluxer
Exec=flatpak run --command=fluxer app.fluxer.Fluxer --autostart
X-Flatpak=app.fluxer.Fluxer
Canary autostart desktop entry:
❯ cat app.fluxer.FluxerCanary.desktop 
[Desktop Entry]
Type=Application
Name=Fluxer Canary
X-XDP-Autostart=app.fluxer.FluxerCanary
Exec=flatpak run --command=app.fluxer.FluxerCanary app.fluxer.FluxerCanary --autostart
X-Flatpak=app.fluxer.FluxerCanary