Results 1 to 6 of 6

Thread: moving program out of terminal?

  1. #1
    Join Date
    Nov 2009
    Location
    de9fdc5c1ade9d205ac5e2622
    Beans
    Hidden!
    Distro
    Xubuntu 12.04 Precise Pangolin

    moving program out of terminal?

    Hey Guys,

    Is it possible, and if so what is the easiest way, to open a program and move it from the terminal so that when I close the terminal the program stays open?

    For instance, I don't like to open thundar with gksu and navigate to my file and open it. I would prefer to open it in the command line, but I don't want to have to keep the command line open. So basically, what would I add to this command to allow me to close the terminal after opening:
    Code:
    gksu leafpad /root/whatever.file
    Thanks

    AlphaA
    "Si Dieu n'existait pas, il faudrait l'inventer" -Voltaire

  2. #2
    Join Date
    Nov 2007
    Location
    Wisconsin
    Beans
    1,139

    Re: moving program out of terminal?

    Use the 'screen' or 'byobu' applications to keep a terminal session alive between logins.

  3. #3
    Join Date
    Aug 2006
    Beans
    24

    Re: moving program out of terminal?

    Have you tried hitting ctrl+z to suspend it then typing "bg" to put it in the background? Then you should be able to close the terminal by typing "exit" (Sometiems hitting the x on the box will still close the backghround application.)

  4. #4
    Join Date
    Dec 2012
    Beans
    61

    Re: moving program out of terminal?

    Code:
    gksu leafpad /root/whatever.file &
    Now you can press Ctrl + C and close the terminal.

  5. #5
    Join Date
    Oct 2008
    Beans
    3,509

    Re: moving program out of terminal?

    -
    Code:
    gksu leafpad /root/whatever.file & disown
    Allows you to just close the terminal.

  6. #6

    Re: moving program out of terminal?

    Quote Originally Posted by alphaamanitin View Post
    I don't want to have to keep the command line open. So basically, what would I add to this command to allow me to close the terminal after opening:
    Code:
    gksu leafpad /root/whatever.file
    Code:
    gksu leafpad /root/whatever.file ; exit
    ?
    Windows assumes the user is an idiot.
    Linux demands proof.

Tags for this Thread

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
  •