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?

3
  • I don't believe there is a way to do this (also, I prefer setsid unity over unity replace). Aug 5, 2012 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, 2012 at 12:50
  • Since this is a programming question, perhaps ask over at StackOverflow?
    – Ken Kinder
    Jan 18, 2013 at 21:34

0

You must log in to answer this question.

Browse other questions tagged .