-
Notifications
You must be signed in to change notification settings - Fork 350
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
Dunst notifications displayed on lockscreen (betterlockscreen, xtrlock) #697
Comments
Well, I'm a maintainer of this and I even have the same problem. 🙈 I'm using i3lock as lockscreen and I'm using compton as a compositing manager. In our research, we found out, that, it's linked to the compositor of your system, which introduces some weird race conditions or so.... 😕 Ref: i3/i3lock#204 #553 |
Other than the compositor issue the pause/unpause solution mentioned above is my workaround, and it works perfectly in my case. |
Thanks for the info, I'll disable
As I said, the issue also occurs with
|
So I disabled |
I can confirm I have the same issue running picom. Disabling it solves the problem as well, but unfortunately I need it. Perhaps we should take this to picom? |
Are there updates to this? I have the same issue with betterlockscreen: v4.0.3 and picom 8.2-1. |
I think adding a sleep before locking the screen should work. Dunst needs a little but to receive the message and close all notifications. Let me know if it works (if it doesn't, try adding a delay of 1 second, just to be sure). |
This issue is fixed by enabling |
We wants to disable dunst notification on locked xscreensaver and resume notification when xscreen saver is unlocked. |
Installation info
Dunst - A customizable and lightweight notification-daemon 1.4.1 (2019-07-03)
dunst
from official Arch repositoriesArch Linux
Original issue: betterlockscreen/betterlockscreen#160
Asking here since the issue occurs both with
betterlockscreen
andxtrlock
.I'm using Arch Linux with the following packages:
betterlockscreen-git
AURdunst
xidlehook
AURMy issue is that
dunst
notifications still appear on lockscreen.I've run
systemctl enable betterlockscreen@$USER
to enable the user service.If I understand correctly, since the systemd user service is enabled, betterlockscreen does the following before locking, and this after unlocking.
I tried to use a lockscreen script replicating these commands instead of using the regular
betterlockscreen -l -t ""
command as a workaround (since thedunst
notifications were still displayed), but unfortunately it doesn't make any difference.lockscreen.sh
Note: I also tried with
killall -SIGUSR1 dunst
andkillall -SIGUSR2 dunst
as suggested on the Arch Wiki.and here's how it's triggered by
xidlehook
AUR:~/.xinitrc
So basically, the screen locks after 5 minutes and turns off after another extra 5 minutes. This works perfectly fine, my only issue is that
dunst
notifications are still displayed on the lockscreen.It's quite difficult to reproduce.
Thanks in advance.
Edit: I'm also using
picom
with the following inpicom.conf
:picom.conf
The text was updated successfully, but these errors were encountered: