[openbox] How to maximize,undecorate window once?

James Stortz james.ryan.stortz at gmail.com
Tue Sep 1 18:00:35 EDT 2015


Thanks.

Each application instance has to be launched automatically. I'm launching 4
web browsers at startup and they need to each be on their own desktop
workspace.

After that, I want the browser to launch as normal.

I thought I just had a way to do it, a simple little trick, but not
working!

mv /usr/bin/midori /usr/bin/midori.1
midori.1 -c cfg &

mv /usr/bin/midori.1 /usr/bin/midori.2
midori.2 -c cfg &

mv /usr/bin/midori.2 /usr/bin/midori

That will change the WM_CLASS to midori.1 and midori.2. Actually kinda
cool. Thought it would work, but again it's too fast. Didn't want to use
sleep, but even when I tried that it oddly set both to midori.1, even
though it was called with midori.2!



James

On Tue, Sep 1, 2015 at 9:33 PM, Ian Zimmerman <itz at buug.org> wrote:

> On 2015-09-01 20:52 +0000, James Stortz wrote:
>
> > Good evening! I need to know how to selectively open windows with
> temporary
> > options. It's easy enough to set them in the rc.xml, which is great! Any
> > suggestions as to what might be possible? Doesn't seem to be a
> programmatic
> > way to do it, like an API.
> >
> > For example, is it possible to set the _OB_CLASS or _OB_NAME or _OB_ROLE
> or
> > something before launching an app?
>
> This is the type of question that's asking for:
>
> Why?
>
> If I know what you're really trying to do, I may have a better answer :-P
>
> --
> Please *no* private copies of mailing list or newsgroup messages.
> Rule 420: All persons more than eight miles high to leave the court.
>
> _______________________________________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/listinfo/openbox
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/openbox/attachments/20150901/d36cc160/attachment.html>


More information about the openbox mailing list