LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-19-2008, 08:10 AM   #1
errorsunknownp
Member
 
Registered: Dec 2008
Location: Nepal
Distribution: Slackware
Posts: 61

Rep: Reputation: 15
Talking 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....
 
Old 12-19-2008, 10:35 AM   #2
teknik
Member
 
Registered: Jun 2006
Location: Winnipeg, Canada
Distribution: Slackware 12.1
Posts: 33

Rep: Reputation: 16
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
 
Old 12-19-2008, 12:45 PM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
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.
 
Old 12-19-2008, 08:58 PM   #4
errorsunknownp
Member
 
Registered: Dec 2008
Location: Nepal
Distribution: Slackware
Posts: 61

Original Poster
Rep: Reputation: 15
Post 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?
 
Old 12-20-2008, 12:01 AM   #5
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mplayer build: configure finds ALSA, but mplayer doesn't galle Linux - Software 5 10-13-2007 06:14 PM
Mplayer codecs - running 32bit mplayer on 64bit OS sleepyrob Linux - Software 2 08-12-2006 05:08 AM
In Kubuntu I have compiled MPlayer and it works fine, MPlayer Plug-in is not working kickass331 Linux - Newbie 10 08-11-2006 09:12 PM
No sound in mplayer or mplayer firefox plugin case1984 Linux - Newbie 1 01-21-2005 12:58 AM
mplayer is cool ... mplayer plug-in is even cooler..! linuxlah Linux - General 4 07-16-2003 10:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration