Menu
There are times I have created a shortcut for a Steam application only to witness it appear on the desktop with the default Steam icon. When the shortcut is subsequently placed in the Applications folder it looks rather unappealing while using Launchpad. This is a guide to fix it so that the icon that ships with the game is used for the shortcut instead. Hopefully it proves useful (sticky?) but admittedly would be entirely unnecessary if Steam took a look into the issue and corrected it on that side.
![]()
Get into on your icon file (open it for example with Preview ). Check out Fasticns - drop your artwork onto it. You need a proper.icns file to do this. Developing an application for Mac OS, sooner or later you'll want to add an icon to it. And Mac OS uses Apple's own format for application icons - Apple Icon Image format - files with.icns extension. But how does one create such a file? It is actually not so hard, but there are some tricky moments. I'll cover those and as a bonus I'll show you how to use.icns icon in Qt-based application.
Quick MethodAfter locating the game application with the correct icon, right click on it and then on Get Info. Find the shortcut (probably on the desktop) that needs fixed, right click on it and then on Get Info. Click on the large representation of the correct game icon, located under the Preview subheading of the Get Info window, and drag it over the small Steam icon represented at the top of the Get Info window for the shortcut.
It will now be corrected and the shortcut can be placed in the Application folder for it to appear in Launchpad. In-depthOnce located right click on game application file with the correct icon and then on Show Package Contents (known here after as window A). Do this also with the shortcut that needs fixed (known here after as window B). Set up the two windows to appear side by side.In window A, double click on the Contents folder, then on the Resources folder. Inside you will find a file with the correct game icon, right click on it and click Copy. In window B, navigate to the Resources folder like above.
![]()
Once inside delete the file found there and then paste the item previously copied to the clipboard. Note the file name of the pasted item. Still in window B, backtrack to the parent folder (Contents) and then double click on the Info.plist file found there. If you have Xcode installed a plist editor will launch but if not you can open it like a text file. Read the appropriate section below and then the concluding paragraph.XcodeFind the entry for Icon file on the window that appears.
As you see the name entered points to something like shortcut.icns. Change this to the name of the icon file you recently pasted into the Resources folder above. Save and quit.Text fileLocate the line CFBundleIconFile it should be near the top. The line the comes after it needs altered but only alter the text between the tags.
Change this to the name of the icon file you recently pasted into the Resources folder above. Save and quit.Right click on the shortcut file and then on Get Info.
In window B navigate to the Resources folder and then drag the file found there to the icon space adjacent to the name of the game (it is just above Spotlight Comments but below the title bar of the window). You will now see the correct game icon displayed and with the shortcut fixed it can be place into the Applications folder for use in Launchpad. The User Story:I have now run into this problem multiple times. When trying to edit steam icons as well as custom app icons on my os. I tried the usual methods. That is the1. Copy the icon you want to use to the Clipboard.2.
![]()
Select the file or folder whose icon you want to replace, then choose File Get Info.3. At the top of the Info window, click the picture of the icon, then choose Edit Paste.But, as I am sure many of you that have found this forum have found this either does not work at all or only workssome of the time.Anecdote as the why:So what gives?This is conjecture, but I assume that since the new Apple devices require a range of sizes for a given image formatted to Apple's specs. They no longer accept images/icons that do not match said specs.
I hoped on the developer docs to see if I could easily find so docs for y'all but I couldn't find anything easily. Sorry, I'm lazy.So without further a due. This is the simple hacky solution that I have now used multiple times.The Solution:1. Sang you favorite icon image2. Navigate to an icon converter site.
I have been using.3. Download the.icns file package.4. Rename the gnarly numeric name to something cool like smite.icns5.
Now do the tried and true.6. Go to app/file/folder (Whatever)7. Choose File Get Info.8. At the top of the Info window, click the picture of the icon, then choose Edit Paste.or, drag and drop or keyboard shortcuts ctrl+c the ctrl+vClosing Thoughts:I personally would prefer to not have to use some site to convert the icons to the proper format. I am sure there is a way to do it either through some app in the app store.
But if someone knows how to convert and package the icons locally like does please reply or link me so I can learn.Hope this helps. Since I am normally the one scouring for solutions. Maybe I can give back this time.
![]() Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |