betterlockscreen
betterlockscreen copied to clipboard
Betterlockscreen delays and shows freedesktop.DBUS error in awesomewm
It does work in i3wm, qtile and dwm on the same system

Hey, it seems that your dunst-setup is not completely working, could you try the following command used by Betterlockscreen:
dunstctl is-paused
dunstctl set-paused true
dunstctl set-paused false
And also please post the output of "./betterlockscreen -v" :)
Here are the output of the dunstctl commands

Now, I use i3wm, dwm, qtile and awesomewm. I use dunst for i3wm and dwm. For qtile I use the builtin notification widget and for awesomewm I use the builtin notification module(naughty). Therefore when I'm in awesomewm or in qtile, dunst in turned off. But only in awesomewm the following problem persists. In qtile it works fine, despite I don't use dunst there also.
Here is the output of ./betterlockscreen -v

Okay, I understand, will think about a solution for that - if you have an idea I'm open for it :)
Sure, Thanks.
Would it help you, introducing a new option dunst_enabled which besides DUNST_INSTALLED would be checked if dunst should be handled by Betterlockscreen? So you could set this in betterlockscreenrc with a shell-expression you like to, to determinate if dunst is used/usefull and set true if so?
That's really a great idea, Yes, that would really help me.
So did you fix this yet? If yes how do I actually get it to stop doing this with awesome?
Sorry, haven't had time to work on this - but there is a somehow functioning demo implementation you could adjust for your needs in the Next-PR :)
I have the same issue with AwesomeWM, no problems with Qtile tho. I don't understand what causes that ? Any fixes yet ?
I found a workaround in #1285 to disable naughty in awesome.
Add this to rc.lua
package.loaded["naughty.dbus"] = {}
This will make dunst work normally and also betterlockscreen.
@nullbyto Thanks for pointing out - I've included the solution in the readme so it should be easy to find for future users. I would close the issue for now, please let me know if there is anything else :)