LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-04-2017, 06:17 PM   #1
upnort
Member
 
Registered: Oct 2014
Distribution: Slackware, Proxmox, Debian, CentOS, Ubuntu MATE
Posts: 768

Rep: Reputation: Disabled
14.2: xfce4-notifyd overrides mate-notification-daemon


I am testing 14.2 64-bit before updating several systems from 14.1 64-bit. In both OSs I have MATE and Xfce installed.

I almost always use MATE. In 14.2 notification popups trigger xfce4-notifyd rather than mate-notification-daemon. When I temporarily rename org.xfce.xfce4-notifyd.Notifications.service, then mate-notification-daemon is used as expected.

I cannot replicate this behavior in 14.1.

I have two systems with 14.2 installed for my testing. One is a desktop and the other a laptop. The laptop exhibits the problem, the desktop does not. Other than hardware, the only differences I am aware are using NetworkManager on the laptop and NVidia drivers on the desktop. Otherwise the two 14.2 systems are practically identical. I installed 14.2 fresh on both systems and methodically migrated /etc settings, etc. User homes are on a separate partition and are the same for both 14.1 or 14.2. I can dual boot into either 14.1 or 14.2 on both test systems.

The problem occurs regardless of user account, including root. Thus the problem seems to be system related rather than desktop or user.

In 14.1 I am using MATE 1.12. I am aware that parts of MATE 1.16 are compiled with GTK3. I do not know if that plays a role. I do not know whether something significant changed between 1.12 and 1.16 with respect to dbus, or similar with Xfce, or whether something similar changed between 14.1 and 14.2. MATE packages were downloaded and not compiled locally.

Using notify-send through strace revealed nothing. No clues in any logs.

Any insight about this anomaly is appreciated.
 
Old 02-05-2017, 04:45 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,618

Rep: Reputation: Disabled
Both mate-notification-daemon and xfce4-notifyd are notification servers (as others listed in this page) and as such implement the server side of the Desktop Notifications Specification, which is desktop agnostic, I think.

My assumption is that, for a reason (unknown to me, sorry, so I don't have a real answer to your question) in one of the systems mate-notification-daemon runs first, in the other one that's xfce4-notifyd instead. Anyway I don't think that which one runs matters at all, as long as the notification are properly provided, e.g. you see the pop-up bubble "Hey! You got an email!". What would be really annoying is receive a notification twice, or not at all.

I wouldn't bother as long as it works. As they are redundant you could remove one of the notification servers to check if everything still works in both desktops just to feel safe.

PS The spec says (bold mine) "In order to ensure that multiple notifications can easily be displayed at once, and to provide a convenient implementation, all notifications are controlled by a single session-scoped service which exposes a D-BUS interface." So I assume that some mechanism (unknown to me) prevents to start a service if one is already started. Which is a good thing

PS for expert users like you not installing KDE is acceptable. But not installing bsd-games, hence not displaying a Fortune upon log in is forbidden by the Slackware Tradition

Last edited by Didier Spaier; 02-05-2017 at 05:05 PM. Reason: PS added.
 
1 members found this post helpful.
Old 02-05-2017, 06:04 PM   #3
upnort
Member
 
Registered: Oct 2014
Distribution: Slackware, Proxmox, Debian, CentOS, Ubuntu MATE
Posts: 768

Original Poster
Rep: Reputation: Disabled
Yes, functionally there is no difference. I am curious why Tron is going left rather than right..

I hoped strace would provide a clue but not so.

Perhaps one of the Slackware MATE devs might have an inkling.

Quote:
But not installing bsd-games, hence not displaying a Fortune upon log in is forbidden by the Slackware Tradition
Indeed -- my transgression is forever recorded on my permanent record.
 
Old 02-07-2017, 02:24 PM   #4
upnort
Member
 
Registered: Oct 2014
Distribution: Slackware, Proxmox, Debian, CentOS, Ubuntu MATE
Posts: 768

Original Poster
Rep: Reputation: Disabled
An interesting tidbit. I copied my office desktop 14.2 partition to the laptop. Updated fstab, etc. The quirk remained on the laptop. Inconclusive, but seems the quirk is related to the laptop.
 
Old 02-07-2017, 03:11 PM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,618

Rep: Reputation: Disabled
Entropy may be the culprit then
 
Old 02-07-2017, 03:55 PM   #6
upnort
Member
 
Registered: Oct 2014
Distribution: Slackware, Proxmox, Debian, CentOS, Ubuntu MATE
Posts: 768

Original Poster
Rep: Reputation: Disabled
Quote:
Entropy may be the culprit then
I have beeen known to blame cosmic rays for quirks. Although after many years of this I am not too stiff -- probably 95% of what happens is PEBKAC. In this particular case I am without clues to what I might have done to cause the differing behaviors. For my mental health I should let this go, but the deeper I go down the rabbit hole the more ingtrigued I become.

I wish I was a C wizard and could follow the rabbit trail with dbus and libnotify.

Hopefully eventually somebody who has seen something like this will notice the thread and offer a hand. Don't care that I might be the butt of the joke. Just want to know.
 
Old 02-07-2017, 04:07 PM   #7
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,618

Rep: Reputation: Disabled
Rabbit hole? This remind me of manuscript that ended up at the British Library:
https://www.bl.uk/collection-items/a...-in-wonderland

http://www.bl.uk/onlinegallery/ttp/a...roduction.html

Sorry to be still off topic, I will try not to do that again.

Last edited by Didier Spaier; 02-07-2017 at 04:08 PM.
 
Old 02-07-2017, 08:19 PM   #8
upnort
Member
 
Registered: Oct 2014
Distribution: Slackware, Proxmox, Debian, CentOS, Ubuntu MATE
Posts: 768

Original Poster
Rep: Reputation: Disabled
Quote:
Sorry to be still off topic, I will try not to do that again.
One of my favorite stories. Carroll denied the stories were satire, but they are easily read that way. I am long overdue for reading them again.

I think "rabbit hole" is an apt description of this quirk.
 
Old 02-09-2017, 10:50 PM   #9
upnort
Member
 
Registered: Oct 2014
Distribution: Slackware, Proxmox, Debian, CentOS, Ubuntu MATE
Posts: 768

Original Poster
Rep: Reputation: Disabled
Quote:
Inconclusive, but seems the quirk is related to the laptop.
Or not. I installed Salix Xfce 14.2 on another partition on the laptop and installed the MATE package group. The notifications behave and use the mate-notification-daemon and not xfce4-notifyd . I am sure that is a clue but Inspector Clouseau I am not.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 14.1 + XFCE4 - xfce4-notifyd and volume controls Freaksta Slackware 1 08-10-2014 11:00 AM
[SOLVED] Xfce4 volume adjust icon isn't in notification area Knightron Slackware 9 05-04-2014 12:03 AM
xfce4-notifyd-config > "Settings daemon is unavailable" Norgi Slackware 0 03-01-2013 05:44 AM
[SOLVED] wicd xfce4 dbus notification-icon problem radiodee1 Debian 3 02-13-2012 01:42 PM
Have you gotten xfce4-mail-notification-plugin to work? General Linux - Software 2 05-13-2011 05:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration