[openbox] Starting application on a certain desktop ...

meino.cramer at gmx.de meino.cramer at gmx.de
Thu Oct 2 23:48:25 EDT 2014


Dana Jansens <danakj at orodu.net> [14-09-28 01:28]:
> On Sep 27, 2014 2:27 PM, <meino.cramer at gmx.de> wrote:
> >
> > Dana Jansens <danakj at orodu.net> [14-09-27 17:20]:
> > > On Sat, Sep 27, 2014 at 3:08 AM, <meino.cramer at gmx.de> wrote:
> > >
> > > > Hi,
> > > >
> > > > I am using eight desktops with Openbox on Gentoo linux.
> > > >
> > > > There are ways to start an application on a certain
> > > > desktop via configuration. Or in other words: It doesn't
> > > > matter where a choose -- for example -- firefox from
> > > > the menu...its window will alway pop up on -- say --
> > > > desktop 4.
> > > >
> > > > I am looking for something different. I want to choose the desktop
> > > > via -- for example -- tint2. Select "firefox" via menu/commandline
> > > > or what else and change to another desktop.
> > > > After firefox has collected all its bits and pieces it should appear
> > > > on that desktop from where I started firefox and where I am currently.
> > > >
> > > > Is it possible via openbox? ...or maybe via a helper tool?'
> > > >
> > >
> > > If the thing you launch the app with supports the startup notification
> > > protocol, that should "just work". To tell, see if it uses
> > > libstartupnotification maybe.
> > >
> > >
> > > >
> > > > Thank you very much in advance for any help!
> > > >
> > > > Best regards,
> > > > mcc
> > > >
> > > >
> > > > _______________________________________________
> > > > openbox mailing list
> > > > openbox at icculus.org
> > > > http://icculus.org/mailman/listinfo/openbox
> > > >
> >
> > > _______________________________________________
> > > openbox mailing list
> > > openbox at icculus.org
> > > http://icculus.org/mailman/listinfo/openbox
> >
> > Openbox pulls
> >         libstartup-notification-1.so.0 =>
> /usr/lib64/libstartup-notification-1.so.0 (0x00007f0bb20ca000)
> >
> > . How can I tell openbox to do, what I want, if I use openboxs menus?
> 
> See the documentation for the execute action on the website. It has options
> for that.
> 
> > Best regards.
> > mcc
> >
> >
> > _______________________________________________
> > openbox mailing list
> > openbox at icculus.org
> > http://icculus.org/mailman/listinfo/openbox

> _______________________________________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/listinfo/openbox

Hi Dana,

I checked  the doc and found the topic "execute".
This is the text:
 Execute

Runs a program.
Option 	Default Value 	Description
<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 & in order to be parsed correctly. <execute> is a deprecated name for <command>.
<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.
Startup notification

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.

Startup notification has these options, which are included inside the Execute action, in a <startupnotify> tag:
Option 	Default Value 	Description
<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.
<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.
<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.
<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.

>From my point of view none of what is described does what I want to
accieve.

How can I acchieve, what I want.

Best 
mcc








More information about the openbox mailing list