Enjoy Slackware 15.0!

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 revision Previous revision
Next revision
Previous revision
howtos:multimedia:htpc [2013/01/23 17:50 (UTC)]
hazel [Some Other Things to Configure]
howtos:multimedia:htpc [2016/07/18 23:55 (UTC)]
klaatu updated for kodi
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 --> 
-<-- Reviewed 2013-01-23 by hazel --> +<!-- Reviewed 2013-01-23 by hazel --> 
-====== How To Build A Slackware Mediacenter (HTPC) With XBMC ======+<!-- Add your text below. We strongly advise to start with a Headline (see butto 
 +bar above). --> 
 +====== How To Build A Slackware Mediacenter (HTPC) With Kodi (formerly: 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 prevented the system from working 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. Optionally, use an old PC; you might be surprised at how powerful even an older PC can be for media playback
-    - Set the default windows manager to TWM+  - Install [[https://slackbuilds.org/result/?search=kodi&sv=|Kodi]] (formerly known as XBMC), [[https://slackbuilds.org/result/?search=ffmpeg&sv=|ffmpeg]], and dependencies. For automated installs, use [[http://www.sbopkg.org|sbopkg]] or a similar SlackBuilds.org frontend
-  - Create user xbmc and login as user xbmc+  - To keep the install as light as possible, use a lightweight GUI environment. You probably don't need a traditional desktop; 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 ''kodi'' and login as the user ''kodi'' to create the essential window manager configuration files. 
-  - Edit ''~/.xinitrc'' and at the bottom, change: <code>+  - Edit ''~/.xinitrc'' to simplify the window manager even further. 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 19: 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 27: Line 32:
 exec /usr/bin/xbmc -geometry +0+0 exec /usr/bin/xbmc -geometry +0+0
 </code> </code>
-  - "su" to root +  - Edit /etc/rc.d/rc.local and add: <code>sudo -u kodi startx</code> this is instructing the system to login as the ''kodi'' 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> +After you reboot the machine, it should boot right into kodi, and you should have 
-sudo -u xbmc startx + a working media center/HTPC.
-</code>+
  
-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 enable file sharing:+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 46: Line 50:
 </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]].
  
  

In Other Languages
QR Code
QR Code howtos:multimedia:htpc (generated for current page)