bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Launching Apps to different desktops


From: Mike Stroyan
Subject: Re: Launching Apps to different desktops
Date: Thu, 7 Feb 2008 23:25:57 -0700
User-agent: Mutt/1.5.15+20070412 (2007-04-11)

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 <mike@stroyan.net>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]