* [Q] osf 3.2c : how to add an application in th main panel ?
@ 1996-03-19 5:00 Bernard BARBIER
1996-03-20 5:00 ` Timothy Mooney
0 siblings, 1 reply; 2+ messages in thread
From: Bernard BARBIER @ 1996-03-19 5:00 UTC (permalink / raw)
Hello,
The subject is my question !
Could some body help me ? please ?
Cordialement,
Bernard.
If a train station is where a train stops, what is a workstation then
?...
--
Bernard BARBIER - CREATIS (CNRS 1216/INSA-ltsu/UCB/INSERM)
System-manager / Postmaster. - FRANCE -
e-mail : bernard@creatis.insa-lyon.fr Phone : (+33) 72 43 85 69
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Q] osf 3.2c : how to add an application in th main panel ?
1996-03-19 5:00 [Q] osf 3.2c : how to add an application in th main panel ? Bernard BARBIER
@ 1996-03-20 5:00 ` Timothy Mooney
0 siblings, 0 replies; 2+ messages in thread
From: Timothy Mooney @ 1996-03-20 5:00 UTC (permalink / raw)
In article <314EE88F.446B@creatis.insa-lyon.fr>,
Bernard BARBIER <Bernard.BARBIER@creatis.insa-lyon.fr> wrote:
>Hello,
>
>The subject is my question !
>Could some body help me ? please ?
[ this is really more appropriate for the alt.windows.cde newsgroup ]
Your question seems a bit ambigous. Do you mean you just want to add something
to the front panel so that when pushed the control starts an application, or
do you mean you want to embed a running X application (eg xload/xmeter) in the
front panel? The procedure is very different (but pretty easy, in either
case) depending on which it is you wish to do.
If all you wish to do is add a new control to the front panel, then look
through your $HOME/.dt/types/dtwm.fp (if you don't have one then
cp /usr/dt/appconfig/types/C/dtwm.fp $HOME/.dt/types/dtwm.fp
) and copy one of the Control statements in there, changing elements as
appropriate. Note that what you specify as the PUSH_ACTION must be a valid
Dt action -- if you don't have an action yet that starts the program you wish
to start then you need to create an action using CreateAction or by editing
your own action file(s). Check out the man page for `dtfpfile' and associated
man pages.
If you wish to embed a running X application in the front panel, then
1) arrange to have the application started when you log in, either via your
.dtprofile or via a saved session.
2) use the -name SomeNameHere argument when starting the application. For
example, if you wish to embed an xload in the front panel (ala HP VUE), then
when you start xload start it with (at least)
xload -name panelload
3) add the following to your $HOME/.dt/types/dtwm.fp:
CONTROL PanelLoad
{
TYPE client
CONTAINER_NAME Top
CONTAINER_TYPE BOX
POSITION_HINTS last
CLIENT_NAME panelload
CLIENT_GEOMETRY 46x46
}
the TYPE must be `client' and CLIENT_NAME must be same as was specified with
the -name argument to the X application, but change the rest as necessary.
I found it useful to add the following resources to my Dtwm resource file:
Dtwm*panelload*clientDecoration: none
Dtwm*panelload*Label*Justify: center
Let me know if you have questions.
Tim
--
Tim Mooney mooney@toons.cc.ndsu.nodak.edu
Information Technology Services (701) 231-1076 (Voice)
Room 242-J6, IACC Bldg. (701) 231-8541 (FAX)
North Dakota State University, Fargo, ND 58105
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1996-03-20 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-03-19 5:00 [Q] osf 3.2c : how to add an application in th main panel ? Bernard BARBIER
1996-03-20 5:00 ` Timothy Mooney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox