[xubuntu-users] Script problem

Giovanni Ortosecco giortos.linux at libero.it
Tue Oct 29 09:03:09 UTC 2013


>----Messaggio originale----
>Da: jmoey139 at gmail.com
>Data: 28-ott-2013 20.22
>A: <xubuntu-users at lists.ubuntu.com>
>Ogg: Re: [xubuntu-users] Script problem
>
>Add something like this to the start of the shell script, immediately 
>after #!/bin/bash (or sh):
>
>tty -s; if [ "$?" != 0 ]; then xfce4-terminal -e "$0"; exit; fi
>
>If you want the script to be more compatible with other systems, change 
>xfce4-terminal to x-terminal-emulator or just xterm.
>
>Joshua


Dear Joshua,
even if I put this line in the script does not change the situation.

Thanks,
Giovanni







More information about the xubuntu-users mailing list