1.下载indicatorStatusIcon.js
2.(需root权限)备份 ‘/usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/’ 中的indicatorStatusIcon.js并用下载的的文件覆盖。

sudo cp /usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/indicatorStatusIcon.js /usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/indicatorStatusIcon.js.bak
#path/to/your/downloadfile更改为下载路径
sudo cp -r path/to/your/downloadfile/indicatorStatusIcon.js /usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com

3.Alt+F2,输入r回车重启Gnome桌面即可