Monday 19 October 2015

Icon Changing in El Capitan

I have a couple of automator actions that I use to wrap up a command line.  Specifically I use:

'...<path to binary>Firefox.app/Contents/MacOS/firefox-bin' -P JR02 -no-remote >/dev/null 2>&1 &

as a shell script to fire up firefox automatically using another profile. 

When I copied this action across to El Capitan, the icon didn't migrate.  This is what I needed to do to change the icon back to a copy of the firefox icon.


  1. Find the original Firefox application and then right click and 'Get Info'
  2. At the top left of the Info window is the icon.  Click on this (it will then have a blue border around it) and press CMD-C to copy the icon.  You can't right click.
  3. Right click on the new copy and 'Get Info'.  Click on the same place on the window, but  press CMD-V to paste the new icon in.




  4. Now close the Get info windows.  You'll notice that the icon hasn't changed.  At this point it would have under Yosemite, so you need to fool the system.  You do this by just copying the icon and the new copy has the new icon in it.  I do this by pressing Alt/Option, clicking on the icon of the app and dragging it.  You'll see the green "+" showing a copy is being made and when you release, the copy will have the updated icon.  Now, just delete the original and rename the copy.


No comments:

Post a Comment