<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">> A boolean (yes/no) which says if the startup notification protocol should be used to notify other programs that an application is launching. </span><br><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">That's what you want. When it's enabled then openbox can tell what desktop it launched from.</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 2, 2014 at 11:48 PM,  <span dir="ltr"><<a href="mailto:meino.cramer@gmx.de" target="_blank">meino.cramer@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Dana Jansens <<a href="mailto:danakj@orodu.net">danakj@orodu.net</a>> [14-09-28 01:28]:<br>
</span><div><div class="h5">> On Sep 27, 2014 2:27 PM, <<a href="mailto:meino.cramer@gmx.de">meino.cramer@gmx.de</a>> wrote:<br>
> ><br>
> > Dana Jansens <<a href="mailto:danakj@orodu.net">danakj@orodu.net</a>> [14-09-27 17:20]:<br>
> > > On Sat, Sep 27, 2014 at 3:08 AM, <<a href="mailto:meino.cramer@gmx.de">meino.cramer@gmx.de</a>> wrote:<br>
> > ><br>
> > > > Hi,<br>
> > > ><br>
> > > > I am using eight desktops with Openbox on Gentoo linux.<br>
> > > ><br>
> > > > There are ways to start an application on a certain<br>
> > > > desktop via configuration. Or in other words: It doesn't<br>
> > > > matter where a choose -- for example -- firefox from<br>
> > > > the menu...its window will alway pop up on -- say --<br>
> > > > desktop 4.<br>
> > > ><br>
> > > > I am looking for something different. I want to choose the desktop<br>
> > > > via -- for example -- tint2. Select "firefox" via menu/commandline<br>
> > > > or what else and change to another desktop.<br>
> > > > After firefox has collected all its bits and pieces it should appear<br>
> > > > on that desktop from where I started firefox and where I am currently.<br>
> > > ><br>
> > > > Is it possible via openbox? ...or maybe via a helper tool?'<br>
> > > ><br>
> > ><br>
> > > If the thing you launch the app with supports the startup notification<br>
> > > protocol, that should "just work". To tell, see if it uses<br>
> > > libstartupnotification maybe.<br>
> > ><br>
> > ><br>
> > > ><br>
> > > > Thank you very much in advance for any help!<br>
> > > ><br>
> > > > Best regards,<br>
> > > > mcc<br>
> > > ><br>
> > > ><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" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
> > > ><br>
> ><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" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
> ><br>
> > Openbox pulls<br>
> >         libstartup-notification-1.so.0 =><br>
> /usr/lib64/libstartup-notification-1.so.0 (0x00007f0bb20ca000)<br>
> ><br>
> > . How can I tell openbox to do, what I want, if I use openboxs menus?<br>
><br>
> See the documentation for the execute action on the website. It has options<br>
> for that.<br>
><br>
> > Best regards.<br>
> > mcc<br>
> ><br>
> ><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" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
<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" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
<br>
</div></div>Hi Dana,<br>
<br>
I checked  the doc and found the topic "execute".<br>
This is the text:<br>
 Execute<br>
<br>
Runs a program.<br>
Option  Default Value   Description<br>
<command>       ""      A string which is the command to be executed, along with any arguments to be passed to it. The "~" tilde character will be expanded to your home directory, but no other shell expansions or scripting syntax may be used in the command unless they are passed to the sh command. Also, the & character must be written as &amp; in order to be parsed correctly. <execute> is a deprecated name for <command>.<br>
<prompt>        none    A string which Openbox will display in a popup dialog, along with "Yes" and "No" buttons. The execute action will only be run if you choose the "Yes" button in the dialog.<br>
Startup notification<br>
<br>
You can use the startup notification protocol to tell everyone that an application is starting up. This can be used with most applications, but should not be used with old-style xterminals such as xterm, urxvt, aterm, etc, unless you include the command unset DESKTOP_STARTUP_ID in your shell's ~/.zshrc, ~/.bashrc or equivalent startup script.<br>
<br>
Startup notification has these options, which are included inside the Execute action, in a <startupnotify> tag:<br>
Option  Default Value   Description<br>
<enabled>       no      A boolean (yes/no) which says if the startup notification protocol should be used to notify other programs that an application is launching. This is disabled by default to avoid it being used for old-style xterminals.<br>
<wmclass>       none    A string specifying one of the values that will be in the application window's WM_CLASS property when the window appears. This is not needed for applications that support the startup-notification protocol.<br>
<name>  none    The name of the application which is launching. If this option is not used, then the command itself will be used for the name.<br>
<icon>  none    The icon of the application which is launching. If this option is not used, then the command itself will be used to pick the icon.<br>
<br>
>From my point of view none of what is described does what I want to<br>
accieve.<br>
<br>
How can I acchieve, what I want.<br>
<br>
Best<br>
<div class="HOEnZb"><div class="h5">mcc<br>
<br>
<br>
<br>
<br>
<br>
<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" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
</div></div></blockquote></div><br></div>