Web lists-archives.com

Re: zenity --text-info autoscrolling?

Okay, if no one knows how to make zenity --text-info auto-scroll, what other suggestions
would you have for displaying output of a shell script that is able to show the output of
the current operation but with the option to scroll up to see previous lines?

As an example of what I have in mind, I use rsync to make file backups and pipe the output
into zenity (--text-info) to show what is being done. The only problem is that you have
to keep scrolling down manually to see the last entry, which is not very convenient.

Thanks for any help.

On Fri, 24 Mar 2017 17:33:06 -0500
Jason <electron@xxxxxxxxxxxxx> wrote:

>In interactive shell scripts I like piping output into zenity --text-info for display. If
>the output is more than fits in the zenity window, any additional lines will be too far
>down to display unless the user manually scrolls down to the bottom of the text.
>Does anyone know if there is a way to tell zenity to automatically scroll down as lines
>are added so that the last lines are always visible? This way the output of the current
>action would be displaying at the bottom of the zenity dialog box, instead of not being
>Using zenity 3.4.0-2 on Debian 8.1.