Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong icons for some games in .desktop files #989

Closed
quaec opened this issue Jan 28, 2013 · 48 comments
Closed

Wrong icons for some games in .desktop files #989

quaec opened this issue Jan 28, 2013 · 48 comments

Comments

@quaec
Copy link

quaec commented Jan 28, 2013

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:
@eagleflo
Copy link

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

@MrSchism
Copy link
Member

It all stems from the same issue.

@ghost ghost assigned alfred-valve Jan 29, 2013
@bdeen-valve
Copy link

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.

@quaec
Copy link
Author

quaec commented Jan 29, 2013

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?

@johndrinkwater
Copy link
Contributor

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

@quaec
Copy link
Author

quaec commented Jan 29, 2013

@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

@johndrinkwater
Copy link
Contributor

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.

@johndrinkwater
Copy link
Contributor

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)

@johndrinkwater
Copy link
Contributor

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

@johndrinkwater
Copy link
Contributor

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

@quaec
Copy link
Author

quaec commented Jan 30, 2013

@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.

@johndrinkwater
Copy link
Contributor

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

@bdeen-valve
Copy link

pushed the icons for CS and CS:Source.

@bdeen-valve
Copy link

...and now HL is fixed.

@johndrinkwater
Copy link
Contributor

KF + RO just pushed theirs.

@johndrinkwater
Copy link
Contributor

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)

@scottlu
Copy link

scottlu commented Feb 19, 2013

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.

@scottlu
Copy link

scottlu commented Feb 19, 2013

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

@johndrinkwater
Copy link
Contributor

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

@scottlu
Copy link

scottlu commented Feb 19, 2013

Thanks.

@johndrinkwater
Copy link
Contributor

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

@cjwijtmans
Copy link

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

@panzi
Copy link
Contributor

panzi commented Feb 28, 2014

  • 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

@johnnynoone
Copy link

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

@panzi
Copy link
Contributor

panzi commented Mar 1, 2014

@johnnynoone done. see: ValveSoftware/portal2#124

@Eamourinho
Copy link

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.

@clentfort
Copy link

Borderlands The Pre-Sequel is missing is icon too.

@eagleflo
Copy link

Transistor and Trine are missing their icons as well.

@rudmint
Copy link

rudmint commented Jan 11, 2015

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

@eagleflo
Copy link

eagleflo commented May 8, 2015

Grim Fandango: Remastered is missing its icon.

@MrSchism
Copy link
Member

MrSchism commented May 8, 2015

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

@eagleflo
Copy link

eagleflo commented May 8, 2015

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?

@Plaque-fcc
Copy link

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 notifications@github.com пишет:

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:
#989 (comment)

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

@Cheeseness
Copy link

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).

@MrSchism
Copy link
Member

Double Fine can be contacted at: support@doublefine.com (for future reference)

@Cheeseness
Copy link

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.

@ViBE-HU
Copy link

ViBE-HU commented Mar 20, 2016

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

@prcastro
Copy link

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

@kisak-valve
Copy link
Member

Closing as there is no centralized solution for this.

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

@ghost
Copy link

ghost commented Apr 28, 2018

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. =)

@Plagman
Copy link
Member

Plagman commented Jun 5, 2018

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.

@Plagman Plagman added this to the Next Release milestone Jun 5, 2018
@Oaklight
Copy link

Oaklight commented Jun 8, 2022

wrong icon for Ancestors: The Humankind Odyssey

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests