Results 1 to 3 of 3

Thread: Launch Bash Script IN TERMINAL through startup applications

  1. #1
    Join Date
    Aug 2012
    Beans
    17

    Launch Bash Script IN TERMINAL through startup applications

    I have a red eclipse server.

    It has a server.sh file with the 'chmod +x' applied.

    If I add the file to startup applications, it loads the server, but in the background where I don't want it.

    I want to be able to see the actual content of the shell as the server is running.



    Suggestions?

    ===================
    Ubuntu 12.04 w/ all reps up-to-date

  2. #2
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,546
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Launch Bash Script IN TERMINAL through startup applications

    Hi jamesaepp.

    I believe what you want is launching a terminal window that runs your script inside of it. Is that right?

    Try this:
    Code:
    gnome-terminal -x /path/to/yourscript.sh
    Change the for the proper terminal, and options if you are running other desktop different that Unity and Gnome.

    Let us know how it goes.
    Regards.

  3. #3
    Join Date
    Aug 2012
    Beans
    17

    Re: Launch Bash Script IN TERMINAL through startup applications

    Quote Originally Posted by papibe View Post
    Hi jamesaepp.

    I believe what you want is launching a terminal window that runs your script inside of it. Is that right?

    Try this:
    Code:
    gnome-terminal -x /path/to/yourscript.sh
    Change the for the proper terminal, and options if you are running other desktop different that Unity and Gnome.

    Let us know how it goes.
    Regards.
    Worked exactly as I wanted. Thanks.

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
  •