On 23/06/2004, at 12:54 PM, Simon Bryan wrote:
Hi all,
Why can't I 'double click' this file from the GUI to execute it? I am sure
I used to do that with the previous incarnation of my LTSP server.


It is owned by the user, is in the users home directory and has rwxr-xr-x
permissions



Since the script is in bash and you're running a GUI, you need something to sit in the middle to provide a window. I'd suggest using an xterm, though gnome-terminal or kterm (and many others) would do.


"xterm -e scriptname" should do what I think you're trying to do. You may be able to associate *.sh with xterm -e so that all shell scripts become 'clickable', but I've never tried it.

Greeno
--
Tony Green <[EMAIL PROTECTED]>

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to