On Tue, 2008-01-08 at 11:24 -0600, Bob Friesenhahn wrote:
> On Tue, 8 Jan 2008, Brian Cameron wrote:
> > Unfortunately, I'm not sure how to specify which workspace
> > programs should be launched on.  Perhaps someone else could
> > help?
> 
> Right, this seems to be a key limitation.  Workspace is not being 
> saved in the session file and there seems to be no option to start a 
> client in a particular workspace.

I'll note it's not strictly a problem in GNOME's session management, but
in Metacity. In the past I've had sawfish remember window positions on
different workspaces, but it's quite fragile and at the moment it's not
working. I haven't played with much to try and fix it, but that's
because I have a hojillion tabs in my iceape's saved session which makes
logging in and out something I try and avoid.

> If there is a way to sent a "workspace change" event to metacity, then 
> the initialization could be entirely automated.  It seems possible 
> that such an event does exist since the Workspace Switcher applet 
> needs a way to tell metacity to switch workspaces.

Devil's Pie http://burtonini.com/blog/computers/devilspie can be used to
send windows from a particular application to a particular workspace.
More docs are at http://live.gnome.org/DevilsPie and
http://wiki.foosel.net/linux/devilspie

The protocol used by the workspace switcher is EWMH, and there's a
command-line program wmctrl http://www.sweb.cz/tripie/utils/wmctrl/ that
can be used to send messages to the window manager.

James Andrewartha

Reply via email to