<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://freebsdwiki.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://freebsdwiki.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Janhouston</id>
		<title>FreeBSDwiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://freebsdwiki.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Janhouston"/>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Special:Contributions/Janhouston"/>
		<updated>2026-04-15T06:51:32Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://freebsdwiki.net/index.php/Mplayer_Installation</id>
		<title>Mplayer Installation</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/Mplayer_Installation"/>
				<updated>2012-09-25T13:04:53Z</updated>
		
		<summary type="html">&lt;p&gt;Janhouston: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;see also [[Mplayer]]&lt;br /&gt;
&lt;br /&gt;
This is a quick guide to installing the Mplayer port.&lt;br /&gt;
&lt;br /&gt;
(optional) Before you install Mplayer you should probably get the codecs that you want from [http://www.mplayerhq.hu/homepage/design7/dload.html mplayerhq.hu] and put them in /usr/local/lib/codecs. Note the disclaimer: ''There is absolutely no warranty of any kind for these codec packages. Copyrights of all DLLs remain with their respective owner(s). You should be aware that some of these DLLs have licenses that restrict them to use with certain programs. We only distribute them, the rest is your responsibility.''&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; '''su'''&lt;br /&gt;
 Password: (enter root password)&lt;br /&gt;
 &amp;gt; '''mkdir /usr/local/lib/codecs'''&lt;br /&gt;
 &amp;gt; '''cd /tmp/'''&lt;br /&gt;
 &amp;gt; '''wget http://www1.mplayerhq.hu/MPlayer/releases/codecs/all-20050115.tar.bz2'''&lt;br /&gt;
 &amp;gt; '''bunzip2 all-20050115.tar.bz2'''&lt;br /&gt;
 &amp;gt; '''tar -xf all-20050115.tar'''&lt;br /&gt;
 &amp;gt; '''cd /usr/local/lib/codecs'''&lt;br /&gt;
 &amp;gt; '''cp /tmp/all-20050115/* .'''&lt;br /&gt;
&lt;br /&gt;
Now installing Mplayer can be as complicated as you want the following example is very simple.&lt;br /&gt;
 &lt;br /&gt;
 &amp;gt; '''su'''&lt;br /&gt;
 Password: (enter root password)&lt;br /&gt;
 &amp;gt; '''cd /usr/ports/multimedia/mplayer'''&lt;br /&gt;
 &amp;gt; '''make WITH_GUI=yes install clean'''&lt;br /&gt;
&lt;br /&gt;
Before you run Mplayer you need to install the fonts,&lt;br /&gt;
&lt;br /&gt;
 &amp;gt; '''cd /usr/ports/multimedia/mplayer-fonts'''&lt;br /&gt;
 &amp;gt; '''make install clean'''&lt;br /&gt;
&lt;br /&gt;
create your user settings, &lt;br /&gt;
 &amp;gt; '''su nvrmnd'''&lt;br /&gt;
 Password: (enter nvrmnd's password)&lt;br /&gt;
 &amp;gt; '''cd /usr/ports/multimedia/mplayer'''&lt;br /&gt;
 &amp;gt; '''make install-user'''&lt;br /&gt;
 &amp;gt; '''cp /usr/local/share/mplayer/codecs.conf ~/.mplayer/'''&lt;br /&gt;
 &amp;gt; '''cp /usr/local/share/mplayer/example.conf ~/.mplayer/config'''&lt;br /&gt;
 &amp;gt; '''cp /usr/local/share/mplayer/input.conf ~/.mplayer'''&lt;br /&gt;
&lt;br /&gt;
add atleast one skin from [http://www.mplayerhq.hu/homepage/design7/dload.html mplayerhq.hu],&lt;br /&gt;
 &amp;gt; '''su nvrmnd'''&lt;br /&gt;
 Password: (enter nvrmnd's password)&lt;br /&gt;
 &amp;gt; '''mkdir ~/.mplayer/Skin&lt;br /&gt;
 &amp;gt; '''cd ~/.mplayer/Skin'''&lt;br /&gt;
 &amp;gt; '''wget http://www1.mplayerhq.hu/MPlayer/Skin/Blue-1.4.tar.bz2'''&lt;br /&gt;
 &amp;gt; '''bunzip2 Blue-1.4.tar.bz2'''&lt;br /&gt;
 &amp;gt; '''tar -xf Blue-1.4.tar'''&lt;br /&gt;
&lt;br /&gt;
and edit ~/.mplayer/config comment out the last line:&lt;br /&gt;
 include = /home/gabucino/.mplayer/i_did_not_RTFM_carefully_enough...&lt;br /&gt;
&lt;br /&gt;
you can run Mplayer with a gui wth the '''gmplayer''' command. The command line player is '''mplayer'''.&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
[http://lists.freebsd.org/pipermail/freebsd-questions/2003-October/023709.html Configuration example] [http://essaytopics.ws/ here]&lt;br /&gt;
&lt;br /&gt;
[[Category:Common Tasks]]&lt;/div&gt;</summary>
		<author><name>Janhouston</name></author>	</entry>

	<entry>
		<id>http://freebsdwiki.net/index.php/RAMdisks,_creating_under_FreeBSD_5.x</id>
		<title>RAMdisks, creating under FreeBSD 5.x</title>
		<link rel="alternate" type="text/html" href="http://freebsdwiki.net/index.php/RAMdisks,_creating_under_FreeBSD_5.x"/>
				<updated>2012-09-25T13:04:19Z</updated>
		
		<summary type="html">&lt;p&gt;Janhouston: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I invariably get irritated and confused by [[mdconfig]]'s syntax, since I need it just often enough to never remember how to use it, and no more.  And most of the readily google-able documentation on the web covers FreeBSD 4.x's [[vnconfig]] instead, which is useless if you're running a 5.x system.  So I just wrote myself a handy little shell script named '''makeramdisk.sh''' that I keep in my home directory for reference's sake:&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 case &amp;quot;$1&amp;quot; in&lt;br /&gt;
 start)&lt;br /&gt;
         /sbin/mdconfig -a -t malloc -s 256M -u 10&lt;br /&gt;
         /sbin/newfs -U /dev/md10&lt;br /&gt;
         /sbin/mount /dev/md10 /mnt/ramdisk&lt;br /&gt;
         echo &amp;quot;256MB ramdisk created on /dev/md10 and mounted on /mnt/ramdisk&amp;quot;&lt;br /&gt;
         exit 0&lt;br /&gt;
         ;;&lt;br /&gt;
 stop)&lt;br /&gt;
         /sbin/umount /mnt/ramdisk&lt;br /&gt;
         /sbin/mdconfig -d -u 10&lt;br /&gt;
         echo &amp;quot;ramdisk unmounted from /mnt/ramdisk and deleted from /dev/md10&amp;quot;&lt;br /&gt;
         ;;&lt;br /&gt;
 *)&lt;br /&gt;
         echo &amp;quot;Usage: `basename $0` {start|stop}&amp;quot; &amp;gt;&amp;amp;2&lt;br /&gt;
         exit 64&lt;br /&gt;
         ;;&lt;br /&gt;
 esac&lt;br /&gt;
&lt;br /&gt;
Under FreeBSD 6.x (and possibly under 5.x as well), the first three lines of the start section can be combined into a single line, as per the below.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 case &amp;quot;$1&amp;quot; in&lt;br /&gt;
 start)&lt;br /&gt;
         /sbin/mdmfs -s 256M md10 /mnt/ramdisk&lt;br /&gt;
         echo &amp;quot;256MB ramdisk created on /dev/md10 and mounted on /mnt/ramdisk&amp;quot;&lt;br /&gt;
         exit 0&lt;br /&gt;
         ;;&lt;br /&gt;
 stop)&lt;br /&gt;
         /sbin/umount /mnt/ramdisk&lt;br /&gt;
         /sbin/mdconfig -d -u 10&lt;br /&gt;
         echo &amp;quot;ramdisk unmounted from /mnt/ramdisk and deleted from /dev/md10&amp;quot;&lt;br /&gt;
         ;;&lt;br /&gt;
 *)&lt;br /&gt;
         echo &amp;quot;Usage: `basename $0` {start|stop}&amp;quot; &amp;gt;&amp;amp;2&lt;br /&gt;
         exit 64&lt;br /&gt;
         ;;&lt;br /&gt;
 esac&lt;br /&gt;
&lt;br /&gt;
To use this script, you would type '''makeramdisk.sh start''' or '''makeramdisk.sh stop''' to create and mount, or dismount and delete, respectively, a 256MB RAMdisk on /dev/md10.  (Note: the script as written depends on the prior existence of a directory at '''/mnt/ramdisk'''.  If that directory does not exist, you're going to have problems.) [http://essaytopics.ws/ essay topics online]&lt;br /&gt;
&lt;br /&gt;
You should be able to figure out from the examples what you'd need to do different to change the size of the drive, where you mount it, etc.&lt;br /&gt;
[[Category : Common Tasks]]&lt;/div&gt;</summary>
		<author><name>Janhouston</name></author>	</entry>

	</feed>