puplet 总是提醒我何时运行“yum update”,这很好,但我不得不单击小 x 来关闭对话框。有没有键盘快捷键或命令可以帮我关闭它?我在 RHEL5 上运行 GNOME 2.16.0。以下是屏幕截图:
答案1
添加超时意味着我不必忽略 puplet 消息:
[root@beamish ~]# diff -u /usr/bin/puplet.orig /usr/bin/puplet
--- /usr/bin/puplet.orig 2010-01-07 00:39:09.000000000 -0500
+++ /usr/bin/puplet 2010-07-01 17:06:17.000000000 -0400
@@ -232,7 +232,7 @@
return len(upds.keys())
def _showNotify(self, notify, urgency = pynotify.URGENCY_NORMAL,
- timeout = 0):
+ timeout = 1000):
if self.notify is not None:
self.notify.close()
notify.attach_to_status_icon(self.trayicon)
[root@beamish ~]#