If you don't want a separate script, you can work around the limitations of openbox with:
Code: Select all
<command>sh -c "feh $(zenity --file-selection)"</command>
OR:
Code: Select all
<command>sh -c "feh `zenity --file-selection`"</command>
This method can be used for all menu commands that require a shell to interpret the command (including
globbing * ?,
backticks `,
pipes |, and
list operators && ||).
And I believe the
<execute> action has been deprecated in favor of
<command> but you can use either.