Yes, I get you, but that doesn't seem to be the problem. See this code:technosaurus wrote:in ubuntu /bin/sh is dash, so $() does not work, try changing it to backticks or the first line to #!/bin/bash
It looks like Thunor has fixed some bashisms in latest source
Code: Select all
#!/bin/bash
DIALOG='
<menubar>
<menu>
<menuitem>
<label>open</label>
</menuitem>
<menuitem>
<label>save</label>
</menuitem>
<menuitem>
<label>quit</label>
<action>EXIT:quit</action>
</menuitem>
<label>File</label>
</menu>
</menubar>'
export DIALOG
gtkdialog -p DIALOG