Operating System - HP-UX
1826345 Members
3872 Online
109692 Solutions
New Discussion

Re: CDE: How do I change default color and screen size when starting terminal session from CDE task bar?

 
SOLVED
Go to solution
Jack C. Mahaffey
Super Advisor

CDE: How do I change default color and screen size when starting terminal session from CDE task bar?


I'd like to changed the default color and size for my terminal session when clicking on the terminal icon on the CDE desktop.

What files do I need to change?

jack...
5 REPLIES 5
Alex Glennie
Honored Contributor
Solution

Re: CDE: How do I change default color and screen size when starting terminal session from CDE task bar?

the default terminal is a dtterm so ....

vi $HOME/.Xdefaults and add ...
Dtterm* : value where the resource comes from those listed in man dtterm

eg :

Dtterm*foreground:Wheat
Dtterm*background:MidnightBlue
Dtterm*geometry: 80x24

..... for changes to take effect log out of cde then back in
hpuxrox
Respected Contributor

Re: CDE: How do I change default color and screen size when starting terminal session from CDE task bar?

Or you can create a new action and add it to your bar.

/usr/dt/bin/dtcreate

and add in "Command Field" something like,

dtterm -bg black

Then Save and drag and drop to your bar.

S.K. Chan
Honored Contributor

Re: CDE: How do I change default color and screen size when starting terminal session from CDE task bar?

Example of running dtterm from command line ..

# dtterm -foreground red -background white -geometry 80x80
Jeffrey Davis_1
Frequent Advisor

Re: CDE: How do I change default color and screen size when starting terminal session from CDE task bar?

Hi. Changes can be made either globally or on a per/window basis in the files mentioned above I believe. But I don't think you can change the color effects once a window is open. All you can do is manually adjust the window size.

You can also go through 'style manager' from the cde tool bar and set your changes this way.
'style manager-color'
'style manager-font'
'style manager-window'
Then set your session to either 'resume current session' or set this session setup as your default session.
'style manager-startup'
Jack C. Mahaffey
Super Advisor

Re: CDE: How do I change default color and screen size when starting terminal session from CDE task bar?

Thanks to all. Problem solved.

Jeff, I owe you a point. Just used the style manager and it also works great.


Thanks again...
jack...