Steam: Difference between revisions
Added workaround for missing game icons under GNOME |
Marked this version for translation Tags: Mobile edit Mobile web edit |
||
Line 247: | Line 247: | ||
<translate> | <translate> | ||
=== Fix missing icons for games in GNOME dock and activities overview === | === Fix missing icons for games in GNOME dock and activities overview === <!--T:56--> | ||
</translate> | </translate> | ||
<translate> | <translate> | ||
<!--T:57--> | |||
GNOME uses the window class to determine the icon associated with a window. Steam currently doesn't set the required key for this in its .desktop files<ref>https://github.com/ValveSoftware/steam-for-linux/issues/12207</ref>, but you can fix this manually by editing the <code>StartupWMClass</code> key for each game's .desktop file, found under <code>~/.local/share/applications/</code>. | GNOME uses the window class to determine the icon associated with a window. Steam currently doesn't set the required key for this in its .desktop files<ref>https://github.com/ValveSoftware/steam-for-linux/issues/12207</ref>, but you can fix this manually by editing the <code>StartupWMClass</code> key for each game's .desktop file, found under <code>~/.local/share/applications/</code>. | ||
<!--T:58--> | |||
For games running through Proton, the value should be <code>steam_app_<game_id></code> (where <code><game_id></code> matches the value after steam://rungameid/ on the <code>Exec</code> line). | For games running through Proton, the value should be <code>steam_app_<game_id></code> (where <code><game_id></code> matches the value after steam://rungameid/ on the <code>Exec</code> line). | ||
<!--T:59--> | |||
For games running natively, the value should match the game's main executable. | For games running natively, the value should match the game's main executable. | ||
<!--T:60--> | |||
For example, the modified .desktop file for Valheim looks like this: | For example, the modified .desktop file for Valheim looks like this: | ||
</translate> | </translate> |