1830481 Members
2486 Online
110005 Solutions
New Discussion

dtterm border problem

 
SOLVED
Go to solution
Jaris Detroye
Frequent Advisor

dtterm border problem

I am using the following command "dtterm -bordercolor red -borderwidth 5"
But, no border is appearing. I am attempting to get cool looking borders like the ones gernerated with VirtualVault windows. Any idea why my color borders are not appearing?
7 REPLIES 7
Craig Rants
Honored Contributor

Re: dtterm border problem

Jaris,
Have you looked at your dtterm man page? I looked at mine, and did not see the -bordercolor option. Saw stuff like foreground and background colors. I know you can do this with xterm, option is -bd. Are you trying to use a different windowing environment like Afterstep or something?

Good Luck with making your windows cool,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Alex Glennie
Honored Contributor
Solution

Re: dtterm border problem

Craig I read mine ;)and the resources/cmd line flags are there !


Jaris I got this working easily enough : vi $HOME/.Xdefaults and add the resources :

Dtterm*borderColour: Red
Dtterm*borderWidth :


Jaris Detroye
Frequent Advisor

Re: dtterm border problem

I did not have a .Xdefaults file. But, after I created it and populated it with the entries you showed, it still did not show a border when I launched a new dtterm?
Also, I was looking for a way to set the border color for each window launched, not globally for all windows.
(Yes the dtterm man page DOES show all these options)
Alex Glennie
Honored Contributor

Re: dtterm border problem

restart X or your windows manager enviroment -CDE ? or use xrdb merge see man xrdb(1)

This is expected it will do it on the fly with some user intervention ;)
Alex Glennie
Honored Contributor

Re: dtterm border problem

If your using CDE you probably will get away with clicking on the root window and selecting : restart workspace manager. If it don't work exit out of CDE/ or whatever window manager and log back in and test.

ps .Xdfaults is not meant to be there by default.
Alex Glennie
Honored Contributor

Re: dtterm border problem

Lastly .... you could do it via the command line for each dtterm by using :

dtterm -xrm "*borderWidth: 10"

as to the colour resource me thinks CDE's desktop colour scheme/palette is overriding something as

dtterm -xrm "*borderColor: red" doesn't work ... Let me know how you get on, I'm going home now, allocate some points if any of the above work and I'll read your progress tomorrow ....

ps anyone else who want's a crack at this feel free ;)
Craig Rants
Honored Contributor

Re: dtterm border problem

What a pain, this took a little while but Whala! I should have know to call the xrm more than once. Anyway have fun with it.

dtterm -xrm 'Dtterm*borderWidth: 10' -xrm 'Dtterm*borderColor: red'

"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut