Jump to content

Nvidia: Difference between revisions

15 bytes added ,  26 August 2023
no edit summary
imported>Nadimkobeissi
No edit summary
imported>Nadimkobeissi
No edit summary
Line 224: Line 224:
sed 's/^Exec=/&nvidia-offload /' /run/current-system/sw/share/applications/steam.desktop > ~/.local/share/applications/steam.desktop
sed 's/^Exec=/&nvidia-offload /' /run/current-system/sw/share/applications/steam.desktop > ~/.local/share/applications/steam.desktop
</syntaxhighlight>
</syntaxhighlight>
.


For Flatpak Steam, run:
For Flatpak Steam, run:
Line 232: Line 231:
sed 's/^Exec=/&nvidia-offload /' /var/lib/flatpak/exports/share/applications/com.valvesoftware.Steam.desktop > ~/.local/share/applications/com.valvesoftware.steam.desktop
sed 's/^Exec=/&nvidia-offload /' /var/lib/flatpak/exports/share/applications/com.valvesoftware.Steam.desktop > ~/.local/share/applications/com.valvesoftware.steam.desktop
</syntaxhighlight>
</syntaxhighlight>
.


Then restart your graphical environment session.
Then restart your graphical environment session (or simply reboot).


== Troubleshooting ==
== Troubleshooting ==