如何配置Gnome Shell通知设置?
我找不到可以更改Gnome Shell通知设置的位置。 我点击了通知上显示“不再显示”(或类似的东西)标签的按钮,现在当该通知出现时,它永远不会消失,直到我点击它。
Gnome Shell通知的配置窗口在哪里?
目前还没有办法轻松配置gnome-shell通知。 您可以禁用它们或将它们配置为超时。
dconf-editor允许您配置一些设置
sudo apt-get install dconf-editor dconf-editor
您还可以修改notify-send
以便消息是瞬态的。
# Move the current script to a backup location sudo mv /usr/bin/notify-send /usr/bin/notify-send.bak
现在,使用gedit创建一个新的包装器脚本
gksu gedit /usr/bin/notify-send
将其复制粘贴到该文件中
#!/bin/bash /usr/bin/notify-send --hint int:transient:1 "$@"
保存脚本,退出gedit,并使其可执行
sudo chmod a+x /usr/bin/notify-send
另请参阅此论坛post以获取其他建议。