[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
howtos:multimedia:htpc [2012/10/29 00:19 (UTC)] – created arfonhowtos:multimedia:htpc [2013/10/16 23:45 (UTC)] – corrected prior reviewed mark to make it hidden mfillpot
Line 1: Line 1:
 +<!-- Reviewed 2013-01-23 by hazel -->
 <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). -->
-====== Build A Slackware Mediacenter (HTPC) With XBMC ======+====== How To Build A Slackware Mediacenter (HTPC) With XBMC ======
  
 ====== My Situation ====== ====== My Situation ======
  
-I wanted a **stand alone** media center and everything pointed to XBMC. I tried the various LiveCD versions of XBMC but each had problems that either made to system just not work or were too annoying.  The solution turned out to be a Slackware 14 box that boots right into XBMC.+I wanted a **stand alone** media center and everything pointed to XBMC. I tried the various LiveCD versions of XBMC but each had problems that either prevented the system from working or were too annoying.  The solution turned out to be a Slackware 14 box that boots right into XBMC.
  
 ====== Here's What I Did ====== ====== Here's What I Did ======
  
-1) Install Slackware on an old PC. +  - Install Slackware on an old PC. 
- +    Set the default windows manager to TWM. 
-1a) Set the default windows manager to TWM. +  Create user xbmc and login as user xbmc. 
- +  Copy ''/etc/X11/xinit/xinitrc.twm'' to ''~/.xinitrc'' 
-2) Create user xbmc and login as user xbmc. +  Edit ''~/.xinitrc'' and at the bottom, change: <code> 
- +/usr/bin/twm &
-3) Copy /etc/X11/xinit/xinitrc.twm to ~/.xinitrc +
- +
-4) Edit ~/.xixnitrc and at the bottom, change: +
-<code>/usr/bin/twm &+
 /usr/bin/xclock -geometry 50x50-1+1 & /usr/bin/xclock -geometry 50x50-1+1 &
 /usr/bin/xterm -geometry 80x50+494+51 & /usr/bin/xterm -geometry 80x50+494+51 &
 /usr/bin/xterm -geometry 80x20+494-0 & /usr/bin/xterm -geometry 80x20+494-0 &
-exec /usr/bin/xterm -geometry 80x66+0+0 -name login</code> +exec /usr/bin/xterm -geometry 80x66+0+0 -name login 
-to: +</code> to: <code> 
-<code>/usr/bin/twm &+/usr/bin/twm &
 #/usr/bin/xclock -geometry 50x50-1+1 & #/usr/bin/xclock -geometry 50x50-1+1 &
 #/usr/bin/xterm -geometry 80x50+494+51 & #/usr/bin/xterm -geometry 80x50+494+51 &
 #/usr/bin/xterm -geometry 80x20+494-0 & #/usr/bin/xterm -geometry 80x20+494-0 &
 #exec /usr/bin/xterm -geometry 80x66+0+0 -name login #exec /usr/bin/xterm -geometry 80x66+0+0 -name login
-exec /usr/bin/xbmc -geometry +0+0</code> +exec /usr/bin/xbmc -geometry +0+0 
- +</code> 
-5) su back to root +  - "suto root 
- +  Install FFMPEG, XBMC and their dependencies via [[http://www.sbopkg.org/|sbopkg]]
-6) Install FFMPEG, XBMC and their dependencies via sbopkg. +  Edit /etc/rc.d/rc.local and add: <code> 
- +sudo -u xbmc startx 
-7) Edit /etc/rc.d/rc.local and add: +</code>
-<code>sudo -u xbmc startx</code>+
  
 After you reboot the machine, it should boot right into XBMC and you should have a working media center/HTPC. After you reboot the machine, it should boot right into XBMC and you should have a working media center/HTPC.
Line 41: Line 37:
 ====== Some Other Things to Configure ===== ====== Some Other Things to Configure =====
  
-If you keep your media files on other machines and they are accessible via Samba or NFS, make sure you+If you keep your media files on other machines and they are accessible via Samba or NFS, make sure you enable file sharing:
- +
-To enable Samba file sharing: +
-<code>chmod 755 /etc/rc.d/rc.samba;/etc/rc.d/rc.samba start</code>+
  
-To enable NFS file sharing: +  * To enable Samba file sharing: <code> 
-<code>chmod 755 /etc/rc.d/rc.nfsd;/etc/rc.d/rc.nfsd start</code>+chmod 755 /etc/rc.d/rc.samba;/etc/rc.d/rc.samba start 
 +</code> 
 +  * To enable NFS file sharing: <code> 
 +chmod 755 /etc/rc.d/rc.nfsd;/etc/rc.d/rc.nfsd start 
 +</code>
  
-For NFS, you'll have to do some other configuration but all that is explained in the NFS wiki pages.+For NFS, you'll have to do some other configuration but all that is explained in the [[howtos:network_services:home_nfs_howto|NFS wiki pages]].
  
  
Line 61: Line 58:
 <!-- Please do not modify anything below, except adding new tags.--> <!-- Please do not modify anything below, except adding new tags.-->
 <!-- You must remove the tag-word "template" below before saving your new page --> <!-- You must remove the tag-word "template" below before saving your new page -->
-{{tag>howtos software HTPC media_center XBMC author_arfon}+{{tag>howtos software htpc media_center xbmc author_arfon}}
 howtos:multimedia:htpc ()