And, yes, it works this way: $ sed -e '1,$s/%/%%/g' zrc.py | zenity --text-info --editable -- zenity zenity --text-info --editable crashes on 56K text file on stdin https://launchpad.net/bugs/83549