How to specify workspace when starting a program?

Erik Harrison erikharrison at gmail.com
Tue Jun 7 17:28:39 CEST 2005


On 6/6/05, Chris Green <chris at areti.co.uk> wrote:
> 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.

Yes. They fix the applications which don't have command line options
for specifing the workspace they should start on. Much like -geometry
that you mention before.


> 
> --
> Chris Green (chris at areti.co.uk)
> 
>     "Never ascribe to malice that which can be explained by incompetence."
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce
> http://www.xfce.org
> 


-- 
"This brings me back to a time where I had no worries. 
All I needed to do was watch Perfect Strangers."
-Erik



More information about the Xfce mailing list