lbr*_*aun 16 notification unity 12.04
我当然喜欢 12.04 中的通知,但根据我所做的工作,它们可能会让人分心。
是否有官方方法或调整来暂时停用通知?
更新:为了澄清,我正在寻找一种在 Unity 中做到这一点的方法。
这就是我实现它的方式
创建一个名为 sh 文件stopNotification.sh
并粘贴这一行
killall -s SIGSTOP notify-osd
Run Code Online (Sandbox Code Playgroud)
创建另一个 sh 文件continueNotification.sh
并粘贴以下行
killall -s SIGCONT notify-osd
Run Code Online (Sandbox Code Playgroud)
然后转到system settings
>keyboard
并为其分配快捷方式。
简单的 :)
我不相信有官方的方法,但在终端中禁用它很容易(用于演示等):
sudo chmod 000 /usr/lib/notify-osd/notify-osd
killall notify-osd
Run Code Online (Sandbox Code Playgroud)
之后,只需chmod
返回 755,通知就会恢复。
相关: http: //brainstorm.ubuntu.com/idea/25512/