Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

When output contains lots of lines, zenity --info --text doesn't make it scale-able, and zenity --text-info only accept output from a file.

What can I do now? Maybe other zenity like utility can help?

share|improve this question

1 Answer 1

Not sure what exactly you mean by:

and zenity --text-info only accept output from a file

zenity --text-info accepts terminal output as input, through pipe. Here is a long terminal output:

ls -l /usr/bin | wc -l
1726

You just pipe it to zenity:

ls -l /usr/bin | zenity --text-info --height=500 --width=400 --title="scalable infobox"

This is the result:

enter image description here

Tried on zenity version 3.6.0

share|improve this answer
    
works great for me! –  MountainX Jun 20 '13 at 17:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.