Results 1 to 5 of 5

Thread: Running Bash scripts outside terminal window?

  1. #1
    Join Date
    Dec 2009
    Location
    Atlanta, GA
    Beans
    20

    Running Bash scripts outside terminal window?

    Hello. I'm new to bash scripting in Ubuntu. I've been playing around a bit, writing scripts and trying to figure out if there is a way to run the scripts "outside" of the terminal window. So far I've only seen them run in terminal window.

  2. #2
    Join Date
    Mar 2007
    Location
    Coventry, UK
    Beans
    200
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Running Bash scripts outside terminal window?

    Well, the scripts are just commands for the shell to interpret in sequence, and the shell has no other purpose than to interpret user commands at a terminal; so, unless I am very much mistaken, I doubt you'll find a shell that can run scripts "outside the terminal". If you want things to run outside of the terminal, then you'll need to use GUI libraries to draw and handle the windows for you, which is way beyond the shell's scope (by design).
    Last edited by kayvortex; January 30th, 2010 at 02:51 PM.

  3. #3
    Join Date
    Aug 2008
    Beans
    Hidden!

    Re: Running Bash scripts outside terminal window?

    You could run them from the Alt-F2 'Run Application' window. You could run them from cron jobs. You could run them from other bash scripts!

  4. #4
    Join Date
    Jun 2008
    Location
    California
    Beans
    2,271
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Running Bash scripts outside terminal window?

    Perhaps this is obvious but you can run scripts from a launcher on your desktop or from a panel. They can also be run as Nautilus scripts.

  5. #5
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Running Bash scripts outside terminal window?

    Nautilus scripts can be run from your Nautilus right click scripts if in this (hidden) folder in your home, my home shown.

    /home/fred/.gnome2/nautilus-scripts
    All executable files in this folder will appear in the Scripts menu. Choosing a script from the menu will run that script.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •