Re: Set Apps to Launch in Specific Workspaces?

"Valter Toffolo" <[email protected]>
Newsgroups gmane.comp.window-managers.fluxbox.user
Message-ID <[email protected]>
On Sun, Mar 23, 2008 at 9:13 PM, Phil Julian <[email protected]> wrote:
> Hi,
>
>  What's the command line to add to the ~/.fluxbox/startup file so that an
>  application is launched on log-in in a specific Workspace?
>
>  e.g. say I wanted to always have an Xterm open in Workspace 2 when I log-in?

nice question...
does a quantifier in the apps file solve your problem?
[app] (class=XTerm) {1}
  [Workspace]  {2}
[end]

if i wanted an xterm in workspace 3 an also two more xterm on
workspace 4 on specific positions, i would run from startup script
xtern -name WS3 and make a rule on apps file to match the window name
[app] (name=WS3)
  [Workspace]  {2}
[end]
and another rule for each xterm on workspace 4.

or i could use wmctrl to move each xterm to it's workspace but maybe
i'd have to use sleep so i'd rather keep on the other solution...

i wish there was some env variable or something i could set in order
to tell an application to run in a desired workspace, maybe there is,
but that's my two cents, hope it helps!

-- 
Health is merely the slowest possible rate at which one can die.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.