You are not logged in.

#1 2023-03-04 00:47:50

darenw
Member
From: Trego Montana
Registered: 2008-07-04
Posts: 106
Website

How to recall a notification after it vanishes?

I saw a notification pop up with what was apparently important information concerning current business, but it vanished before I had a good look.  Not sure what application posted it. Not email - I don't see any relevant new emails.  Is there a way to recall a history of all notification popups since, say, ten minutes ago, or two hours ago?

I'm using Arch (of course) with icewm, Thunderbird for email, Firefox and Chromium, Discord, and probably a few other networked communications apps buried under the mess of windows I have up (busy day!)


Artist/Physicist, Herder of Pixels, Photons and Electrons

Offline

#2 2023-03-04 01:02:31

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,602

Re: How to recall a notification after it vanishes?

What notification daemon are you using? If you are using dunst, you can run dunstctl history-pop to redisplay closed notifications

Offline

#3 2023-03-04 01:57:20

darenw
Member
From: Trego Montana
Registered: 2008-07-04
Posts: 106
Website

Re: How to recall a notification after it vanishes?

According to pacman, dunst is not installed. But if it were, that would be the solution I'd use.

Pacman does report:  knotification, libnotify, startup-notification.  Note I'm not using KDE desktop but do have a few KDE applications. (I think)


Artist/Physicist, Herder of Pixels, Photons and Electrons

Offline

#4 2023-03-04 07:56:22

seth
Member
Registered: 2012-09-03
Posts: 63,439

Re: How to recall a notification after it vanishes?

Pacman does report

??
You're using the daemon you installed and configured to run. Not what "pacman reports" (and for what query?)
None of those provides a notification daemon, though.

qdbus org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetConnectionUnixProcessID org.freedesktop.Notifications
ps aux | grep $(qdbus org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetConnectionUnixProcessID org.freedesktop.Notifications)

Chances are that you have no notification daemon, so use dunst.

Last edited by seth (2023-03-04 19:31:27)

Online

#5 2023-03-04 17:49:19

darenw
Member
From: Trego Montana
Registered: 2008-07-04
Posts: 106
Website

Re: How to recall a notification after it vanishes?

How do I find out what notification daemon is running?


Artist/Physicist, Herder of Pixels, Photons and Electrons

Offline

#6 2023-03-04 18:37:35

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,384

Re: How to recall a notification after it vanishes?

darenw wrote:

How do I find out what notification daemon is running?

Let's start with the output of pacman -Qs notif    (that is crafted to pick up notify and notification)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#7 2023-03-04 18:41:55

seth
Member
Registered: 2012-09-03
Posts: 63,439

Re: How to recall a notification after it vanishes?

Aktschually, the commands i posted will revel the notification process and if they don't reveal anything, you're not running one.

Online

#8 2023-03-04 18:44:33

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,384

Re: How to recall a notification after it vanishes?

seth wrote:

Aktschually, the commands i posted will revel the notification process and if they don't reveal anything, you're not running one.

Seth, your command is missing a closing parenthesis.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#9 2023-03-04 18:45:51

darenw
Member
From: Trego Montana
Registered: 2008-07-04
Posts: 106
Website

Re: How to recall a notification after it vanishes?

"...so use dunst."     What is dunst? Which package provides it?


Artist/Physicist, Herder of Pixels, Photons and Electrons

Offline

#10 2023-03-04 18:46:50

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,384

Re: How to recall a notification after it vanishes?

darenw wrote:

Which package provides it?

dunst


Edit:

ewaller@odin/~% pacman -Qi dunst
Name            : dunst
Version         : 1.9.0-1
Description     : Customizable and lightweight notification-daemon
Architecture    : x86_64
URL             : https://dunst-project.org/
Licenses        : BSD
Groups          : None
Provides        : notification-daemon
Depends On      : libxinerama  dbus  systemd  wayland  libxss  pango  gdk-pixbuf2  libxrandr  glib2
Optional Deps   : libnotify: dunstify [installed]
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 249.07 KiB
Packager        : Morten Linderud <foxboron@archlinux.org>
Build Date      : Sat 02 Jul 2022 04:32:15 AM PDT
Install Date    : Wed 30 Nov 2022 08:03:28 AM PST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

ewaller@odin/~% 

Last edited by ewaller (2023-03-04 18:48:50)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#11 2023-03-04 19:32:01

seth
Member
Registered: 2012-09-03
Posts: 63,439

Re: How to recall a notification after it vanishes?

ewaller wrote:

Seth, your command is missing a closing parenthesis.

No more. That's what you get for copypasta.
Thanks for pointing it out.

Online

Board footer

Powered by FluxBB