LibreOffice flatpak launch command needs improvement
After an upgrade (from Fedora Kinoite 43 to 44, LibreOffice flatpak launch failed. Some thrashing about revealed that the command line needed adjustment.
Failed command line:
flatpak run --branch=stable --arch=x86_64 --command=libreoffice --file-forwarding org.libreoffice.LibreOffice --calc @@u %U @@
Error message:
Failed to open display /app/libreoffice/program/soffice.bin X11 error: Can’t open display: Set DISPLAY environment variable, use -display option or check permissions of your X-Server (See “man X” resp. “man xhost” for details)
Successful command line:
flatpak run --branch=stable --arch=x86_64 --command=libreoffice --file-forwarding org.libreoffice.LibreOffice --calc --display
Additional comment: I see no purpose in including --file-forwarding in a GUI launcher’s command line.
Cheers!
Discussion in the ATmosphere