SCIENTIFIC-LINUX-USERS Archives

December 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Todd And Margo Chester <[log in to unmask]>
Reply To:
Todd And Margo Chester <[log in to unmask]>
Date:
Sat, 31 Dec 2011 20:57:07 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (53 lines)
> On 31 Dec 2011, at 0014, Todd And Margo Chester wrote:
>
>> Hi All,
>>
>> I am using Scientific Linux 6.2 x64 (RHEL clone):
>>
>> $  zenity --info --title="abc" --font "monospace 9" --text "abcdefg"
>> This option is not available. Please see --help for all possible usages.
>>
>> $ zenity --help-all | grep -i font
>> <nothing>
>>
>> $ rpm -qa \*zenity\*
>> zenity-2.28.0-1.el6.x86_64
>>
>>
>> I really need a monospaced font.  I am drawing a blank on Google.
>> Any one know how to do this?
>>
>> Many thanks,
>> -T
>
>

On 12/30/2011 09:52 PM, Phong Nguyen wrote:
 > It looks like zenity uses the global font settings and does not have 
 > an option to override it.
 >
 > Why do you need to change it?
 >

I need to change it for text alignment purposes.  Without a monospaced
font, when displaying the following through zenity,

# virsh list --all
  Id Name                 State
----------------------------------
   - KVM-FC16-LiveCD      shut off
   - KVM-ReactOS          shut off
   - KVM-W7               shut off
   - KVM-WinXP            shut off


looks like


  Id Name           State
-------------------------
   - KVM-FC16-LiveCD    shut off
   - KVM-ReactOS      shut off
   - KVM-W7         shut off
   - KVM-WinXP       shut off

ATOM RSS1 RSS2