2012年10月15日星期一

Get redesigned message tray in 2 steps on Gnome 3.4

After reviewing the latest change from Gnome 3.6 release, I found the redesigned message tray is really a big improvement so that people like me can easily pick up contacts from the big icon!
Redesigned Message Tray from Gnome 3.6
If you're Gnome 3.4 users, you can get it by hacking 2 files:
Step 1: change the line #1203~#1208 of gnome-shell.css

$ sudo vi /usr/share/gnome-shell/theme/gnome-shell.css

#message-tray {
    background-gradient-direction: vertical;
    background-gradient-start: rgba(0,0,0,0.01);
    background-gradient-end: rgba(0,0,0,0.82);
    height: 50px;
}

Step 2: change the icon size on line #959 of messageTry.js

$ sudo /usr/share/gnome-shell/js/ui/messageTray.js
ICON_SIZE: 48,

Then reload the theme via input "r" in the prompt dialog by Alt+F2.