Currently developing a small bash script, my needs are a progress bar that doesn't come with a cancel button. I have been looking into the zenity progress bar, but haven't found a way to get rid of the cancel button.
The non-existence of the cancel button is of the essence, since it would completely ruin the means of the progress bar. I saw a terminal-based progress bar around, but since I use zenity dialogs for all other cases, I want to use it for the progress bar as well.
Any idéas how to solve my issue? Any other progress bars around, or is it possible to get rid of the cancel button?
Any help is very appreciated, thanx!
zenity
supports the --no-cancel
flag, which removes the cancel button.
For me information see zenity --help-progress
.
Try this,
sleep 5|tee >(zenity --progress --pulsate --no-cancel --auto-close --text="Please wait...")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With