cra*_*zzz 8 notification xfce xubuntu
如何在 Xubuntu 11.10 上禁用所有弹出通知
我试过了: sudo apt-get remove notify-osd
这导致
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package notify-osd is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Run Code Online (Sandbox Code Playgroud)
Uri*_*era 15
显然删除是notify-osd行不通的,因为 Xubuntu 不使用它,它使用xfce4-notifyd.
因此,如果您想删除它们,请删除该包。
sudo apt-get remove xfce4-notifyd
Run Code Online (Sandbox Code Playgroud)
如果您只想禁用它们,请使用以下命令:
sudo mv /usr/share/dbus-1/services/org.xfce.xfce4-notifyd.Notifications.service /usr/share/dbus-1/services/org.xfce.xfce4-notifyd.Notifications.service.disabled
Run Code Online (Sandbox Code Playgroud)
要扭转这一点:
sudo mv /usr/share/dbus-1/services/org.xfce.xfce4-notifyd.Notifications.service.disabled /usr/share/dbus-1/services/org.xfce.xfce4-notifyd.Notifications.service
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
18533 次 |
| 最近记录: |