<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic changing worksapce name in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-worksapce-name/m-p/2464343#M772791</link>
    <description>I want to notify start and end of programs by changing workspace name or color in the CDE environment.&lt;BR /&gt;Is it possible to do it dynamically ?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
    <pubDate>Mon, 13 Nov 2000 14:28:44 GMT</pubDate>
    <dc:creator>Dedieu</dc:creator>
    <dc:date>2000-11-13T14:28:44Z</dc:date>
    <item>
      <title>changing worksapce name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-worksapce-name/m-p/2464343#M772791</link>
      <description>I want to notify start and end of programs by changing workspace name or color in the CDE environment.&lt;BR /&gt;Is it possible to do it dynamically ?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 13 Nov 2000 14:28:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-worksapce-name/m-p/2464343#M772791</guid>
      <dc:creator>Dedieu</dc:creator>
      <dc:date>2000-11-13T14:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: changing worksapce name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-worksapce-name/m-p/2464344#M772792</link>
      <description>It possibly could be done but I'd have to check,test &amp;amp; play.&lt;BR /&gt;&lt;BR /&gt;A far better suggestion would be to use CDE's in built functionality !&lt;BR /&gt;&lt;BR /&gt;see the Advanced Users &amp;amp; System Administrators Guide P 231-232 and consider using the MONITOR_TYPE action : &lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Nov 2000 15:11:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-worksapce-name/m-p/2464344#M772792</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2000-11-13T15:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: changing worksapce name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-worksapce-name/m-p/2464345#M772793</link>
      <description>&lt;BR /&gt;We use a script and xdialog to send colored popup messages to users X displays when an event occurs. Heres an example;&lt;BR /&gt;&lt;BR /&gt;/usr/local/bin/xdialog -display orion:0   -bg red -fg black   -t "************BACKUP FAILED**********"   -O "Display $LOGFILE" -o   -m " BACKUP FAILED on $HOSTNAME "&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Nov 2000 15:17:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-worksapce-name/m-p/2464345#M772793</guid>
      <dc:creator>Carol Garrett</dc:creator>
      <dc:date>2000-11-13T15:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: changing worksapce name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-worksapce-name/m-p/2464346#M772794</link>
      <description>more informations,&lt;BR /&gt;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. &lt;BR /&gt;How do you do to change workspace name (c function, dtksh function, ... )  ?&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Mon, 13 Nov 2000 15:39:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-worksapce-name/m-p/2464346#M772794</guid>
      <dc:creator>Dedieu</dc:creator>
      <dc:date>2000-11-13T15:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: changing worksapce name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-worksapce-name/m-p/2464347#M772795</link>
      <description>The names of the workspaces is controlled by the X resource;&lt;BR /&gt;&lt;BR /&gt;Dtwm*0*wsX*title&lt;BR /&gt;&lt;BR /&gt;Where X is 0 for workspace One, 1 for Two etc. You can see its current setting (if not the default) by doing;&lt;BR /&gt;&lt;BR /&gt;xrdb -query | grep -i dtwm&lt;BR /&gt;&lt;BR /&gt;You can then change it by doing;&lt;BR /&gt;xrdb -merge &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;Dtwm*0*wsX*title:   NEWNAME&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Nov 2000 16:10:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-worksapce-name/m-p/2464347#M772795</guid>
      <dc:creator>Carol Garrett</dc:creator>
      <dc:date>2000-11-13T16:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: changing worksapce name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-worksapce-name/m-p/2464348#M772796</link>
      <description>Have a read of man DtWsmSetCurrentWorkspace, it maybe what you are after ?</description>
      <pubDate>Tue, 14 Nov 2000 08:07:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-worksapce-name/m-p/2464348#M772796</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2000-11-14T08:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: changing worksapce name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-worksapce-name/m-p/2464349#M772797</link>
      <description>OK, OK, i restart from the beginning&lt;BR /&gt;&lt;BR /&gt;i have a multi workspace CDE environment where each of these workspace is assigned to an application.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;For instance, suppose i have 2 workspaces : 1 named Netscape and the other Emacs.&lt;BR /&gt;&lt;BR /&gt;In the case Netscape is running, i'd like to change the name for "Netscape *" for instance, the "*" showing the running state. &lt;BR /&gt;Another solution would be to switch the color of the workspace button in the front panel switch component.&lt;BR /&gt;&lt;BR /&gt;So i'm looking for a way to do any of these solutions dynamically, regarding the applications running state.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Gerard Dedieu</description>
      <pubDate>Tue, 14 Nov 2000 09:02:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-worksapce-name/m-p/2464349#M772797</guid>
      <dc:creator>Dedieu</dc:creator>
      <dc:date>2000-11-14T09:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: changing worksapce name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-worksapce-name/m-p/2464350#M772798</link>
      <description>I can't think of a way, but did you check my first suggestion out fully ?&lt;BR /&gt;&lt;BR /&gt;If you chose to launch your applications from icons on the front panel, could you not&lt;BR /&gt;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 ?&lt;BR /&gt;&lt;BR /&gt;fyi I do have a program which starts an application is a desired workspace though</description>
      <pubDate>Tue, 14 Nov 2000 09:18:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-worksapce-name/m-p/2464350#M772798</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2000-11-14T09:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: changing worksapce name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-worksapce-name/m-p/2464351#M772799</link>
      <description>OK, i will go to change icon color.&lt;BR /&gt;&lt;BR /&gt;Where can i find an example for starting an application, no ICCCM compliant, in a specific workspace ?</description>
      <pubDate>Tue, 14 Nov 2000 09:32:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-worksapce-name/m-p/2464351#M772799</guid>
      <dc:creator>Dedieu</dc:creator>
      <dc:date>2000-11-14T09:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: changing worksapce name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-worksapce-name/m-p/2464352#M772800</link>
      <description>try attached binary switch  : I use CDE's sessionetc script functionality with it  :&lt;BR /&gt;&lt;BR /&gt;vi $HOME/.dt/sessions/sessionetc    (script so make sure executable)&lt;BR /&gt;&lt;BR /&gt;./switch netscape &lt;BR /&gt;&lt;BR /&gt;/opt/bin/netscape &amp;amp;&lt;BR /&gt;&lt;BR /&gt;sleep 10&lt;BR /&gt;&lt;BR /&gt;./switch emacs&lt;BR /&gt;&lt;BR /&gt;/usr/contrib/bin/emacs &amp;amp; &lt;BR /&gt;&lt;BR /&gt;etc etc</description>
      <pubDate>Tue, 14 Nov 2000 09:48:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-worksapce-name/m-p/2464352#M772800</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2000-11-14T09:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: changing worksapce name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-worksapce-name/m-p/2464353#M772801</link>
      <description>There actually is a documented function to set workspace titles in the CDE 2.1 release that is part of HP-UX 11.00.  You can use the DtWsmSetWorkspaceTitle function.  Unfortunately, the new function is not exported from libDtSvc.sl yet.  It can be found in libDtSvc.a.  There is also an undocumented equivalent function, _DtWsmSetWorkspaceTitle, which is present in libDtSvc.sl on both 10.x and 11.00.&lt;BR /&gt;I have attached an example program that will set the title of either the current workspace or a specific workspace such as ws0.  It will use the undocumented function if built on 10.20.  The 10.20 built executable does work when run on 11.00, but does not change a title when run on 10.20 and directed to an 11.0 X server.</description>
      <pubDate>Wed, 15 Nov 2000 19:36:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-worksapce-name/m-p/2464353#M772801</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2000-11-15T19:36:00Z</dc:date>
    </item>
  </channel>
</rss>

