How to specify workspace when starting a program?

Chris Green chris at
Tue Jun 7 00:02:08 CEST 2005

On Mon, Jun 06, 2005 at 10:29:28PM +0100, Chris Green wrote:
> On Mon, Jun 06, 2005 at 06:44:51PM +0200, Kristoffer wrote:
> > 
> > wmctrl doesn't work for this? it's not a sassy question, im seriously
> > wondering :)
> > 
> It may well work and I will be trying it soon, it's just that I tried
> devilspie first.  Reading about wmctrl it does sound as if it may suit
> me better than devilspie.
I have just tried wmctrl, it has one rather major problem/issue
that I can't see how to fix at the moment.

If you have something like:-

    /usr/local/firefox/firefox &

in $HOME/Desktop/Autostart/default, how can you then get wmctrl to run
*after* firefox has finished starting up?  If you run wmctrl in the
default file after starting firefox (or terminal windows) nothing
happens because wmctrl runs before the applications have started up.

It still strikes me that both these solutions are basically bodges to
fix something which should really be there to start with.

Chris Green (chris at

    "Never ascribe to malice that which can be explained by incompetence."

More information about the Xfce mailing list