Re: Launching Apps to different desktops

2008-02-07 Thread Mike Stroyan
On Thu, Feb 07, 2008 at 02:39:31PM -0800, HandyAndy0 wrote:
> 
> I need to write a bash script that launches several tasks. Two of the tasks
> are gui based. One needs to run in the current desktop, while the other in
> an alternate desktop of choice. Any clues? System: Red Hat Enterprise 4.

  This really isn't a bash topic.  It is specific to gnome and the particular
applications you are running.

  Gnome window managers will look for a _WIN_WORKSPACE property as described 
here-
http://developer.gnome.org/doc/standards/wm/c44.html#AEN46
But there seems to be no standard gtk or other toolkit option that will set that
property.  The eterm application has a '-D desktop' or '--desktop desktop'
option that will set that property.  If you are very lucky there may be
a similar option to the applications you are starting.

  Another approach is to use a wrapper application like kstart or
devilspie to set the property on the window after it starts to map.
That is likely to cause a visible flash as the application starts in the
current workspace before it is moved to the requested workspace.  I
expect you would need to add one of those rather than finding one in
RHEL4.

-- 
Mike Stroyan <[EMAIL PROTECTED]>




Launching Apps to different desktops

2008-02-07 Thread HandyAndy0

I need to write a bash script that launches several tasks. Two of the tasks
are gui based. One needs to run in the current desktop, while the other in
an alternate desktop of choice. Any clues? System: Red Hat Enterprise 4.

Thanks,
HandyAndy0
-- 
View this message in context: 
http://www.nabble.com/Launching-Apps-to-different-desktops-tp15345327p15345327.html
Sent from the Gnu - Bash mailing list archive at Nabble.com.