protonscr

Desktop shortcut uses Steam's icon for game shortcuts

steamclosed High priorityreviewedSteam client
ValveSoftware/steam-for-linux#526 · opened 2013-01-03 by Majkl578 · updated 2013-02-06 · 8 comments · github
MMajkl578 2013-01-03 github

When I add a non-steam game into Library, it picks and uses correct icon. However when I click "Create Desktop Shortcut" in its context menu, The shortcut is created with Steam's icon instad of the correct icon.

For example, OpenTTD, this is OpenTTD.desktop:

[Desktop Entry]
Name=OpenTTD
GenericName=Steam game
Comment=Play this game
Exec=steam steam://rungameid/16008754155011178496
Icon=steam
Terminal=false
Type=Application
Categories=Game;

EDIT: I just tried the same for TF2 which is not a non-steam game and the problem is the same. So it is not related to whether the game is non-steam or not, icon is always wrong. (Title updated.)

If it's relevant, I'm using Gnome Shell 3.6 on Debian experimental.

MMajkl578 2013-01-03 github

And here is a small feature request:
It would be awesome, if the game's icon in the shortcut would have a small steam watermark in its right-bottom corner. Something like this:
openttd-steam

Jjohndrinkwater 2013-01-03 github

It would be great to keep bugs on topic, could you move your feature request comment to a new issue please? :)

Bbdeen-valve maintainer 2013-01-04 github

We're not pulling the icon for these locally installed games from the correct place. Working on a fix...

Bbdeen-valve maintainer 2013-01-16 github

Should be fixed. We use the icon associated with the game in the desktop link now.

MMajkl578 2013-02-06 github

I've just installed Counter Strike Source and the icon is still incorrect in system applications.

$ cat .local/share/applications/Counter-Strike\ Source.desktop 
[Desktop Entry]
Name=Counter-Strike Source
GenericName=Steam game
Comment=Play this game
Exec=steam steam://rungameid/240
Icon=steam
Terminal=false
Type=Application
Categories=Game;

Actually this might be different issue since the issue was about desktop issue. I'll create a separate one if so.

Bbdeen-valve maintainer 2013-02-06 github

yup, just noticed that this morning. I'll get it pushed up there.

Jjohndrinkwater 2013-02-06 github

#989 has a list of games with missing icons, HL, CS, CS:S are on it :)

Bbdeen-valve maintainer 2013-02-06 github

Fixed. Pushed both CS and CS:S.

Nothing extracted yet.