Re: Launch to workspace



On Tue, May 13, 2003 at 03:43:15PM +1200, Simon Liddington wrote:
> 
> I am using gnome on Mandrake 9.1 (metacity + gnome 2.2). I want to 
> launch a load of apps to particular workspaces on startup, most of them 
> aren't session aware so how can I do this?
> 
> Is there a command-line app launcher which can launch an app to a 
> particular workspace? If not would it be fairly simple to write and if 
> so can someone point me to some relevant documentation.
> 

You can use startup notification for this. i.e. if you use startup
notification when launching an app, metacity will keep it on the
workspace where it was active when it was launched (or the workspace 
of whatever-was-doing-the-launching's choice). You could use this 
to write a pretty simple command line tool like 
"launch-on-workspace <space number> <command line>"

See libstartup-notification, example programs and doc/*.txt therein.

Or you can use sawfish, etc. which let you do this by window class.

Havoc



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