让xfce的面板可以提示新邮件.

OS:debian7(wheezy) xfce.

工作需要随时开着thunderbird来占据一个窗口,有时候觉得不方便需要关掉,又怕错过重要邮件,这里我们使用xfce4-mailwatch 来解决

默认已经安装好了thunderbird,查看thunderbird的命令所在

#type thunderbird

/usr/bin/thunderbird

安装xfce-mailwatch

#apt-get install xfce4-mailwatch-plugin

然后在面板上添加Add New Items 加 Mail Watcher



点属性进行配置,在下面External Programs 

里面

Run on Click: 填thunderbird

Run on New Messages:填 notify-send "New Mail" "You have new messages in your inbox " -i xfce-newmail


close掉后就可以了。




如果没有提示, 检查下是否装了libnotify-bin, 这个就是notify-send命令

#apt-get install libnotify-bin



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值