this post was submitted on 07 Mar 2026
34 points (97.2% liked)
Linux Gaming
25297 readers
69 users here now
Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.
This page can be subscribed to via RSS.
Original /r/linux_gaming pengwing by uoou.
No memes/shitposts/low-effort posts, please.
Resources
Help:
- ProtonDB
- Are We Anticheat Yet?
- r/linux_gaming FAQ
- Fork of an earlier version of the above
- PCGamingWiki
- LibreGameWiki
Launchers/Game Library Managers:
General:
Discord:
IRC:
Matrix:
Telegram:
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That's been an issue since at least 2018, supposedly due to the lack of icoutils integration.
You're stuck using workarounds as far as I know, but I haven't used Lutris in a while. Heroic took over from Lutris for me.
i did try Heroic recently but i just found it too Clunky for me to use in the Sense of its UI sadly :(
Also i dont like using Electron really >.>
Do you by chance know of some Workaround that is maybe even automated to a degree? :0
Best Thing i found so far is editing the .desktop File and extracting the icon from its exe using icoutils which is kinda combersume and annoying to do manually :P
I'm not a fan of electron either but the sad truth of the matter is that I could not get Lutris to do what Heroic did do for me without issue. Lutris might need more developers to integrate icoutils in a way which could help you and others, but it doesn't seem like anyone is in a hurry to code that together right now.
You could write a bash script to do the actions you're now doing manually? Bash is not too difficult to learn. Most of the syntax is human-readable and there are plenty of resources to go around to help you learn the basics.
If you don't want to do it manually, make a script to do it. :) Create a text file named something like
fix-icon.sh, put it somewhere that's on your $PATH like /usr/local/bin (with sudo) or ~/bin (if that's on your path):Then
chmod u+x /path/to/fix-icon.shand dofix-icon.sh /path/to/whatever.desktopShould do the trick in most cases. I used some advanced magic in some of the variables to make it hopefully not fail for you if it runs into weird issues, but it doesn't actually need to be that complicated usually I just wanted to make sure it could handle some weird formats pretty safely. You can easily loop it on all .desktop files in a path if you want:for DESKTOP_FILE in *.desktop; do fix-icon.sh "${DESKTOP_FILE}"; doneI love bash. :) python, coreutils, grep should be on pretty much any system by default. But you will need imagemagick, and icoutils installed for it to work.
Let me know if you have any trouble with it. I tested it on my system and it seems fine but I don't have any lutris desktop files so I can't test it properly. Good luck!