You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The notification shown does not replace the old one (as it should according to Dunst, and does work for my other scripts).
This is not the case if notify-send is run directly by the user.
I need to do this because the script's primary function requires superuser, and the script is marked as NOPASSWD in /etc/sudoers. Using sudo inline in the script only for the necessary commands is not an option.
What happens instead?
The first notification is shown correctly, any after that show up as a blurred rectangle in its place.
Here is a video where I first run the script, and then the notify-send commands individually, finally I copy and paste a contrived example from snippets of the script to demonstrate the commands should work as expected.
Note that for the first 30 seconds or so, I am waiting for the script to finish running. After that I start running things manually. Look in the top-right.
I have the following minimal example:
The notification shown does not replace the old one (as it should according to Dunst, and does work for my other scripts).
This is not the case if
notify-send
is run directly by the user.I need to do this because the script's primary function requires superuser, and the script is marked as
NOPASSWD
in/etc/sudoers
. Usingsudo
inline in the script only for the necessary commands is not an option.What happens instead?
The first notification is shown correctly, any after that show up as a blurred rectangle in its place.
Here is a video where I first run the script, and then the
notify-send
commands individually, finally I copy and paste a contrived example from snippets of the script to demonstrate the commands should work as expected.Note that for the first 30 seconds or so, I am waiting for the script to finish running. After that I start running things manually. Look in the top-right.
https://youtu.be/UvopfreWfa4
Here is the full script that I am working with:
The text was updated successfully, but these errors were encountered: