<div dir="ltr">Does linking the binary give it a diff class name?<div><br></div><div>ln -s /usr/bin/midori /usr/bin/midori.1</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 1, 2015 at 3:00 PM, James Stortz <span dir="ltr"><<a href="mailto:james.ryan.stortz@gmail.com" target="_blank">james.ryan.stortz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace;font-size:small;color:#000000">Thanks.</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small;color:#000000">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.</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small;color:#000000">After that, I want the browser to launch as normal.</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small;color:#000000">I thought I just had a way to do it, a simple little trick, but not working! </div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small;color:#000000">mv /usr/bin/midori /usr/bin/midori.1</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small;color:#000000">midori.1 -c cfg &</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small;color:#000000">mv /usr/bin/midori.1 /usr/bin/midori.2</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small;color:#000000">midori.2 -c cfg &</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small;color:#000000">mv /usr/bin/midori.2 /usr/bin/midori</div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small;color:#000000">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!</div><span class="HOEnZb"><font color="#888888"><div class="gmail_default" style="font-family:courier new,monospace;font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small;color:#000000"><br></div><div class="gmail_default" style="font-family:courier new,monospace;font-size:small;color:#000000">James</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 1, 2015 at 9:33 PM, Ian Zimmerman <span dir="ltr"><<a href="mailto:itz@buug.org" target="_blank">itz@buug.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 2015-09-01 20:52 +0000, James Stortz wrote:<br>
<br>
> Good evening! I need to know how to selectively open windows with temporary<br>
> options. It's easy enough to set them in the rc.xml, which is great! Any<br>
> suggestions as to what might be possible? Doesn't seem to be a programmatic<br>
> way to do it, like an API.<br>
><br>
</span><span>> For example, is it possible to set the _OB_CLASS or _OB_NAME or _OB_ROLE or<br>
> something before launching an app?<br>
<br>
</span>This is the type of question that's asking for:<br>
<br>
Why?<br>
<br>
If I know what you're really trying to do, I may have a better answer :-P<br>
<span><font color="#888888"><br>
--<br>
Please *no* private copies of mailing list or newsgroup messages.<br>
Rule 420: All persons more than eight miles high to leave the court.<br>
<br>
_______________________________________________<br>
openbox mailing list<br>
<a href="mailto:openbox@icculus.org" target="_blank">openbox@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/openbox" rel="noreferrer" target="_blank">http://icculus.org/mailman/listinfo/openbox</a></font></span></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
openbox mailing list<br>
<a href="mailto:openbox@icculus.org">openbox@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/openbox" rel="noreferrer" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br></blockquote></div><br></div>