Find the answer to your Linux question:
Results 1 to 5 of 5
It really bothers me that when I start a program through the terminal it takes up space with the terminal that's tied up with the program, and the program itself. ...
  1. #1
    Just Joined! Chao06's Avatar
    Join Date
    Aug 2008
    Location
    College Station, Texas, United States
    Posts
    40

    Hide terminal running program?

    It really bothers me that when I start a program through the terminal it takes up space with the terminal that's tied up with the program, and the program itself. I know how to keep it from tying up the terminal, but when it devotes the terminal, I like that it gives output if the program crashes. Is there a way I can set a terminal to completely hide itself (off the desktop and the taskbar) while it's running a program, then reappear once the program is closed?

    Thanks,
    David

  2. #2
    Just Joined!
    Join Date
    Jan 2009
    Location
    eastcoast usa
    Posts
    1
    Ok I am still new at this as well but I have found that if I run gksu cmmand here, instead of sudo it doesnt tie up the terminal. But I find that if I make a launcher icon to the panel leave it as app instead of run in terminal and put sudo nautilus it will ask for password but not tie up the terminal. I hope this is right and what you are looking for. If it is not right well hey I tried and am still learning.

  3. #3
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    In terminal mode, programs have two text output types that generally both get sent to the console, the Standard output (STDOUT) and the Error output (STDERR). This is done for the reason you're explaining as well as the ability to pipe standard outputs to other programs and still keeping the errors separate; I don't think I can make it work exactly the way you want... but I might be able to come close.

    If you execute a program with an & following the name, it'll return to you the prompt, but it'll still show you the outputs.

    If you execute a program with a simple redirector, the standard output will be redirected but not the errors, therefore something like progname > /dev/null will eliminate standard output and still show only the errors. Don't want the errors either?, then send those to a log file that you can read after with the parameter &2, which stands for STDERR...

    progname & > /dev/null &2 > progerror.log

    should accomplish something close to what you are looking for. You will not get a popup when your program is done, but you can look at the log with something like less progerror.log

  4. #4
    Linux User zba78's Avatar
    Join Date
    Feb 2004
    Location
    Birmingham, England
    Posts
    335
    You could move the terminal window to a desktop that way it would be out of sight.

    Another option is to use a program called alltray which allows you to minimise any open window to the system tray. Last time I ran alltray it wouldn’t work in Ubuntu but perhaps it’ll work for you
    Ubuntu Jaunty :: Arch Linux (current) :: Acer Aspire 1692WMLi

  5. #5
    Just Joined! Chao06's Avatar
    Join Date
    Aug 2008
    Location
    College Station, Texas, United States
    Posts
    40
    mm, it looks like that's Close to what I want to do... a bit cumbersome to do regularly, but if I'm trying to fix something I can always just look up this thread and launch it the way you said...
    thanks!

Posting Permissions

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