GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Getting / Setting CDE Workspace Info
Operating System - HP-UX
1848377
Members
3445
Online
104025
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-03-2002 12:34 AM
04-03-2002 12:34 AM
Getting / Setting CDE Workspace Info
We have an application running under CDE that queries the X resources of a window for size and position information and also uses the window attributes to determine whether the window is mapped.
As a further refinement we would also like to know which workspace the window is mapped into.
Does anyone know how to do this?
Having obtained this information how can we re-apply it?
Cheers
Keith
As a further refinement we would also like to know which workspace the window is mapped into.
Does anyone know how to do this?
Having obtained this information how can we re-apply it?
Cheers
Keith
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 01:01 AM
04-03-2002 01:01 AM
Re: Getting / Setting CDE Workspace Info
How about something that will do the job a slightly different way ?
see attached switch program : you can use it to start your application on a desired workspace as the user logs into CDE when you use it in conjunction with their $HOME/.dt/sessions/sessionetc script See CDE advanced Users Guide. (may need to create this)
eg more sessionetc
#!/usr/bin/sh
/usr/contrib/bin/switch
/usr/dt/bin/dtcm &
sleep 10
/usr/contrib/bin/switch
/usr/dt/bin/dtterm &
etc ......
I've posted this before so for more advanced details do a search on say switch workspace and sessionetc ?
using the above method you'd know which workspace the application was started on : relies on user not renamming workspaces or moving /closing the applications down .....
or you could use it as a start to write your own routine ...
If you still have problems ... eg compiling the program : drop me an email .... I see you are in the UK ..... or post me yours with O/S details etc ....
see attached switch program : you can use it to start your application on a desired workspace as the user logs into CDE when you use it in conjunction with their $HOME/.dt/sessions/sessionetc script See CDE advanced Users Guide. (may need to create this)
eg more sessionetc
#!/usr/bin/sh
/usr/contrib/bin/switch
/usr/dt/bin/dtcm &
sleep 10
/usr/contrib/bin/switch
/usr/dt/bin/dtterm &
etc ......
I've posted this before so for more advanced details do a search on say switch workspace and sessionetc ?
using the above method you'd know which workspace the application was started on : relies on user not renamming workspaces or moving /closing the applications down .....
or you could use it as a start to write your own routine ...
If you still have problems ... eg compiling the program : drop me an email .... I see you are in the UK ..... or post me yours with O/S details etc ....
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP