4

The icon I'm talking about is the one on the panel that looks like a gear. Its menu includes a power button, Shut down, Suspend, Logout and all that.

enter image description here

It's the default icon and to be perfectly frank... I absolutely hate it, but I can't change it without messing with the entire panel (Ubuntu-Mono-dark which I LOVE).

How can you change that icon, and that icon only?

Jacob Vlijm
  • 82,471
  • 12
  • 195
  • 299
  • Hi @KheangHeng if the answer solved your problem, as you indicated, would you be so kind to accept the answer (tick the big "V" below the up/down arrows on the left). It is the appropriate way to indicate the answer worked for you. – Jacob Vlijm Jan 02 '17 at 17:39

1 Answers1

3

At least on 16.04 and 16.10, the icon is located:

/usr/share/icons/ubuntu-mono-dark/status/22/system-devices-panel.svg

enter image description here

As you can see, to test, I replaced it with an owncloud icon :)

enter image description here

Notes

  1. No need yo say that your new icons need to be of the same type (.svg)
  2. To edit/replace fioes in /usr you need administrator`s permissions. After backing up the old icons, simply run the command (from a terminal):

    sudo cp /path/to/new/icon.svg  /usr/share/icons/ubuntu-mono-dark/status/22/system-devices-panel.svg
    
  3. You might also want to replace:

    /usr/share/icons/ubuntu-mono-dark/status/22/system-devices-panel-alert.svg
    

    and

    /usr/share/icons/ubuntu-mono-dark/status/22/system-devices-panel-information.svg
    

    ...to make a matching set in case there would be a change in state for some reason.

Jacob Vlijm
  • 82,471
  • 12
  • 195
  • 299
  • I can't seem to rename/delete or copy files to /usr/share/icons/ubuntu-mono-dark/status/22/. Why is that? – Kheang Heng Jan 01 '17 at 15:58
  • @KheangHeng Are you using `sudo`? How did you try? In any way, make sure to back ip the original ones! – Jacob Vlijm Jan 01 '17 at 16:00
  • Alright I did it, turns out you need to use gksu nautilus in terminal to edit those files. Thank you! – Kheang Heng Jan 01 '17 at 16:09
  • Hi @KheangHeng *if* the answer solved your problem, as you indicated, would you be so kind to accept the answer (tick the big "V" below the up/down arrows on the left). It is the appropriate way to indicate the answer worked for you. – Jacob Vlijm Jan 01 '17 at 16:12