Operating System - HP-UX
1833692 Members
4645 Online
110062 Solutions
New Discussion

How to set/change the font for a xdialog pop up message

 
Boyd Kodama
Frequent Advisor

How to set/change the font for a xdialog pop up message

HP-UX 10.20 with CDE on series 700:

I am using xdialog to bring up a pop up message.

How can I change the font of my message?

thanks,

Boyd
Without Mondays, there weren't be any Fridays
1 REPLY 1
Charles Slivkoff
Respected Contributor

Re: How to set/change the font for a xdialog pop up message

xdialog is a Motif-based application which recognizes standard XToolkit command-line option parsing. Thus, any X resource can be specified on the command-line as:



-xrm "resource:value"



So, you can add this to your command line if you wished to use the "10x20" font:



-xrm "*fontList:10x20"



A couple of other resources that you might be interested in are "*foreground", and "*background" to change the colors. If running VUE/CDE, you will probably also need "*useColorObj:false" to override the color object of the session manager.