This method replaces the Activities button text with an image, which switches to a second image when overview is activated. It's a simple trick but I couldn't find any posts/extensions that provided this exact feature, so I thought I'd post it here. I use a Fedora logo as the normal icon and the Gnome foot logo as the alternate. Screenshots are provided at the bottom of the post, under "Attached Thumbnails".
This works for Fedora 18/Gnome 3.6.
Hope someone finds this useful. I find it nice to credit both Fedora and Gnome by integrating their brands with the desktop. To me it makes the distro feel "complete". :)
This works for Fedora 18/Gnome 3.6.
- in /usr/share/gnome-shell/js/ui/panel.js, find this line: Code:
this._label = new St.Label({ text: _("Activities") });
- replace the word Activities with four spaces, like this: Code:
this._label = new St.Label({ text: _(" ") });
- in /usr/share/gnome-shell/theme/gnome-shell.css, add this code to the bottom of the file: Code:
#panelActivities{
background-image: url("fedora-logo.png");
background-position:center top;
}
#panelActivities:focus,
#panelActivities:overview,
#panelActivities:active{
background-image: url("gnome-logo.png")
}
- copy fedora-logo.png and gnome-logo.png (you can find both images below, under "attached images"; they're nearly invisible but they're there) to /usr/share/gnome-shell/theme
- reload gnome-shell (hit alt+f2, type r, hit enter)
Hope someone finds this useful. I find it nice to credit both Fedora and Gnome by integrating their brands with the desktop. To me it makes the distro feel "complete". :)