[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

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
howtos:multimedia:htpc [2012/10/29 00:33 (UTC)] – Fixed the tags, formatting, missing links etc. This should also fix that "start" page alienbobhowtos:multimedia:htpc [2013/10/17 01:57 (UTC)] – Combined code with steps to make it easier to follow and added descriptions of what the steps are accomplishing. mfillpot
Line 1: Line 1:
-<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> +<!-- Reviewed 2013-10-16 by mfillpot --> 
-====== Build A Slackware Mediacenter (HTPC) With XBMC ======+<!-- Reviewed 2013-01-23 by hazel --> 
 +<!-- Add your text below. We strongly advise to start with a Headline (see butto 
 +bar above). --> 
 +====== 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 
 +lackware 14 box that boots right into XBMC.
  
 ====== Here's What I Did ====== ====== Here's What I Did ======
  
   - Install Slackware on an old PC.   - Install Slackware on an old PC.
-    Set the default windows manager to TWM. +  Install XBMC, ffmpeg and the dependencies via [[http://www.sbopkg.org|sbopkg]]
-  - Create user xbmc and login as user xbmc+    - Copy ''/etc/X11/xinit/xinitrc.twm'' to ''~/.xinitrc'' to set twm as the default window manager. 
-  - Copy ''/etc/X11/xinit/xinitrc.twm'' to ''~/.xinitrc'' +  - Create a user named **xbmc** and login as the user xbmc to create the essential window manager configuration files. 
-  - Edit ''~/.xixnitrc'' and at the bottom, change: <code>+  - Edit ''~/.xinitrc'' and at the bottom, change: <code bash>
 /usr/bin/twm & /usr/bin/twm &
 /usr/bin/xclock -geometry 50x50-1+1 & /usr/bin/xclock -geometry 50x50-1+1 &
Line 18: Line 24:
 /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
-</code> to: <code>+</code> to: <code bash>
 /usr/bin/twm & /usr/bin/twm &
 #/usr/bin/xclock -geometry 50x50-1+1 & #/usr/bin/xclock -geometry 50x50-1+1 &
Line 26: Line 32:
 exec /usr/bin/xbmc -geometry +0+0 exec /usr/bin/xbmc -geometry +0+0
 </code> </code>
-  - "su" back to root +  - Edit /etc/rc.d/rc.local and add: <code>sudo -u xbmc startx</code> this is instructing the system to login as the xbmc user on boot and start the default window manager.
-  - Install FFMPEG, XBMC and their dependencies via [[http://www.sbopkg.org/|sbopkg]]. +
-  - Edit /etc/rc.d/rc.local and add: <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.
  
 ====== 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>   * To enable Samba file sharing: <code>
Line 45: Line 49:
 </code> </code>
  
-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]].+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]].
  
  
 howtos:multimedia:htpc ()