Hello,
I would like to pass the install or uninstall progress of a Snap application to zenity, to do something like the example below:
sudo snap remove brave | (pv -n > snap2) 2>&1 | zenity --progress --width 350 --percentage=0 --text "Installing Fusion..." --title "Installation in progress" --auto-close --auto-kill --no-cancel
When running the above command on the Terminal, everything works as expected, with the Snap passing all the process information to zenity, which in turn displays a test ticket showing the installation or removal time of the application.
However, when running in the background using, for example, another graphical application running this command above, Snap seems to hide all progress, displaying only the completion of the process, that is, whether the application was installed or removed.
Is there a way to enable the Snap progress with it running in the background?