Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to watch a movie with mplayer from bash in the background, like I do with all programs and there has never been any problems:

mplayer Kick* &

if you'd like to see Kickboxer, for example. But, this doesn't bring up the window, instead it says the process is stopped. I can bring the movie window up with fg mplayer, but then the CLI is unavailable. (This is -- as far as I can see anyway -- equivalent to mplayer Kick*).

I'm able to work around the problem like this:

$(mplayer Kick*) &

But then I get two extra bashes (I see this with ps). It is not really a problem as those closes down when I Alt-F4 the movie, but it is still undesirable.

I guess I'm most annoyed with having to type that extra stuff, so if you come up with an alias or function, that would be OK, to. Although, it wouldn't hurt me to learn what's going on.

share|improve this question

migrated from stackoverflow.com Nov 26 '11 at 15:43

This question came from our site for professional and enthusiast programmers.

up vote 4 down vote accepted
mplayer -noconsolecontrols <whatever> &
share|improve this answer
    
Thanks, works great. – Emanuel Berg Dec 13 '11 at 21:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .