Asked 9 days ago
Viewed 16 times
0

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.

Paulo Tomé

3,21244 gold badges1515 silver badges3333 bronze badges
asked Mar 10 at 12:37
Fabian Röling

17511 silver badge1212 bronze badges
  •  
    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的更多相关文章

  1. Mysql Solution - Timeout error occurred trying to stop MySQL Daemon. Stopping MySQL: [FAILED] -

    错误例如以下: Timeout error occurred trying to stop MySQL Daemon. Stopping mysqld:                         ...

  2. 〖Linux〗干掉Kubuntu烦人的软件升级提示“Update notification daemon”,Your should update ..

    Kubuntu是很好使用,但是升级提示也是太烦人了,开机的时候总是显示如下画面: 使用System Load Indicator(sudo apt-get install indicator-mult ...

  3. 树莓派2 安装 win10Iot 和 Ubuntu mate

    注册博客账号已经2年多了.一直没写博文现在抽空写写. 写这篇博文是因为我之前在网上找了蛮多有关教程写的都不是很清晰.安装没成功.所以我写一下我根据网上找到的整理一下分享出来. 非专业只是业余玩玩.好了 ...

  4. Ubuntu 用户安装 MATE

      MATE 是经典桌面 Gnome 2 的分支,该桌面按照 Windows 用户操作习惯设计,适合于 Windows 转投 Linux 的初级用户,MATE 做了功能改进和新增功能.如:增加窗口管理 ...

  5. Mate Linux 桌面的什么受GNOME 2 粉丝喜欢 ?

    导读 如果你以前听过这个传闻:当 GNOME3 第一次发布时,很多 GNOME 用户还没有准备好放弃 GNOME 2. Mate(以马黛茶yerba mate植物命名)项目的开始是为了延续 GNOME ...

  6. [转] 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 ...

  7. 转 Dynamics CRM Alert and Notification JavaScript Methods

    http://www.powerobjects.com/2015/09/23/dynamics-crm-alert-and-notification-javascript-methods/ Befor ...

  8. (转)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 ...

  9. Android Notification通知详细解释

    Android Notification通知具体解释  Notification: (一).简单介绍:         显示在手机状态栏的通知. Notification所代表的是一种具有全局效果的通 ...

随机推荐

  1. Dynamics CRM分享记录后出现关联记录被共享的问题

    Dynamics CRM的权限配置有许多的问题,其中分享功能也是未来解决标准功能分配的权限不满足需求而设计的.但是这个功能使用的时候也要注意,否则会出现其他记录被共享的问题导致数据泄露可能会对项目的安 ...

  2. ssh+scp基本使用

    1 ssh ssh一般用于连接服务器,可以使用密码认证与密钥认证的方式. 1.1 密码认证 直接使用ssh即可: ssh username@xxx.xxx.xxx.xxx username为用户名,后 ...

  3. 观世音甘泉活树的故事竟然是Java设计模式:备忘录模式

    目录 定义 意图 主要解决问题 何时使用 优缺点 结构 白箱实现 黑箱实现 多重检查点 观世音甘泉活树的故事 定义 备忘录模式是对象的行为型模式,备忘录对象是一个用来存储另外一个对象内部状态的快照的对 ...

  4. editorconfig、eslint、prettier三者的区别、介绍及使用

    每次搭建新项目都少不了这些工具,但时间一久就忘记了,下次搭新项目时又要四处查官方文档,因此特此记录,主要内容是对这三个工具的理解,以及具体使用方式 editorconfig 理解 先看官网的定义: E ...

  5. C语言头文件到底是什么?

    C语言头文件到底是什么? 在C语言学习的时候总是会引入这样的语句#include <stdio.h>,书上解释说把stdio.h这个文件的全部内容直接插入到这个位置,然后再经过C语言的编译 ...

  6. Java整合极光推送 ( 简单 )

    Java 整合极光推送官方文档:https://github.com/jpush/jpush-api-java-client 这里记录一下简单的使用步骤:创建一个普通的 Maven 工程然后添加依赖 ...

  7. 1068 Find More Coins

    Eva loves to collect coins from all over the universe, including some other planets like Mars. One d ...

  8. 1-2 postman工具简介

    postman提供了一个多窗口和多选项卡页面用于发送和接受请求,postman努力保持整洁和灵活,提供更多的空间,满足用户的需要.他很简单,能满足大部分接口的测试,性价比特别高.如图所示:  1.侧边 ...

  9. composer 使用提示

    1.使用国内镜像[推荐] composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ 或者 comp ...

  10. 路由器逆向分析------在Linux上安装IDA Pro

    本文博客地址:http://blog.csdn.net/qq1084283172/article/details/69665905 01.在Linux系统上安装Linux版本的IDA Pro Linu ...