4

是否可以启用有关外壳进程完成的桌面通知?只有当我在不同的桌面上并且处理时间超过 x 秒时,我才会收到通知。更确切地说:

我想为我在终端中运行的每个进程执行此操作,例如运行规范、编译、部署。我用侏儒。

4

1 回答 1

6

似乎有几种工具,哪个最好取决于您的桌面环境和正在使用的通知守护程序。甚至还有一个库 (libnotify) 可以用来编写您自己的工具。简短的回答:是的,这是可能的。

notify-send "This message will be displayed for 3 seconds" -t 3000

gmessage -center -nofocus -font 'Sans Bold 48' "Laundry Done"

zenity --warning --text="Laundry Done!"

kdialog --passivepopup "Laundry Done!"
于 2012-04-11T13:26:30.613 回答