need monospace font in zenity

  • Permalink
  • submit to reddit
  • Email
  • Follow


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
0
Reply Todd3275 (92) 12/31/2011 4:16:27 AM

See related articles to this posting

Todd 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

Use custom gtkrc:

#v+
kmitko@ideapad:~$ cat bla
style "font" {
font_name="monospace 9"
}
widget_class "*" style "font"
gtk-font-name = "monospace 9"
kmitko@ideapad:~$ GTK2_RC_FILES=bla zenity --info --text  'www
iii'
#v-

-- 
Z pozdrowieniami,
Krzysztof Mitko
0
Reply fakemail1 (8) 12/31/2011 9:10:10 AM

On 12/31/2011 01:10 AM, Krzysztof Mitko wrote:
> Todd 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
>
> Use custom gtkrc:
>
> #v+
> kmitko@ideapad:~$ cat bla
> style "font" {
> font_name="monospace 9"
> }
> widget_class "*" style "font"
> gtk-font-name = "monospace 9"
> kmitko@ideapad:~$ GTK2_RC_FILES=bla zenity --info --text  'www
> iii'
> #v-
>

Hi Krzysztof,

     This has been driving me crazy for about two year.  Thank you!

-T


$ xx="`su root -c "virsh list --all"`"

$ cp .gtkrc .gtkrc.monospace.12

$ vi .gtkrc.monospace.12
#
style "font" {
font_name="monospace 12"
}
widget_class "*" style "font"
gtk-font-name = "monospace 12"


$ GTK2_RC_FILES=/home/todd/.gtkrc.monospace.12  \
           zenity --info --title="Status" --text "$xx"
0
Reply Todd3275 (92) 1/1/2012 10:30:52 PM
comp.os.linux.misc 33314 articles. 19 followers. Post

2 Replies
189 Views

Similar Articles

[PageSpeed] 34

  • Permalink
  • submit to reddit
  • Email
  • Follow


Reply:

Similar Artilces:

Need to find good monospace font
Hi! I'm typesetting a book and want to use a monospace font (I know it sounds idiotic, but it's a very special book :) ). Are there any monospaced fonts that don't look like they were written with a typewriter and that are free and work with latex? I'd like something that looks like the terminal fonts on older computers, but any monospace font that's not "typewrity" is interesting. Also, the more options the font has, the better (itshape, bfseries, scshape etc). And if possible, the font should still have good legibility in longer paragraphs. I think I'm look...

Font needed
Years ago, when I was still using a Mac IIsi, I had a really attractive Victorian font called, I think, Dickens. That was long ago, though, and if I still have a copy of the font it'd be safely stored on an unreadable floppy (does anyone else still have stacks of floppies, and a Mac with no disk drive for them?) - while an ImageWriter font would almost certainly not work with my LaserWriter, anyway... I've tried looking for a similar font, but found the vast range of possibilities totally daunting... Does anyone recognise 'Dickens', or know of a (preferably but no...

Need a Font Made (or a good font editor...)
I need somebody to make a font for me for a language I have made. If anybody is interrested, I will e-amil them with more information on how I would like the font layed out and such. Also, if anybody knows of a good freeware font editor, please let me know. I would prefer one with the ability to import bitmaps of the glyphs. Thank you to anyone who can help with either request! I <4bb49e7a.0408301317.2570de55@posting.google.com>, chris skrev: > Also, if anybody knows of a good freeware font editor, please let me > know. I would prefer one with the ability to import bitmaps of...

need help determining needed locales/font or?
When opening certain log files with a text editor, in this case, /var/log/boot, I see a lot of strange characters. See example below: Sun Nov 25 07:35:07 2012: [....] Setting parameters of disc: (none)^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c. Sun Nov 25 07:35:07 2012: [....] Setting preliminary keymap...^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0cdone. Sun Nov 25 07:35:07 2012: [....] Activating swap...^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0cdone. Can someone clue me in as to what I need to do to repair this. I'm using Aptosid (Debia...

Fonts Needed
Hiya all, I've a PDF file with some embedded fonts I'm in need of. Flareserif821BT-Roman Flareserif821BT-Light PyxidiumQuick FuturaBT-ExtraBlack ZurichBT-Black Thanks in advance. CMK > I've a PDF file with some embedded fonts I'm in need of. > > Flareserif821BT-Roman > Flareserif821BT-Light > PyxidiumQuick > FuturaBT-ExtraBlack > ZurichBT-Black Seems like Bitstream fonts bundled with Corel X3. As licensed software fonts can't be shared just that like. Also define need. If it is your personal work you do not actually need the fonts. If it ...

I need a Typewritter looking font and this another font
Hello, I need a font that looks exactally like a "Typewritter" and I also need a font that it on this sites logo http://www.atlantic.net its there on their logo, I think that font looks really cool. If you people can help me out that will be great. Thanks, Falak Globeartis.Com http://www.globeartis.com "Falak Shah, Globeartis" wrote: > Hello, > I need a font that looks exactally like a "Typewritter" and I also > need a font that it on this sites logo http://www.atlantic.net its > there on their logo, I think that font looks really cool. If you > ...

Need more fonts
I have a new computer with a new install of Gimp 2.6. There are fonts for launages I do not use. How to I get rid of them and where do I find new fonts to replace them? TIA Dave On Sun, 13 Sep 2009 15:08:44 -0700, Dave Kelly wrote: > I have a new computer with a new install of Gimp 2.6. There are fonts > for launages I do not use. How to I get rid of them and where do I find > new fonts to replace them? > > TIA > Dave Need more info on OS and fonts From the header you seem to be using ubuntu 8.04 (on a new machine??) which AFAIK has next-to-none in the way of font m...

need font
Hi, Need the Font Pioneer BT. -- Michael Michael Braun wrote: > Hi, > > Need the Font Pioneer BT. Pioneer can be purchased here http://www.myfonts.com/fonts/itc/pioneer/familytree.html. -- Cassandra Card carrying member of the Fresh Start Club 'The Undead Are People Too!' Reply address is fake. Please send all praise, abuse, insults, bequests of �1million to cassandra (at) craigy34 (dot) freeserve (dot) co (dot) uk. Change the obvious to the obvious. Private requests for assistance will not be acknowledged. Please post all correspondence to the group so that all may ...

i need font
I need this font please !!! http://www.torra.it/racp/ Where ??'? grazie Alb. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In article <bm267e$50g$1@lacerta.tiscalinet.it>, "alby" <nospam@spamnot.it> wrote: > I need this font please !!! > http://www.torra.it/racp/ It looks like Serif Gothic with a slightly modified uppercase R. -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com> iQA/AwUBP4TBrcNJIejnLYNBEQKnPACdFK67oYC/5AwwyjBegw6X8BvsGqAAoK6M Pd7qnICFgCrSFt++oiJdrMdW =PukF -----END PGP SIGNATURE--...