如何禁用gnome-shell的通知区域?

我想在gnome-shell中禁用通知区域,因为它会导致我的计算机出现很多图形故障。 我使用tint2作为我的系统托盘。 有没有办法做到这一点?

我不确定会有什么副作用,如果有的话,但这是一种方法:

sudo gedit /usr/share/gnome-shell/js/ui/main.js 

找到以下行(217对我来说):

 notificationDaemon = new NotificationDaemon.NotificationDaemon(); 

评论出来:

 //notificationDaemon = new NotificationDaemon.NotificationDaemon(); 

保存文件,按Alt-F2并输入r以重新加载GNOME Shell。 托盘现在应该消失了

如果您正在使用Gnome 3.2,那么您可能会在http://extensions.gnome.org找到有用的东西

https://extensions.gnome.org/extension/99/evial​​-status-icon-forerver/