With the command notify-send
, it's possible to show a notification on screen for a small amount of time. But I'd like to have a specific notification on my screen for an undetermined amount of time. I'm creating a script that is initiated and terminated by the user, for me it'd be useful to have a command that activates the notification and then deactivates it after my script is finished. The pseudocode would be something like this:
#!/bin/bash
activatenotification "my text"
# my script commands
deactivatenotification
Is it possible to do? Is there such a command line tool or can I do something like that using notify-send
?
notify-send
is built in such way that the notifications do have to exit. What you can use iszenity
to show popups. These can stay on screen indefinitely. They're small GUI windows. So you can either close or kill them. Does that sound like something that you're looking for ?zenity
doesn't allow me to navigate through other windows while it's open, does it?