protonscr

Wrong icons for some games in .desktop files

steamclosed reviewed3rd party game
ValveSoftware/steam-for-linux#989 · opened 2013-01-28 by quaec · updated 2022-06-08 · 48 comments · github
Qquaec 2013-01-28 github

Some games don't have a (correct) icon associated with them in the .desktop-file for the system menu integration (for example Braid, Half-Life and Counter-Strike).

I'm using Ubuntu 12.04.1 LTS (64 Bit) with the standard Unity DE.

As you can see in the .desktop-file below, the game uses the "steam" icon and not a game-specific icon.

"Counter-Strike (Beta).desktop" file in /home/username/.local/share/applications/

[Desktop Entry]
Name=Counter-Strike (Beta)
GenericName=Steam game
Comment=Play this game
Exec=steam steam://rungameid/10
Icon=steam
Terminal=false
Type=Application
Categories=Game;

System information

Prozessor:
    Hersteller: AuthenticAMD
    Geschwindigkeit: 3200 MHz
    4 logische Prozessoren
    4 technische Prozessoren
    HyperThreading:  Nicht unterstützt
    FCMOV:  Unterstützt
    SSE2:  Unterstützt
    SSE3:  Unterstützt
    SSSE3:  Unterstützt
    SSE4a:  Unterstützt
    SSE41:  Nicht unterstützt
    SSE42:  Nicht unterstützt

Netzwerk-Informationen:
    Netzwerk-Geschwindigkeit: 

Betriebssystem:
    Ubuntu 12.04.1 LTS (64 Bit)
    Kernel-Name: Linux
    Kernel-Version: 3.2.0-36-generic
    X-Server-Vendor: The X.Org Foundation
    X-Server-Release: 11103000

Grafikkarte:
    Treiber: NVIDIA Corporation GeForce GTX 260/PCIe/SSE2

    Treiber-Version: 3.3.0 NVIDIA 310.14
    Desktop-Farbtiefe: 24 Bit per Pixel
    Monitor-Aktualisierungsrate: 59 Hz
    Anbieterkennung: 0x10de
    Gerätekennung: 0x5e2
    Anzahl der Monitore: 2
    Anzahl der logischen Grafikkarten: 2
    Prim. Anzeigeauflösung: 1680 x 1050
    Desktop-Auflösung: 2960 x 1050
    Prim. Anzeigegröße: 47,4 cm x 29,6 cm (55,8 cm diag.)

    Primärer Bus: PCI Express 16x
    Primärer VRAM: 896 MB
    Unterstützte MSAA-Modi: 2x 4x 8x 16x 

Soundkarte:
    Audiogerät: VIA VT1708S

Speicher:
    RAM: 3953 MB

Weitere Daten:
    UI-Sprache: Deutsch (Deutsch)
    LANG:  de_DE.UTF-8
    Mikrofon: Not set
    Verfügbarer Festplattenspeicher insgesamt: 928699 MB
    Größter freier Festplattenspeicherblock: 54232 MB

Installierte Software:

Neueste Fehlerberichte:
Eeagleflo 2013-01-29 github

Other games affected: X3: Reunion, Faster Than Light, Crusader Kings II.

MMrSchism 2013-01-29 github

It all stems from the same issue.

Bbdeen-valve maintainer 2013-01-29 github

These are Game issues, not Steam.

X3: Reunion, Crusader Kings II, FTL: Missing Linux Icons in it's configuration. They should add those. Feel free to contact the developers of those games and ask them to upload the Linux Icons for their game on the partner site.

Half-Life (Beta) can choose to fix this for themselves as well. Same fix.

Qquaec 2013-01-29 github

Thanks for the reply. I will contact the FTL guys.

Could you forward the fix for the HL1/CS icon to the appropriate teams since you're working for Valve? Or should I write somewhere too?

Jjohndrinkwater 2013-01-29 github

@alfred-valve is already assigned for HL1/CS, so he’ll know :)
I guess i’ll contact the other studios.

Qquaec 2013-01-29 github

@johndrinkwater Ok, thanks.

Maybe we could use this ticket to keep track of which icons are missing and if we have already contacted the developers, so that we don't spam them with the same requests.

Please copy this list if you have any new information.

Affected games:

  • Faster than Light
    • fixed
  • HL1
    • fixed
  • CS
    • fixed
  • X3: Reunion
    • fixed
  • Crusader Kings II
    • contacted, waiting for fix
Jjohndrinkwater 2013-01-29 github

ck2 support ticket is in, i’m just writing the X3 forum comment now.
Braid is not on the currently supported list, so i’m going to ignore that for now.

Jjohndrinkwater 2013-01-29 github

