Icon disappears after updating to Ubuntu 15.04

Asked by Nathan Schneider

While I was in the process of upgrading to Ubuntu 15.04 (after download, before restart), the icon for the brightness indicator disappeared. Now there is a gray box with a red, crossed-out circle in the middle. I tried to uninstall the indicator and then reinstall, but it didn't help. Any idea what is wrong? Thanks so much for this very helpful tool!

Question information

Language:
English Edit question
Status:
Solved
For:
indicator-brightness Edit question
Assignee:
No assignee Edit question
Solved by:
Nathan Schneider
Solved:
Last query:
Last reply:
Revision history for this message
Gilbert Dion (diong) said :
#1

I have the same problem: the icon is no logner showing. Instead,there is that box with the crossed-out circle. Hope there will be a update.

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
stevenswall (stevenswall) said :
#3

[FIXED] Workaround:

1. Ctrl+Alt+T
2. "sudo cp -R /usr/share/notify-osd/icons/Humanity/ /usr/share/notify-osd/icons/gnome/"
3. Kill and restart the application, or log out and log back in.

Explanation:

brightness-indicator Python executable "/opt/extras.ubuntu.com/indicator-brightness"
Brightness indicator .desktop file "extras-indicator-brightness.desktop"
Both of these refer to "/usr/share/notify-osd/icons/gnome/scalable/status/notification-display-brightness-full.svg" which no longer exists as the /gnome icon folder is not present. The workaround simply copies the entire /Humanity icon directory for app indicators to a /gnome folder, where both the dash icon and indicator icons will now be found as expected.

Revision history for this message
Nathan Schneider (ntnsndr) said :
#4

Thanks for this @stevenswall. Unfortunately, though, this didn't work for me. Any other ideas?

Revision history for this message
stevenswall (stevenswall) said :
#5

Nathan Schneider: Locate your python executable and the .desktop file for the brightness indicator... Then look at line 126 and Icon= respectively to determine what they are pointing to for the icon.

Place the icon where it needs to go and the problem should be fixed. In my case, it was a brand new install of Ubuntu 15.04 with the indicator added through the PPA. Both of my files pointed to an icon in a gnome directory instead of the Humanity icons directory, so the command above fixes it by duplicating and renaming the Humanity directory to gnome.

Revision history for this message
Nathan Schneider (ntnsndr) said :
#6

Okay, great, thanks for your help! Yeah, since the icon location has to be specified there, I needed to make sure to move a copy of the file into the proper directory. All set!

Revision history for this message
Gilbert Dion (diong) said :
#7

Does that mean that anyone who migrated to 15.04 will have to apply this workaround or there will be an update with a fix?

Revision history for this message
Artem Korzhenevskiy (azurlay) said :
#8

Symbloic link also works as a workaround:
sudo ln -s /usr/share/notify-osd/icons/Humanity /usr/share/notify-osd/icons/gnome

Revision history for this message
Howard Fu (howard-fu) said :
#9

Hi, @stevenswall :p
I'm try, but the computer says, "can not stat '/usr/share/notify-osd/icons/Humanity': no such directory."
what should I do?