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-daemonmanually 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所代表的是一种具有全局效果的通 ...
随机推荐
- 【linux】驱动-10-pinctrl子系统
目录 前言 10. pinctrl子系统 10.1 参考路径 10.2 pinctrl子系统主要工作 10.2 pinctrl子系统格式说明 10.3 概念 10.4 实例分析 10.4.1 pin ...
- 【Java】 6.0 输入,输出和异常处理
[概述] 就目前而言,我们遇到的"输出"无非就是这个比: System.out.println() 更详细的输入输出会在IO中提到,那么这个笔记就是记录几种常用输入机制 [Scan ...
- 敏捷史话(十四):敏捷之峰的攀登者 —— Jim Highsmith
"我们希望,一起组成的敏捷联盟能够帮助到其他同行,帮他们用新的更'敏捷'的方式去思考软件开发.方法论和组织.做到这一点,我们就得偿所愿了."Jim Highsmith 在雪鸟会议结 ...
- 动态语言 VS 静态语言
静态语言 VS 动态语言 动态语言 是一类在运行时可以改变其结构的语言:例如新的函数.对象.甚至代码可以被引进,已有的函数可以被删除或是其他结构上的变化.通俗点说就是在运行时代码可以根据某些条件改变自 ...
- Java异常详解——一篇文章搞定Java异常
目录 1. 异常的体系结构 2. 常见的异常 2.1 运行时异常 2.2 编译时异常 (编译时异常必须进行处理否则无法运行) 3. 异常的抓抛模型原理 4. 异常的处理 4.1 try - catch ...
- OkHttp配置HTTPS访问+服务器部署
1 概述 OkHttp配置HTTPS访问,核心为以下三个部分: sslSocketFactory() HostnameVerifier X509TrustManager 第一个是ssl套接字工厂,第二 ...
- 抛弃vuex ,拥抱ts,手撸泛型Store<T>!
前段时间学习了下vue3 和ts ,就尝试下做了个项目,结果发现vuex和ts几乎无法结合,越写越别扭,开始怀疑用ts就是自己给自己挖坑,然后加了几个vue相关的群,去抱怨了几句,得到大佬指点:你可以 ...
- 前端数据渲染及mustache模板引擎的简单实现
早期数据渲染的几种方式 在模板引擎没有诞生之前,为了用JS把数据渲染到页面上,诞生了一系列数据渲染的方式. 最最基础的,莫过于直接使用DOM接口创建所有节点. <div id="roo ...
- Kernighan《UNIX 传奇:历史与回忆》杂感
Brian W. Kernighan 是一个伟大的技术作家,我买了他写的几乎所有书.他近些年的书我买的是 Kindle 电子版,不占地方. 以下是我手上保存的纸版书: Kernighan 的书大多与别 ...
- UC-Android逆向工程师面试第2题分析
博客链接:http://blog.csdn.net/qq1084283172/article/details/52133172 一.简介 这个题目是别人面试UC优视集团Android逆向工程师一职位的 ...
