You are not logged in.

#1 2008-09-17 08:11:11

zephyrus17
Member
Registered: 2008-06-15
Posts: 323

Mousebind Openbox to execute a program

Here's what I've been trying, to no success. My latest attempt:

<mousebind button="Up" action="Click">
<action name="execute">
<execute>
3ddesk
</execute>
</action>
</mousebind>

Basically, it's evident that I want to make my up scroll wheel execute the 3ddesk application to get 3d desktops.

Any pointers?

Offline

#2 2008-09-17 09:52:55

ak-89
Member
From: Finland
Registered: 2008-08-26
Posts: 86
Website

Re: Mousebind Openbox to execute a program

<mousebind button="Up" action="Click">
<action name="Execute">
<command>
3ddesk
</command>
</action>
</mousebind>

That should work.

Last edited by ak-89 (2008-09-17 09:54:11)

Offline

#3 2008-09-17 11:45:02

zephyrus17
Member
Registered: 2008-06-15
Posts: 323

Re: Mousebind Openbox to execute a program

Cool. Thanks. It did work. But why 'command' and not 'execute'?

Offline

#4 2008-09-18 04:43:31

ak-89
Member
From: Finland
Registered: 2008-08-26
Posts: 86
Website

Re: Mousebind Openbox to execute a program

zephyrus17 wrote:

Cool. Thanks. It did work. But why 'command' and not 'execute'?

http://icculus.org/openbox/index.php/He … troduction

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.
<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. (As of version 3.4.7)

Offline

Board footer

Powered by FluxBB