Absolutely nothing visual happens when clicking on launcher icon.
Error logs:
$> flatpak run net.lutris.Lutris
F: Not sharing "/usr/share/icons" with sandbox: Path "/usr" is reserved by Flatpak
F: Not sharing "/usr/share/themes" with sandbox: Path "/usr" is reserved by Flatpak
2024-09-22 14:08:08,576: Starting Lutris 0.5.17
Traceback (most recent call last):
File "/app/lib/python3.11/site-packages/lutris/gui/application.py", line 480, in do_command_line
init_lutris()
File "/app/lib/python3.11/site-packages/lutris/startup.py", line 133, in init_lutris
init_dirs()
File "/app/lib/python3.11/site-packages/lutris/startup.py", line 48, in init_dirs
create_folder(directory)
File "/app/lib/python3.11/site-packages/lutris/util/system.py", line 401, in create_folder
os.makedirs(path, exist_ok=True)
File "<frozen os>", line 215, in makedirs
File "<frozen os>", line 225, in makedirs
OSError: [Errno 30] Read-only file system: '/home/user001/.var/app/net.lutris.Lutris/data/icons/hicolor/128x128'
2024-09-22 14:08:08,577: Shutting down Lutris
Obviously, everything inside /home is definitely not a read-only FS.
sudo chown -R $(whoami):$(id -ng) ~/.var/app/net.lutris.Lutris doesn’t help at all.
flatpak override --user --filesystem=home net.lutris.Lutris doesn’t help either
Everything worked on another machine, where I’ve rebased from Silverblue to Bazzite. Lutris was installed as a flatpak before rebasing.
On my current machine, where I’ve installed Bazzite from an ISO, I encountered this issue. For some reason, I didn’t have Lutris .desktop icon launcher after setup.
Lutris is pre-installed as an RPM in the image and the desktop definition is in /usr/share/applications. You can’t not have it under any circumstance. Remove the flatpak and run Lutris in a terminal if you don’t immediately see the desktop icon.
Yes, I verified it myself now. My confusion comes from not having a dedicated Lutris RPM .desktop launcher file. It was not present in the GNOME App menu, so I installed it as a flatpak.
I can confirm that file is present in a read only directory as part of the image. There is no way for that file to not exist on a bootable Bazzite install. It’s even added to the dash/task bar by default in both GNOME and KDE.
#1. Remove Lutris flatpak
flatpak uninstall -y net.lutris.Lutris
#2. Remove Lutris flatpak .desktop file if it was not removed. It interferes with proper RPM one somehow, GNOME magic
rm ~/.local/share/applications/net.lutris.Lutris.desktop
#3. Log out & log in back, now you should have your proper Lutris launcher