2

I have written a program that runs from the unity launcher. In my preferences it would be useful for users to change the default icon of the .desktop launcher. I've set it up to change the file, but changes don't take effect until the user logs out and back in (or unity --replace).

Is there a simple way to trigger Unity to refresh its icons using python?

  • I don't believe there is a way to do this (also, I prefer setsid unity over unity replace). – RobotHumans Aug 5 '12 at 23:09
  • So far the only way I've found to do it is to remove the launcher from the launcher favorite list and then re-add it. Unfortunately, removing the item also closes the program if it's open. – Ian B. Aug 7 '12 at 12:50
  • Since this is a programming question, perhaps ask over at StackOverflow? – Ken Kinder Jan 18 '13 at 21:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.