View Single Post
Posts: 80 | Thanked: 4 times | Joined on Jun 2006
#145
Originally Posted by Nickster
First, become root.

Then create a new file named /usr/bin/runmplayer

$ vi /usr/bin/runmplayer

Add these lines to it and save it:

Code:
#!/bin/sh

/usr/bin/mplayer -fs -framedrop -vo x11 -ao sdl -cache 800 "$1"
Make it globally executable.

$ chmod 0755 /usr/bin/runmplayer
Why do i have to become root to create runmplayer? Wouldnt it work, if i create the file in my home-directory?

What is the meaning of the second runmplayer in the line inserted in opera.ini?