You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steam client version (build number or date): 1718904662
Distribution (e.g. Ubuntu): Ubuntu 24.04
Opted into Steam client beta?: No
Have you checked for system updates?: Yes
GPU: Nvidia GTX 1080
Please describe your issue in as much detail as possible:
When installing a game via Steam, a new desktop entry (.desktop file) gets created in ~/.local/share/applications that is named the same as the game that was just installed. However, when running a game via Steam the window appears to be named using the app's Steam ID, i.e. steam_app_<game_id>. This causes the game's window icon in the Gnome dock to show the generic gear icon.
The desktop entry is configured correctly to show the game's icon as this is how it shows up in Gnome's "Show Apps" view:
For ZeroRanger, the .desktop file is named ZeroRanger.desktop and the contents of the desktop entry are as follows:
[Desktop Entry]
Name=ZeroRanger
Comment=Play this game on Steam
Exec=steam steam://rungameid/809020
Icon=steam_icon_809020
Terminal=false
Type=Application
Categories=Game;
When the game is running, it's window shows up in the Gnome dock like this:
As a workaround, you can either:
Add the StartupWMClass=steam_app_<app_id> property to the end of the .desktop file (for ZeroRanger it would be StartupWMClass=steam_app_809020).
Rename the .desktop file itself to match the name of the window (for ZeroRanger it becomes steam_app_809020.desktop).
Either of these then cause the window to show the correct icon/name in the dock.
Hopefully there's a way for Steam to handle this itself when creating the desktop icons.
Steps for reproducing this issue:
Install a game via Steam.
Launch the installed game.
Notice it uses the default gear icon for its window in the Gnome dock.
The text was updated successfully, but these errors were encountered:
Dannflower
changed the title
Game window names do not match desktop entry names
Game window names do not match desktop entry file names
Jun 23, 2024
Your system information
Please describe your issue in as much detail as possible:
When installing a game via Steam, a new desktop entry (
.desktop
file) gets created in~/.local/share/applications
that is named the same as the game that was just installed. However, when running a game via Steam the window appears to be named using the app's Steam ID, i.e.steam_app_<game_id>
. This causes the game's window icon in the Gnome dock to show the generic gear icon.The desktop entry is configured correctly to show the game's icon as this is how it shows up in Gnome's "Show Apps" view:
For ZeroRanger, the
.desktop
file is namedZeroRanger.desktop
and the contents of the desktop entry are as follows:When the game is running, it's window shows up in the Gnome dock like this:
As a workaround, you can either:
Add the
StartupWMClass=steam_app_<app_id>
property to the end of the.desktop
file (for ZeroRanger it would beStartupWMClass=steam_app_809020
).Rename the
.desktop
file itself to match the name of the window (for ZeroRanger it becomessteam_app_809020.desktop
).Either of these then cause the window to show the correct icon/name in the dock.
Hopefully there's a way for Steam to handle this itself when creating the desktop icons.
Steps for reproducing this issue:
The text was updated successfully, but these errors were encountered: