[openbox] Always starting apllication on certain desktop

Mikael Magnusson mangosoft at comhem.se
Sat Jan 27 15:37:47 EST 2007


On Sat, 27 Jan 2007, Atte André Jensen wrote:

> Hi
>
> Is it possible to have openbox always start certain application on certain 
> desktops, for instance firefox on 1, thunderbird on 2, etc? If so, where can 
> I see an example of how to do it?

<applications>
... possibly other things ...
   <application name="foo" class="bar" role="hi">
     <desktop>0</desktop>
   </application>
...
</applications>

you only need one of name and foo, role is optional. Use xprop WM_CLASS 
and click on a window to see values, the first string is for name and the 
second for class, use xprop WM_WINDOW_ROLE to get the role if you want to 
use that.

--
Mikael Magnusson


More information about the openbox mailing list