Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allays return "2", never "1" #1109

Closed
surfzoid opened this issue Sep 7, 2022 · 4 comments
Closed

Allays return "2", never "1" #1109

surfzoid opened this issue Sep 7, 2022 · 4 comments

Comments

@surfzoid
Copy link

surfzoid commented Sep 7, 2022

Issue description

Hi,
I'm using dunstify in the following bash script :
https://github.com/surfzoid/QtVsPlayer/blob/master/classicnotify.sh
When the notif popup i got the button "ouvrir" and clic on it , dunstify return correctly "open", then i can do an action.
But, if either there is more than one notif, nor i took too much time to read, the notif go to the list of gnome notif and so there isn't anymore the button.
At this point, i can clic on the text of the notif or close it with the cross or use "del all" button, all those cases return "2", so i cannot do action.

Installation info

dunst -v
Dunst - A customizable and lightweight notification-daemon 1.5.0 (2020-07-23)
gnome-shell --version
GNOME Shell 3.38.3
uname -a
Linux SurfzoidPC 5.15.62-desktop-1.mga8 #1 SMP Sun Aug 21 16:48:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
RPM Mageia 8

I thank you

@surfzoid
Copy link
Author

surfzoid commented Sep 7, 2022

pkill dunst; dunst
WARNING: No dunstrc found.
CRITICAL: Cannot acquire 'org.freedesktop.Notifications': Name is acquired by 'gnome-shell' with PID '7480'.

@surfzoid
Copy link
Author

surfzoid commented Sep 7, 2022

woooo i discover dunstify -a QtVsPlayer start my app by clicking on the text area, but cannot add path argument to it

@fwsmit
Copy link
Member

fwsmit commented Sep 7, 2022

Dunstify isn't necessarily made to work with gnome's notification daemon. Not all features will work. I don't think it's possible to run Dunst on a gnome environment

@surfzoid
Copy link
Author

surfzoid commented Sep 7, 2022

Dunstify isn't necessarily made to work with gnome's notification daemon. Not all features will work. I don't think it's possible to run Dunst on a gnome environment

well gnome notif work with Dunstify/libnotify , i did a partial and dirty workarround : https://github.com/surfzoid/QtVsPlayer/blob/master/classicnotify.sh

@fwsmit fwsmit closed this as not planned Won't fix, can't repro, duplicate, stale Apr 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants