Operating System - HP-UX
1832777 Members
3288 Online
110045 Solutions
New Discussion

Re: Modifying XWindows/CDE terminals (title bar, buttons, menus)

 
SOLVED
Go to solution
Mike_316
Frequent Advisor

Modifying XWindows/CDE terminals (title bar, buttons, menus)

Hey Gang,

I am trying to figure out how to modify the base configurations for ALL xterminals/xwindows opened on a system. I would like to disable, or remove completely, the control buttons from the title bar (or even remove the title bar in its entirety.)

Help!

Thanks!
Mike
"If we treated each person we met as if they were carrying an unspeakable burden, we might treat each other as we should" - Dale Carnegie
3 REPLIES 3
Sanjiv Sharma_1
Honored Contributor

Re: Modifying XWindows/CDE terminals (title bar, buttons, menus)

To get you started, please check this link:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=93727
Everything is possible
Wodisch
Honored Contributor
Solution

Re: Modifying XWindows/CDE terminals (title bar, buttons, menus)

Hi Mike,

then all you have to configure is your "Window Manager", perhaps "dtwm" (the one used by CDE).
So look for what is called "decoration" in the resource list of "dtwm", i.e. "man dtwm" and put the lines of interest into your "$HOME/.Xdefaults". Then load and use those by either logging off an on again, or executing:
xrdb -merge $HOME/.Xdefaults
#Right-Mouse-Click into your Root-Window and choose "restart window manager"

FWIW,
Wodisch
Mike_316
Frequent Advisor

Re: Modifying XWindows/CDE terminals (title bar, buttons, menus)

WHEW! That got it! I figured it was somewhere in there...but I kept missing it! Adding "Dtwm*wMenuButtonClick2: false" to the ~/.Xdefaults file got it to do what I needed!

Thanks again for all the help!
Mike
"If we treated each person we met as if they were carrying an unspeakable burden, we might treat each other as we should" - Dale Carnegie