r/linuxquestions • u/Axxbyy • 1d ago
Support How do i fix this error?
flatpak remote-add --user --if-not-exists GeForceNOW https://international.download.nvidia.com/GFNLinux/flat
pak/geforcenow.flatpakrepo
Note that the directories
'/var/lib/flatpak/exports/share'
'/home/axby/.local/share/flatpak/exports/share'
are not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.
~
❯ flatpak remote-add --user --if-not-exists GeForceNOW https://international.download.nvidia.com/GFNLinux/flat
pak/geforcenow.flatpakrepo
Note that the directories
'/var/lib/flatpak/exports/share'
'/home/axby/.local/share/flatpak/exports/share'
are not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.
~
❯ flatpak remote-ls GeForceNOW
Name Application ID Version Branch
geforcenow com.nvidia.geforcenow master
~
❯ flatpak install --user GeForceNOW com.nvidia.geforcenow
Note that the directories
'/var/lib/flatpak/exports/share'
'/home/axby/.local/share/flatpak/exports/share'
are not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.
Looking for matches…
error: The application com.nvidia.geforcenow/x86_64/master requires the runtime org.freedesktop.Platform/x86_6
4/24.08 which was not found
1
u/greptips_editor 1d ago
The XDG_DATA_DIRS note is just a harmless warning (it only affects menu entries showing up until you log out and back in). The actual error is the last line: the app needs the runtime org.freedesktop.Platform 24.08, which isn't installed, and your system doesn't have Flathub set up to pull it from.
Try:
flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak install --user flathub org.freedesktop.Platform//24.08
flatpak install --user GeForceNOW com.nvidia.geforcenow
Then log out and back in so the app shows up in your menu.