Remaining games with missing icons:

  • Dwarfs!?
  • Hacker Evolution Duality
  • iBomber Attack (& demo)
  • iBomber Defense Pacific Demo
  • Penumbra: Black Plague
  • Penumbra: Overture
  • Penumbra: Requiem
  • Psychonauts
  • Spectraball
  • The Clockwork Man: The Hidden World Demo
  • The Polynomial (& demo)
  • Tiny and Big: Grandpa's Leftovers (+Demo)
  • Trine 2
  • Unity of Command (& demo)
Jjohndrinkwater 2013-01-29 github

Looks like I missed Team Fortress 2 Beta as well from that list.

Jjohndrinkwater 2013-01-30 github

@quaec yes, I updated it with the X3 + FTL changes earlier.

Qquaec 2013-01-30 github

@johndrinkwater Ah, ok. I wasn't sure if I remembered right that I didn't mark them as fixed. ;)

So did you contact other devs besides ck2 and X3? Because if not, I would send them an email.

Jjohndrinkwater 2013-02-06 github

Sorry, yes I had emailed some on the list, doing a few more now as well as some extras added since.

Bbdeen-valve maintainer 2013-02-06 github

pushed the icons for CS and CS:Source.

Bbdeen-valve maintainer 2013-02-06 github

...and now HL is fixed.

Jjohndrinkwater 2013-02-06 github

KF + RO just pushed theirs.

Jjohndrinkwater 2013-02-14 github

Removed a few games that have updated over the past week, seems there are some new ones to add aswell (Bastion for one, will contact)

Sscottlu 2013-02-19 github

John thanks for making this list, and for contacting these folks - awesome.

I'll also forward the list to people here who can ping these developers.

Sscottlu 2013-02-19 github

John what is the current list that you know of with this problem?

Jjohndrinkwater 2013-02-19 github

List as of today is,

Team Fortress 2 Beta
Bastion
Beat Hazard
Crusader Kings II
Dwarfs F2P
Dwarfs!?
Faerie Solitaire
Gear Up
Hacker Evolution Duality
Intrusion 2
Intrusion 2 Demo
Killing Floor
Lume
Magical Diary
Magical Diary Demo
Penumbra: Black Plague
Penumbra: Overture
Penumbra: Requiem
Psychonauts
Shank 2
Solar 2 - Demo
Spectraball
The Clockwork Man: The Hidden World Demo
The Polynomial
The Polynomial - Demo
Tiny and Big: Grandpa's Leftovers
Tiny and Big: Grandpa's Leftovers Demo
Trine 2
Unity of Command
Unity of Command Demo
iBomber Attack
iBomber Defense Pacific Demo

Sscottlu 2013-02-19 github

Thanks.

Jjohndrinkwater 2013-03-13 github

DoD’s icon being added reminded me, CS:CZ is missing one :)

Aalfred-valve maintainer 2013-03-13 github

CS:CZ will be fixed shortly, thanks for the reminder

LLinAGKar 2013-04-05 github

Right now CS:CZ uses DoDs icon.
Also Team Fortress 2 Beta, The Polynomial and Kerbal Space Program are missing icons.

Iilcontegis 2013-06-04 github

Any update on this?

I'd like to add "Legend of Grimlock" to the list.

Is this fixable? Thanks

Jjohndrinkwater 2013-06-07 github

Certainly fixable, but it requires contacting the game developers, i’ll recheck and update the list - its changed since.

MMikeTheWordsmif 2013-07-03 github

Adding:

  • Left for Dead 2 (Beta)
  • Little Inferno
Jjohnnynoone 2013-10-04 github

Bastion still doesn't have it. My custom .desktop file looks like this:

#!/usr/bin/env xdg-open
[Desktop Entry]
Name=Bastion
Comment=Play this game on Steam
Exec=steam steam://rungameid/107100
# icon is in ~/.local/share/Steam/SteamApps/common/Bastion/Linux/Bastion.png
# move it to proper icons folder
Icon=bastion
Terminal=false
Type=Application
Categories=Game;
Keywords=Steam;
Ccjwijtmans 2013-10-21 github

ittle dew
knights of pen and paper
dota2
natural selection2
waking mars
ticket to ride
toki tori
left for dead 2

Ppanzi 2014-02-28 github
  • Osmos, includes a png ~/.local/share/Steam/SteamApps/common/Osmos/Icons/64x64.png
  • Portal 2 (Beta), only has an ico ~/.local/share/Steam/SteamApps/common/Portal 2/portal2.ico but I extracted the biggest version and saved it as png
Jjohnnynoone 2014-03-01 github

@panzi Portal 2 is a Valve game, so you can open a bug here: https://github.com/ValveSoftware/portal2/issues/new :)

Ppanzi 2014-03-01 github
EEamourinho 2014-09-23 github

These games have the issue as well if there is an ongoing list:
Sid Mier's Civilization V
Fistful of Frags
Robocraft
Starbound
Wasteland 1
You Have to Win the Game

Will contact the devs to see if they will fix.

Cclentfort 2014-10-18 github

