Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

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

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

1 Answer

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.