mogeb
May 30th, 2011, 03:50 PM
Hi all,
i have to something similar to this in a .bash script:
gksudo gedit
exit
After double-clicking on the .bash file and selecting "Run in terminal", a terminal opens, then gksudo asks for a password and gedit runs. I would like to hide the terminal at this point, so gedit would still run but the terminal window would be closed or hidden (so the exit wouldnt wait gedit to return).
Any way to do that?
Thank you
i have to something similar to this in a .bash script:
gksudo gedit
exit
After double-clicking on the .bash file and selecting "Run in terminal", a terminal opens, then gksudo asks for a password and gedit runs. I would like to hide the terminal at this point, so gedit would still run but the terminal window would be closed or hidden (so the exit wouldnt wait gedit to return).
Any way to do that?
Thank you