- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: changing worksapce name
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
Discussions
Discussions
Forums
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
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
тАО11-13-2000 06:28 AM
тАО11-13-2000 06:28 AM
Is it possible to do it dynamically ?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2000 07:11 AM
тАО11-13-2000 07:11 AM
Re: changing worksapce name
A far better suggestion would be to use CDE's in built functionality !
see the Advanced Users & System Administrators Guide P 231-232 and consider using the MONITOR_TYPE action :
An icon can change colour, say red to green once the task or process is done, in a similar way a letter appears over your mail icon on the front panel when you have new mail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2000 07:17 AM
тАО11-13-2000 07:17 AM
Re: changing worksapce name
We use a script and xdialog to send colored popup messages to users X displays when an event occurs. Heres an example;
/usr/local/bin/xdialog -display orion:0 -bg red -fg black -t "************BACKUP FAILED**********" -O "Display $LOGFILE" -o -m " BACKUP FAILED on $HOSTNAME "
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2000 07:39 AM
тАО11-13-2000 07:39 AM
Re: changing worksapce name
i only use, in my CDE bar, the switch component. When the workspace changes, i start, if needed, the associated application (1 workspace = 1 application). So when an application is started in a workspace, i don't know it, except if i change the workspace name.
How do you do to change workspace name (c function, dtksh function, ... ) ?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2000 08:10 AM
тАО11-13-2000 08:10 AM
Re: changing worksapce name
Dtwm*0*wsX*title
Where X is 0 for workspace One, 1 for Two etc. You can see its current setting (if not the default) by doing;
xrdb -query | grep -i dtwm
You can then change it by doing;
xrdb -merge <
EOF
But this doesnt update your CDE display immediately, you have to restart the workspace manager in order for it to be displayed. This is not going to be very helpful for your users having to restart the workspace manager just to update the name. Best to use some tool where you can control name (the title of the window) and color more dynamically, like using xdialog.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2000 12:07 AM
тАО11-14-2000 12:07 AM
Re: changing worksapce name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2000 01:02 AM
тАО11-14-2000 01:02 AM
Re: changing worksapce name
i have a multi workspace CDE environment where each of these workspace is assigned to an application.
What i attend to do is to be able to tell the user what are the running applications without he has to switch from every workspace to the others.
For instance, suppose i have 2 workspaces : 1 named Netscape and the other Emacs.
In the case Netscape is running, i'd like to change the name for "Netscape *" for instance, the "*" showing the running state.
Another solution would be to switch the color of the workspace button in the front panel switch component.
So i'm looking for a way to do any of these solutions dynamically, regarding the applications running state.
Regards,
Gerard Dedieu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2000 01:18 AM
тАО11-14-2000 01:18 AM
Re: changing worksapce name
If you chose to launch your applications from icons on the front panel, could you not
change their appearance to indicate if the application was running or not and name the workspaces accordingly depending upon which application was running in each ?
fyi I do have a program which starts an application is a desired workspace though
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2000 01:32 AM
тАО11-14-2000 01:32 AM
Re: changing worksapce name
Where can i find an example for starting an application, no ICCCM compliant, in a specific workspace ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2000 01:48 AM
тАО11-14-2000 01:48 AM
Re: changing worksapce name
vi $HOME/.dt/sessions/sessionetc (script so make sure executable)
./switch netscape
/opt/bin/netscape &
sleep 10
./switch emacs
/usr/contrib/bin/emacs &
etc etc