Borderlands The Pre-Sequel is missing is icon too.

Eeagleflo 2014-12-23 github

Transistor and Trine are missing their icons as well.

Rrudmint 2015-01-11 github

ahem... a friend told me Hatoful Boyfriend has this issue...

Eeagleflo 2015-05-08 github

Grim Fandango: Remastered is missing its icon.

MMrSchism 2015-05-08 github

Send an email to the studio and let them know, @eagleflo

Eeagleflo 2015-05-08 github

I don't have any contacts at Double Fine and don't know how to describe the fix to the issue. All I could do is link here. I've assumed Valve is in direct contact with the devs responsible for Linux builds.

Maybe this is something Valve should be addressing via documentation, seeing as it is a very common omission for studios to make?

PPlaque-fcc 2015-05-09 github
Hi! 

Steam Forums is the proper place for that. Or you may want to visit their website and leave your feedback there. I guess.

9 мая 2015 г. 0:05:22 EET, Aku Kotkavuo [email protected] пишет:

I don't have any contacts at Double Fine and don't know how to describe
the fix to the issue. All I could do is link here. I've assumed Valve
is in direct contact with the devs responsible for Linux builds.

Maybe this is something Valve should be addressing via documentation,
seeing as it is a very common omission for studios to make?


Reply to this email directly or view it on GitHub:
https://github.com/ValveSoftware/steam-for-linux/issues/989#issuecomment-100366387

Простите за краткость, создано в K-9 Mail.

CCheeseness 2015-05-09 github

I have contacts at Double Fine and have reached out to see if we can get this looked into for Pnauts, Grim, CQ, CQ2 and Stacking (and BL if that has the same problem - I don't have that installed at the moment to check).

MMrSchism 2015-05-11 github

Double Fine can be contacted at: [email protected] (for future reference)

CCheeseness 2015-05-12 github

I got an email back from Greg Rice at Double Fine a couple of days ago saying it would be looked into. As soon as I hear confirmation that it has been, I'll report back.

VViBE-HU 2016-03-20 github

cool but how many years it take to fix the icons finally?

Pprcastro 2017-01-10 github

I still believe this issue affects a important percentage of Linux games on Steam

Kkisak-valve maintainer 2017-03-30 github

Closing as there is no centralized solution for this.

Please contact individual game devs for each missing icon on a per-game basis.

?ghost 2018-04-28 github

Tad late to this discussion but this is a lack of icons being readied for GNU+Linux, as well as a malformed .desktop file. You can usually find a game's icon in it's folder, like for instance:
.local/share/Steam/steamapps/common/Bastion/

Valve, simply having the information on creating .desktop files amongst the developer information for GNU+Linux game devs would be a great place to start. I have found that aside from the missing .png images in .local/share/icons/hicolor/, the icon line is incomplete as you can see below. It's really very simple. I am posting this now, 04/27/2018 because this is still an issue that should have been resolved years ago. This is also not just Ubuntu but every distribution that I have used and that's a whole lot.

[Desktop Entry]
Name=Bastion
Comment=Play this game on Steam
Exec=steam steam://rungameid/107100
Icon=steam <= This should read Icon=steam_icon_107100 The .png extension is not needed.
Terminal=false
Type=Application
Categories=Game;

I hope this helps. If it does not get resolved, find the .png or .bmp image for your game in it's folder. If it is already a .png, rename it to the appropriate steam_icon_game-ID as shown above, and paste it into the appropriate hicolor icon directories and then use GIMP to resize as needed per directory size specification. If it is a .bmp, just use GIMP to export it as a .png and follow the above directions.

For instance, the properly named bastion icon would be in these hicolor icon directories in your home folder.

.local/share/icons/hicolor/256x256/apps/steam_icon_107100.png
.local/share/icons/hicolor/128x128/apps/steam_icon_107100.png
.local/share/icons/hicolor/96x96/apps/steam_icon_107100.png
.local/share/icons/hicolor/80x80/apps/steam_icon_107100.png
.local/share/icons/hicolor/72x72/apps/steam_icon_107100.png
.local/share/icons/hicolor/64x64/apps/steam_icon_107100.png
.local/share/icons/hicolor/56x56/apps/steam_icon_107100.png
.local/share/icons/hicolor/48x48/apps/steam_icon_107100.png
.local/share/icons/hicolor/32x32/apps/steam_icon_107100.png

I am sure you get the point. =)

PPlagman 2018-06-05 github

Yes, the problem was that we didn't have .pngs to put in there because the developer never specified Linux icon files, only a Windows icon. The next Beta will include a systemic fix for this that will let the Linux client fall back to Windows icons and convert them appropriately; games will have to be reinstalled and the shortcuts recreated for the proper icon to get redownloaded, unfortunately.

OOaklight 2022-06-08 github

wrong icon for Ancestors: The Humankind Odyssey