- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Modifying the color settings of a UI that comes up...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2007 10:48 PM
07-09-2007 10:48 PM
Modifying the color settings of a UI that comes up thru Reflection X server
I am using Reflection X to connect to a HP-UX box. Once connected, I execute an executable file on the HP-UX box. This executable brings up a User Interface. Now I am interested to change the background and the foreground colors of this UI. How can we do this? Who controls these settings?
Let me know if I am not clear.
Thanks in advance
Pankaj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2007 01:47 AM
07-10-2007 01:47 AM
Re: Modifying the color settings of a UI that comes up thru Reflection X server
Maybe someone else knows this better.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2007 03:01 AM
07-10-2007 03:01 AM
Re: Modifying the color settings of a UI that comes up thru Reflection X server
.Xdefaults file with application info on color, font, etc.
For example (and this goes back a ways):
xload*geometry: =1264x100-0-0
xload*foreground: yellow
xload*background: MediumVioletRed
You may have application info here: /usr/lib/X11/app-defaults, or
/usr/dt/app-defaults/C, or in the location of your application itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2007 03:55 AM
07-10-2007 03:55 AM
Re: Modifying the color settings of a UI that comes up thru Reflection X server
xclock
xclock -bg yellow -fg black
xterm -bg navy -fg white
hpterm -bg brown -fg white -xrm '*cursorColor: blue'
Now it's inconvenient to specify all the options on the command line so there is a file you can create in each user's $HOME directory called .Xdefaults . You add to this file any new defaults or overrides you want. For example:
*loginShell: true
XTerm*cursorColor: gold
XTerm*background: navy
XTerm*foreground: white
HPterm*background: brown
HPterm*foreground: white
Now as to what resource applies to a specific application, you'll need to read the man page. Checkout xterm, dtterm and hpterm for the emulators, xclock for the clock details, and so on.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2007 07:23 PM
07-10-2007 07:23 PM
Re: Modifying the color settings of a UI that comes up thru Reflection X server
Once connected, I launch an installer (built using InstallAnywhere) executable. This brings up a GUI. I want to modify the settings (background and foreground colors) of this GUI. These do not get changed thru the .Xdefaults file.
Am i missing something?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2007 08:08 PM
07-10-2007 08:08 PM
Re: Modifying the color settings of a UI that comes up thru Reflection X server
With the file located in the users home directory, it is valid for this specific user only.
I don't understand why you want to waste time by changing the colors of an installer ... btw, how did you modify the file?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2007 08:14 PM
07-10-2007 08:14 PM
Re: Modifying the color settings of a UI that comes up thru Reflection X server
When the installer is run, a window pops up with blue background and black foreground...When I click next, another window comes which is blank (the entire screen is filled with blue color). Text doesnt display there...When I select the screen and paste it onto notepad, I see test...That means somehow for the particular screen, the background and foreground colors are getting the same...So thats why i thought of finding a way to modify the color settings and see if that helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2007 08:15 PM
07-10-2007 08:15 PM
Re: Modifying the color settings of a UI that comes up thru Reflection X server
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2007 08:18 PM
07-10-2007 08:18 PM
Re: Modifying the color settings of a UI that comes up thru Reflection X server
Do you have other applications with a GUI running?
I remember netscape in the good old days complaining about all color table entries were already taken, it came up with only 16 colors or so ...
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2007 11:56 PM
07-10-2007 11:56 PM
Re: Modifying the color settings of a UI that comes up thru Reflection X server
Defining colors and fonts in Xwindows is a rather large topic -- hopefully, Macrovision can supply you with a sample list of settable Xresources. This has got to be a very frequently asked question for them. This is all I found at Macrovision support:
http://support.installshield.com/kb/view.asp?articleid=Q000049
and it appears to be a very generalized answer. That's a common problem when dealing with a PC product that was ported to Unix - Xwindows isn't even mentioned in their knowledge documents. You might also try their community bulletin board.
Bill Hassell, sysadmin