Operating System - HP-UX
1833287 Members
2903 Online
110051 Solutions
New Discussion

Re: ReflectionX colors for sam, swinstall etc..

 
SOLVED
Go to solution
Bill McNAMARA_1
Honored Contributor

ReflectionX colors for sam, swinstall etc..

My RX color scheme shows up black text on pale blue background which is real poor for overhead presentation.
How do I change the color of reflectionX bg/fg for X apps like sam and swinstall....

thanks,
bill
It works for me (tm)
11 REPLIES 11
Alex Glennie
Honored Contributor

Re: ReflectionX colors for sam, swinstall etc..


Bill,

I suspect they'll reflect the default desktop colour scheme ...so I'd go into stylemanager and either select a scheme that suits or create your own colour palette and save it.
Bill McNAMARA_1
Honored Contributor

Re: ReflectionX colors for sam, swinstall etc..

where's the style manager..!

Bill
It works for me (tm)
Bill McNAMARA_1
Honored Contributor

Re: ReflectionX colors for sam, swinstall etc..

see attachment, color selection is greyed out
It works for me (tm)
Alex Glennie
Honored Contributor

Re: ReflectionX colors for sam, swinstall etc..

CDE front panel -> look for the icon that looks like a combination of an artist colour palette,fonts,mouse and part of an Xclient window -> color and away you go

Laters

Alex
Alex Glennie
Honored Contributor

Re: ReflectionX colors for sam, swinstall etc..

Bill,

last reply is assumming you are accessing a full CDE session via RX. If you are not it may still work .... got to go .. won't be back till Tuesday ..... let me know how you get on ...
Victor BERRIDGE
Honored Contributor

Re: ReflectionX colors for sam, swinstall etc..

Hi Bill,
Ive given a try to:
hpterm -display 160.xx.xx.xxx:0.0 -n coucou -bg blue -fg white -fn rom13 -sb &
it does change the colors... and then I tred glance in text mode the display is acceptable

I cant change now (Im in CDE with xdmcp on a HP ) my window manager for I have too many vital sessions opened at the moment...

All the best
Victor
Charles Slivkoff
Respected Contributor
Solution

Re: ReflectionX colors for sam, swinstall etc..

I've been playing with GNOME under HP-UX and had to find some decent colors for the old Motif apps which don't pay attention to the GTK+ themes. I created ~/.Xdefaults with the values listed below. Ref/X should have a configuration option to specify a file in which you can place these settings. If Ref/X doesn't support the "cpp" macro definitions (#define), you will have to copy the color values to each line, etc. These settings seem to do a pretty good job at simulating the behavior of the CDE/VUE color palette feature. Feel free to find a color combination that works good for you.



-chuck







#define WHITE #FFFFFF

#define BLACK #000000

#define TEAL #57777f

#define OLIVE #8E8E74

#define NAVY #2b3856



#define FG WHITE

#define BG OLIVE

#define TEXT NAVY

#define DIALOG TEAL

#define MENU TEAL



*foreground: FG

*background: BG

*XmText.background: TEXT

*XmTextField.background: TEXT

*XmList.background: TEXT

*XmRowColumn*background: MENU

*XmDialogShell*background: DIALOG

*XmDialogShell*XmText.background: TEXT

*XmDialogShell*XmTextField.background: TEXT

*XmDialogShell*XmList.background: TEXT

*XmMenuShell*background: MENU

*XmBulletinBoard*background: DIALOG

*XmBulletinBoard*XmText.background: TEXT

*XmBulletinBoard*XmTextField.background: TEXT

*XmBulletinBoard*XmList.background: TEXT

Bill McNAMARA_1
Honored Contributor

Re: ReflectionX colors for sam, swinstall etc..

Hey Chuck!!
How are things!
It's been a while.. you're still in Xsupport then ?!

Later,
Bill
It works for me (tm)
Bill McNAMARA_1
Honored Contributor

Re: ReflectionX colors for sam, swinstall etc..

I'm not in an Xdmcp connection, just an export Display to rx node ip.
When launching sam I get the attached.
It's this that I'm trying to change.
It works for me (tm)
Bill McNAMARA_1
Honored Contributor

Re: ReflectionX colors for sam, swinstall etc..

Chucks suggestion did the trick.
The define didn't work but all the colors in man mwm and #FFFFFF did.
You gotta watch out for little spaces at the end of the hex color too.

Later,
Bill
It works for me (tm)
Charles Slivkoff
Respected Contributor

Re: ReflectionX colors for sam, swinstall etc..

Hi ya Bill,



I noticed your name, but didn't check your profile, otherwise I might have made the connection.



Yep, still doing the X support thing. Those darn Netstations are still around too ;-) & so are Arif & Bob M.



Thanks for the "10"!