How to specify workspace when starting a program?

Chris Green chris at areti.co.uk
Wed Jun 8 00:09:42 CEST 2005


On Tue, Jun 07, 2005 at 11:28:39AM -0400, Erik Harrison wrote:
> 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.
> 
But rxvt for example *does* have command line options to do what I
want but xfce doesn't appear to understand them - or I don't know what
I need to set to get xfce to understand what I want.

-- 
Chris Green (chris at areti.co.uk)

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



More information about the Xfce mailing list