#!/bin/bash echo "" # That line makes the magic with second workaround [ "$p_close" == "True" ] && echo '' && exit echo "" echo "

That is a Maximized Window!

" echo "Click here to close [is not going to work...]" echo "
Workaround on close: config_tool pid: $CT_PID
" echo " Click here to close with workaround... " echo "
Another workaround -- that one is prettyer..
" echo " Click here to close with handsome workaround ;) " echo "" echo "#!/bin/bash" >/tmp/tmp.$$.sh.htm echo kill $CT_PID >>/tmp/tmp.$$.sh.htm echo 'rm -f $0' >>/tmp/tmp.$$.sh.htm chmod +x /tmp/tmp.$$.sh.htm