[openbox] problems with tilde characters in commands

vlad vla at uni-bonn.de
Mon Apr 6 04:54:36 EDT 2009

On Mon, Apr 06, 2009 at 04:18:32PM +1000, Anthony Thyssen wrote:
> I have been adding keyboard macros in openbox with great success, though
> this does require a understanding of Xwindow Event handling to get it to
> work right.
> But find that if I want a '~' in the arguments to a command that is to
> be run by Openbox, it expands that character when it should not do so.
> For example in my openbox rc.xml  I remoaced the Super Function
> keybindings with keyboard macros such as....
>     <keybind key="W-F2">
>       <action name="Execute">
>         <startupnotify>
>           <enabled>true</enabled>
>           <name>Keyboard Macro: Web Page</name>
>         </startupnotify>
>         <command>xte 'usleep 500000' \
>                      'str http://www.cit.gu.edu.au/~anthony/'</command>

         <command>bash -c "xte 'usleep 500000' 'str http://www.cit.gu.edu.au/~anthony/'"</command>

>       </action>
>     </keybind>


More information about the openbox mailing list