- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Occupying of multiple workspaces
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 07:50 PM
04-02-2002 07:50 PM
Occupying of multiple workspaces
Would appreciate if someone can advise how can I start a hpterm in the X-window environment and have it automatically occupying all workspaces instead of me having to click on the "Occupy all workspace" under the menu. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 08:18 PM
04-02-2002 08:18 PM
Re: Occupying of multiple workspaces
Have a look at this posting and also the document I've added to the bottom. I hope that they are of some assistance.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xccf5c6af36b7d5118ff10090279cd0f9,00.html
CDE: How can I start clients in a particular workspace?
Current Path Home
Score : 0
Document Type : EN
Date : 1998 Aug 09
Description : CDE: How can I start clients in a particular workspace?
Document Id : A4998451
Search String :
You may provide feedback on this document
View the printer friendly version of this document
--------------------------------------------------------------------------------
Problem Description
When using HP CDE, how can I start
clients in a particular workspace?
Configuration Info
Operating System - HP-UX
Version - 10.20
Hardware System - HP 9000
Series - D370
Solution
There are several ways to accomplish this.
The simplest is to do this manually after
an application is started up using the pull
down menu from the title bar.This will activate
the "Occupy Workspace" dialog window for that
application. You can then specify particular
workspaces or all workspaces using the mouse.
The other methods outlined below have various
limitations that don't allow them to work with
all applications or in particular circumstances.
If an application is coded in such a way as to
use XtAppInitialize to initialize the display and
create a top-level shell then the following solution
should work.
To start clients in a nominated workspace rather
than the current occupied workspace, you can use
the following command line option:
-xrm "*workspaceList: (workspace name)"
* Note: The double quotes are necessary for the
command to work.
You may also specify more than one workspace for
the client to appear in. To do this, separate the
workspace names with spaces. The following is an
example of starting a hpterm window in workspaces
Four and Five:
hpterm -xrm "*workspaceList: Four Five" &
For CDE, it is recommend using the built-in workspace
default names (ws0, ws1, ws2, etc.) instead of your
personal workspace names. The built-in defaults will
continue to work even if you rename your workspaces.
Not all clients support the use of the xrm option. To
determine whether a specific client does accept this
option, you will need to check the man page for that
client.
Also, the *workspaceList resource is not an application
resource, but is instead passed onto and parsed by the
window manager. Applications typically do not have a
workspaceList resource. The described behavior is a
feature. Since the application does not have a workspaceList
resource, the resource specification is passed on to
the X Toolkit. Because the X Toolkit does not recognize
a workspaceList resource, it does not remove the resource
specification from the command line. Instead, it ends up
in the WM_COMMAND property of the hpterm window. The
window manager (vuewm or dtwm) sees the workspaceList
resource specification in the property, parses it, and
then places the window in the specified workspace.
This process only occurs when the -xrm option is used to
specify the workspaceList value on the command line. There
is no method for specifying a workspace for specific
instances of hpterm through the resource database.
CDE has documented Workspace Manager functions that enable
an application to correctly deal with occupying particular
workspaces. These are described in the CDE programming
manuals and the DtWsm man page. To take advantage of this,
the application will have to incorporate additional code
and be linked against the CDE libraries (libDtSvc in
particular). There is example code that illustrates the
functions that get installed with the CDE Development kit.
This code is located in /usr/dt/share/examples/dtwsm.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 08:19 PM
04-02-2002 08:19 PM
Re: Occupying of multiple workspaces
follow this :
- make your window occupied workspaces that you want , (some or all).
- select style manager then select startup.
- select "set home session" then OK
- make sure that atlogin , return to home session was selected , then OK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 08:50 PM
04-02-2002 08:50 PM
Re: Occupying of multiple workspaces
I cannot use the switch command as it is one single application which needs to show up in all the workspaces.
I am unable to use the startup setting as well as the application will not appear in all workspace after we restart the application. Any other approach to this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 09:16 PM
04-02-2002 09:16 PM
Re: Occupying of multiple workspaces
you could put the "*workspaceList: Four Five" resource into your "$HOME/.Xdefaults" file (well, your users' $HOME's) - next time they start the application it should appear in all (choosen) workspaces:
$HOME/.Xdefaults:
dtterm*workspaceList: One Two Three
dtpad*workspaceList: One Two Three
xclock*workspaceList: One Two
If you then start "xclock" it would be visible in workspaces "One" and "Two", but "dtpad" (that's the "Editor" icon on the front panel) would be visible in three workspaces (One to Three)...
HTH,
Wodisch