4

I'm trying to show some mediainfo output in a Zenity dialog, using

mediainfo 00000.MTS | zenity --text-info
and here's there result. As the image shows, the text is badly formatted because of spaces, while it shows just right in terminal.

これを変更できますか?また、テキストの特定の文字列をフォーマットすることは可能ですか (例: "General" および "Video" ヘッダー)?

4

1 に答える 1

5

ターミナルでは正しく表示されますが、スペースのためにテキストの形式が正しくありません。これを変更できますか?

はい、フォントを等幅フォントに変更してください:

mediainfo 00000.MTS | zenity --text-info --font='DejaVu Sans Mono'

テキストの特定の文字列をフォーマットすることは可能ですか

いいえ、これはできません--text-info

于 2014-11-02T15:26:52.197 に答える