Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #179334

Re: zenity --text-info autoscrolling?

From Jason <electron@emypeople.net>
Newsgroups linux.debian.user
Subject Re: zenity --text-info autoscrolling?
Date 2017-03-26 01:00 +0100
Message-ID <tp3Lb-87u-5@gated-at.bofh.it> (permalink)
References <toGbT-8nJ-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@emypeople.net> 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
>visible.
>
>Using zenity 3.4.0-2 on Debian 8.1.
>
>--
>Thanks.
>Jason

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

zenity --text-info autoscrolling? Jason <electron@emypeople.net> - 2017-03-24 23:50 +0100
  Re: zenity --text-info autoscrolling? Jason <electron@emypeople.net> - 2017-03-26 01:00 +0100
    Re: zenity --text-info autoscrolling? <tomas@tuxteam.de> - 2017-03-26 12:20 +0200
      Re: zenity --text-info autoscrolling? rhkramer@gmail.com - 2017-03-26 13:50 +0200
        Re: zenity --text-info autoscrolling? Jason <electron@emypeople.net> - 2017-03-28 04:20 +0200
      Re: zenity --text-info autoscrolling? Jason <electron@emypeople.net> - 2017-03-28 04:40 +0200
  Re: zenity --text-info autoscrolling? Floris <jkfloris@dds.nl> - 2017-03-26 22:20 +0200
    Re: zenity --text-info autoscrolling? Jason <electron@emypeople.net> - 2017-03-28 04:20 +0200
      Re: zenity --text-info autoscrolling? Floris <jkfloris@dds.nl> - 2017-03-28 21:30 +0200
        Re: zenity --text-info autoscrolling? Jason <electron@emypeople.net> - 2017-03-30 04:30 +0200

csiph-web