mate-notification-daemon stopping, Mate notifications timeout
Whenever I connect or disconnect my Bluetooth headphones or the power cable (probably also some other events), I get a popup window showing the notification text instead of a regular notification, which I need to close manually every time.
When Firefox wants to send a notification, the entire browser freezes for multiple seconds and then it shows something that looks like it might be Firefox's own implementation of notification, instead of using the system notifications.
When I try to open the notification settings in the Telegram messenger, the window freezes for a while and then the notifications settings appear without an option to "use native notifications".
When I execute
notify-send lalala
in a terminal, nothing happens for 50 seconds and then the command ends without having shown a notification or any console output.
When I press the "preview" button in the Mate notification settings (mate-notification-properties
or "Popup notifications" in system settings), I get one of the following error messages after the settings window froze for a similar amount of time:
Error while displaying notification: Error calling StartServiceByName for
org.freedesktop.Notifications: Timeout was reached
Error while displaying notification: Error calling StartServiceByName for
org.freedesktop.Notifications: Process org.freedesktop.Notifications exited with status 1
This all seems like the system tries to show a notification, doesn't manage to do so, but also doesn't throw an error until the timeout duration is reached, then gives some feedback back to the program that causes it to either use a fallback mechanism for notifications or do nothing at all.
I'm unsure whether this is something I've changed in the system or if an update caused this, both things often happened on my computer recently. I didn't do anything especially notification-related myself, but mate-notification-daemon
and libnotify
were updated a week ago. That seems to be roughly the time when notifications stopped working properly.
Googling the error messages and symptoms only gave some XFCE related answers, but I do not use XFCE.
After a while I noticed that mate-notification-daemon
was not running. Running it manually fixes the issue for a while, but it comes back after a few minutes. My "hacky" solution is currently to have the line
* * * * * /usr/lib/mate-notification-daemon/mate-notification-daemon -r
in crontab, but that doesn't fix the underlying issue and doesn't prevent freezes between the time when mate-notification-daemon
exits for unknown reasons and the next start of a minute. It also causes unnecessary work for the computer.
I'm using Manjaro 19.0.2 with Mate 1.24.0.
- Actually is seems like starting
mate-notification-daemon
manually only runs it for about 30 seconds, so even the workaround works in less than 50% of all cases. – Fabian Röling Mar 10 at 13:10 - I'm now using this as a workaround:
watch -n0 "/usr/lib/mate-notification-daemon/mate-notification-daemon -r"
That put into autostart should hopefully ensure that it runs all the time and never kills its previous instance, but I'm not sure. And it still removes notifications when the process exits. – Fabian Röling Mar 16 at 10:37
mate-notification-daemon stopping, Mate notifications timeout的更多相关文章
- Mysql Solution - Timeout error occurred trying to stop MySQL Daemon. Stopping MySQL: [FAILED] -
错误例如以下: Timeout error occurred trying to stop MySQL Daemon. Stopping mysqld: ...
- 〖Linux〗干掉Kubuntu烦人的软件升级提示“Update notification daemon”,Your should update ..
Kubuntu是很好使用,但是升级提示也是太烦人了,开机的时候总是显示如下画面: 使用System Load Indicator(sudo apt-get install indicator-mult ...
- 树莓派2 安装 win10Iot 和 Ubuntu mate
注册博客账号已经2年多了.一直没写博文现在抽空写写. 写这篇博文是因为我之前在网上找了蛮多有关教程写的都不是很清晰.安装没成功.所以我写一下我根据网上找到的整理一下分享出来. 非专业只是业余玩玩.好了 ...
- Ubuntu 用户安装 MATE
MATE 是经典桌面 Gnome 2 的分支,该桌面按照 Windows 用户操作习惯设计,适合于 Windows 转投 Linux 的初级用户,MATE 做了功能改进和新增功能.如:增加窗口管理 ...
- Mate Linux 桌面的什么受GNOME 2 粉丝喜欢 ?
导读 如果你以前听过这个传闻:当 GNOME3 第一次发布时,很多 GNOME 用户还没有准备好放弃 GNOME 2. Mate(以马黛茶yerba mate植物命名)项目的开始是为了延续 GNOME ...
- [转] How to dispatch a Redux action with a timeout?
How to dispatch a Redux action with a timeout? Q I have an action that updates notification state of ...
- 转 Dynamics CRM Alert and Notification JavaScript Methods
http://www.powerobjects.com/2015/09/23/dynamics-crm-alert-and-notification-javascript-methods/ Befor ...
- (转)Apple Push Notification Services in iOS 6 Tutorial: Part 1/2
转自:http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1 Upda ...
- Android Notification通知详细解释
Android Notification通知具体解释 Notification: (一).简单介绍: 显示在手机状态栏的通知. Notification所代表的是一种具有全局效果的通 ...
随机推荐
- [Fundamental of Power Electronics]-PART I-2.稳态变换器原理分析-2.1 引言
2.1 引言 在上一章中,介绍了降压变换器作为降低直流电压的一种方法,其仅使用非耗散开关,电感器和电容器.开关状态变换产生一个矩形波形\(v_{s}(t)\),如图2.1所示.当开关位于位置1时,该电 ...
- BUAA_OO_2020_第一单元总结
BUAA_OO_2020_第一单元总结 OO第一单元作业主题为表达式求导,主要学习目标为熟悉面向对象思想,学会使用类来管理数据,感受分工协作的行为设计,建立程序鲁棒性概念.如今,第一单元的学习已落下帷 ...
- 如何以源码形式运行Nacos Server
官方标准运行方式 下载解压可运行包 curl -O https://github.com/alibaba/nacos/releases/download/1.3.2/nacos-server-1.3. ...
- 详解DNS重绑定攻击
0x00 前言 DNS重绑定攻击的用法有很多种,这篇文章主要理解DNS重绑定攻击的原理,并介绍如何通过DNS重绑定来攻击内网设备.为了更好的理解DNS重绑定攻击,我们先从Web浏览器的同源策略开始介绍 ...
- Day02_13_Javadoc_生成帮助文档
JavaDoc 命令:javadoc -encoding UTF-8 -charset UTF-8 Doc.java 执行该命令后,会在java目录生成index.html打开就可以看到生成的文档了 ...
- Docker笔记(二) 安装常用软件
常用环境安装 这里收集一些常用环境的安装步骤,可直接复制进行使用,节省安装时间,后续会随时补充 安装MySQL5.7.32 下载mysql5.7.32的镜像 ( 记得下载镜像要先确保镜像仓库中存在这个 ...
- Android apk快速定位、灰色按钮克星--DroidSword
本文博客地址:https://blog.csdn.net/QQ1084283172/article/details/80994434 在进行Android应用程序的逆向分析时,经常需要对Android ...
- hdu5251最小矩形覆盖
题意(中问题直接粘吧)矩形面积 Problem Description 小度熊有一个桌面,小度熊剪了很多矩形放在桌面上,小度熊想知道能把这些矩形包围起来的面积最小的矩形的面积是多少. Input ...
- Hydra暴力破解工具的用法
目录 Hydra 常见参数 破解SSH 破解FTP 破解HTTP 破解3389远程登录 Kali自带密码字典 dirb dirbuster fern-wifi metasploit wfuzz Hyd ...
- Open VAS 漏扫工具的安装
wget -q -O - http://www.atomicorp.com/installers/atomic |sh .安装openvas [root@localhost ~]#yum -y ins ...