ect*_*yte 7 gnome ati 11.10 notification-area
我想禁用 gnome-shell 中的通知区域,因为它会导致我的计算机出现大量图形故障。我使用 tint2 作为我的系统托盘。有没有办法做到这一点?
我不确定这会产生什么副作用(如果有的话),但这是一种方法:
sudo gedit /usr/share/gnome-shell/js/ui/main.js
Run Code Online (Sandbox Code Playgroud)
找到以下行(对我来说是 217):
notificationDaemon = new NotificationDaemon.NotificationDaemon();
Run Code Online (Sandbox Code Playgroud)
注释掉它:
//notificationDaemon = new NotificationDaemon.NotificationDaemon();
Run Code Online (Sandbox Code Playgroud)
保存文件,按 Alt-F2 并输入r以重新加载 GNOME Shell。托盘现在应该消失了
如果您使用的是 Gnome 3.2,那么您可能会在http://extensions.gnome.org上找到一些有用的东西
例如
https://extensions.gnome.org/extension/99/evia-status-icon-forerver/
| 归档时间: |
|
| 查看次数: |
5956 次 |
| 最近记录: |