LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mplayer Help!!! (https://www.linuxquestions.org/questions/linux-newbie-8/mplayer-help-691683/)

errorsunknownp 12-19-2008 08:10 AM

mplayer Help!!!
 
I've successfully installed mplayer.
It is playing my files well, but in text mod.
I want to work in graphical mode.
In order to do that, I think first of all I've to choose an onscreen
display font. According to the README file:

create a symbolic link from /usr/local/share/mplayer/subfont.ttf to your TrueType font.

What to do that. Somebody help me....

teknik 12-19-2008 10:35 AM

First, you need to grab a truetype font from somewhere. I'm not sure about where fonts are stored on redhat, or if you even have any truetype fonts installed, but they will probably be somewhere like here: /usr/X11R6/lib/X11/fonts/TTF/

If not, get one from somewhere else (download a TTF of dafont.com, or grab one from Windows (C:\system\fonts I think it is? not sure. but grab arial.ttf or something).


Then, you have a couple options. Two of them being:

just put the font into your ~/.mplayer/ directory, and rename it to subfont.ttf

or, make a symbolic link to it in that same directory. so if you have arial.ttf in /usr/X11R6/lib/X11/fonts/TTF/ then,
Code:

cd ~/.mplayer
ln -s  /usr/X11R6/lib/X11/fonts/TTF/arial.ttf subfont.ttf


i92guboj 12-19-2008 12:45 PM

gmplayer is the name of the binary for the default mplayer frontend. If you try to run it on an xterm does it work?

Fonts might be useful for OSD, but I highly doubt that they will prevent mplayer from working.

errorsunknownp 12-19-2008 08:58 PM

Delete Dirctory
 
I Know that rmdir removes the directory.
But if the directory is empty.
How to delete it along with it contents at one time?

gilead 12-20-2008 12:01 AM

errorsunknownp it probably would have been better to start your own thread for this. However, if the directory you want to delete is /tmp/somedir:
Code:

rm -rf /tmp/somedir


All times are GMT -5. The time now is 02:30 AM.