Discussion:
[openbox] Starting application on a certain desktop ...
meino.cramer
2014-09-27 07:08:05 UTC
Permalink
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?

Thank you very much in advance for any help!

Best regards,
mcc
Dana Jansens
2014-09-27 15:16:49 UTC
Permalink
Post by meino.cramer
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.
Post by meino.cramer
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/openbox/attachments/20140927/362ecf3a/attachment.html>
meino.cramer
2014-09-27 18:27:07 UTC
Permalink
Post by Dana Jansens
Post by meino.cramer
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.
Post by meino.cramer
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?

Best regards.
mcc
Dana Jansens
2014-09-27 22:48:42 UTC
Permalink
Post by meino.cramer
Post by Dana Jansens
Post by meino.cramer
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.
Post by meino.cramer
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)
Post by meino.cramer
. 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.
Post by meino.cramer
Best regards.
mcc
_______________________________________________
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/20140927/90fb614d/attachment.html>
meino.cramer
2014-09-28 02:56:20 UTC
Permalink
Post by meino.cramer
Post by meino.cramer
Post by Dana Jansens
Post by meino.cramer
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.
Post by meino.cramer
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)
Post by meino.cramer
. 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.
Post by meino.cramer
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
Accessing http://openbox.org/

I get

Forbidden

You don't have permission to access / on this server.
Apache/2.4.7 (Ubuntu) Server at openbox.org Port 80


?
Dana Jansens
2014-09-28 14:28:59 UTC
Permalink
Post by meino.cramer
Post by meino.cramer
Post by meino.cramer
Post by Dana Jansens
Post by meino.cramer
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
Post by meino.cramer
Post by meino.cramer
Post by Dana Jansens
Post by meino.cramer
on that desktop from where I started firefox and where I am
currently.
Post by meino.cramer
Post by meino.cramer
Post by Dana Jansens
Post by meino.cramer
Is it possible via openbox? ...or maybe via a helper tool?'
If the thing you launch the app with supports the startup
notification
Post by meino.cramer
Post by meino.cramer
Post by Dana Jansens
protocol, that should "just work". To tell, see if it uses
libstartupnotification maybe.
Post by meino.cramer
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)
Post by meino.cramer
. 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
Post by meino.cramer
for that.
Post by meino.cramer
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
Accessing http://openbox.org/
I get
Forbidden
You don't have permission to access / on this server.
Apache/2.4.7 (Ubuntu) Server at openbox.org Port 80
Oh that's not good. I'll try figure out what's going on. Thanks.

In the meantime..
http://web.archive.org/web/20140903013201/http://openbox.org/wiki/Help:Actions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/openbox/attachments/20140928/cd4bacc3/attachment.html>
meino.cramer
2014-10-03 03:48:25 UTC
Permalink
Post by meino.cramer
Post by meino.cramer
Post by Dana Jansens
Post by meino.cramer
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.
Post by meino.cramer
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)
Post by meino.cramer
. 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.
Post by meino.cramer
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 &amp; 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.
Post by meino.cramer
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
Ian Zimmerman
2014-10-03 18:07:44 UTC
Permalink
On Fri, 3 Oct 2014 05:48:25 +0200,
meino.cramer at gmx.de wrote:

meino> I checked the doc and found the topic "execute".

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

Wrong part of doc. Check the "Help:Applications" page:

http://openbox.org/wiki/Help:Applications
--
Please *no* private copies of mailing list or newsgroup messages.
Local Variables:
mode:claws-external
End:
meino.cramer
2014-10-03 18:25:22 UTC
Permalink
Post by Ian Zimmerman
On Fri, 3 Oct 2014 05:48:25 +0200,
meino> I checked the doc and found the topic "execute".
meino> From my point of view none of what is described does what I want
meino> to accieve.
http://openbox.org/wiki/Help:Applications
--
Please *no* private copies of mailing list or newsgroup messages.
mode:claws-external
_______________________________________________
openbox mailing list
openbox at icculus.org
http://icculus.org/mailman/listinfo/openbox
...and also there is not described, what I have described in my
initial mail.

Sigh...
Dana Jansens
2014-10-03 21:57:45 UTC
Permalink
Post by meino.cramer
A boolean (yes/no) which says if the startup notification protocol should
be used to notify other programs that an application is launching.

That's what you want. When it's enabled then openbox can tell what desktop
it launched from.
Post by meino.cramer
Post by meino.cramer
Post by meino.cramer
Post by Dana Jansens
Post by meino.cramer
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
Post by meino.cramer
Post by meino.cramer
Post by Dana Jansens
Post by meino.cramer
on that desktop from where I started firefox and where I am
currently.
Post by meino.cramer
Post by meino.cramer
Post by Dana Jansens
Post by meino.cramer
Is it possible via openbox? ...or maybe via a helper tool?'
If the thing you launch the app with supports the startup
notification
Post by meino.cramer
Post by meino.cramer
Post by Dana Jansens
protocol, that should "just work". To tell, see if it uses
libstartupnotification maybe.
Post by meino.cramer
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)
Post by meino.cramer
. 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
Post by meino.cramer
for that.
Post by meino.cramer
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".
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 &amp; 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
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
_______________________________________________
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/20141003/27e3ac4d/attachment.html>
Loading...