Operating System - HP-UX
1835551 Members
2674 Online
110078 Solutions
New Discussion

CDE - setting application window to default to all workspaces

 
SOLVED
Go to solution
David Mores
Frequent Advisor

CDE - setting application window to default to all workspaces

When I startup a particular application from a CDE desktop window, I would like it to appear in all workspaces. I know I can do this from the '-' popup menu after the application is running. But I would rather be able to set this as the default for the particular application. Can you give me the details on how to do this in CDE - i.e. file(s) to edit, what to add - an example?

Thanks,
Dave
6 REPLIES 6
RAC_1
Honored Contributor

Re: CDE - setting application window to default to all workspaces

Logon onto CDE.

Start the pplication you want. Choose style manger. choose startup.
choose return to home session and choose set home session. do this for all workspaces.

Anil
There is no substitute to HARDWORK
David Mores
Frequent Advisor

Re: CDE - setting application window to default to all workspaces

Anil - sorry, your reply does not cover what I am looking for. I do not want the application to startup at login, since I may or may not want to use the application in a given login session.
RAC_1
Honored Contributor
Solution

Re: CDE - setting application window to default to all workspaces

Seems that it is possible. Found the following link for you.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=59054

Anil
There is no substitute to HARDWORK
Mike Stroyan
Honored Contributor

Re: CDE - setting application window to default to all workspaces

If an application will accept the -xrm option and will put its command line arguments in a WM_COMMAND property, then you can set CDE workspaces with an option. The window manager will actually notice the -xrm option in the property and use it to determine which workspaces to place the window in. Programs using the Xt toolkit will usually work with this approach. Here are some examples.

dtterm -xrm "*workspaceList: all"
or
dtterm -xrm "*workspaceList: Two Three"
or
dtterm -xrm "*workspaceList: ws0 ws1 ws2"
David Mores
Frequent Advisor

Re: CDE - setting application window to default to all workspaces

Ani and Mike - thanks for your replys. This is great info that I can use, and I think we are almost where I want to be.

What I am looking for is to put this info in a CDE related file such that CDE know that this program/list of programs should always be available in all workspaces. I did this with the old Sun Openwindows virtual window manager using a line in my .Xdefaults like this:

OpenWindows.VirtualSticky: Console clock Perfmeter Mail Calendar Netscape xmcd

Is there a similar resource for CDE?

Thanks,
Dave
Mike Stroyan
Honored Contributor

Re: CDE - setting application window to default to all workspaces

There is no CDE resource that affects the initial workspace presence of a class of applications. The closest you could come to that is embedding a particular client name in the front panel, which is always in all workspaces.