Thanks!
EDIT: I eventually figured it out with a lot of help.
Thanks to Snze, Meidhy, carvari, greenbag, divebombdom, and MonkeymanStones for helping me smoosh all the bugs. This project would have taken a LOT longer without their help. Thanks so much!
BEWARE: This package was built by a packaging noob, so I cannot guarantee hassle free installation or all the features you might expect. If you run into problems, I will try my best to help, but I am certainly not a Kodi expert.
17.0-BETA3 installation instructions for Ubuntu MATE 16 are here! The guide is a bit long, but most of it is copy-pasting
Update October 5, 2016: I believe I have worked through the library issue. Currently, I am running PIXEL on my Pi since I like it better than Ubuntu MATE. As such, there will be fewer builds in the future.
1. Download 17.0-BETA3:
https://drive.google.com/file/d/0B2vdsV ... sp=sharing
2. Install dependencies:
Code: Select all
sudo apt-get install libmicrohttpd10 libmysqlclient-dev libtinyxml-dev libpcrecpp0v5 libcec3 -yCode: Select all
cd Downloads/Code: Select all
sudo dpkg -i kodi_17LWAE-1_armhf.debAfter running Kodi, you will notice that upon exit there will be an ugly black screen instead of your desktop. We need to do a few things to fix this. Instructions:
1. Create gkreidl's startkodi script
Code: Select all
nano startkodiCode: Select all
#!/bin/bash
fbset_bin=`which fbset`
xset_bin=`which xset`
xrefresh_bin=`which xrefresh`
if [ ! -z $fbset_bin ]; then
DEPTH2=`$fbset_bin | head -3 | tail -1 | cut -d " " -f 10`
fi
kodi "$@"
if [ ! -z $fbset_bin ]; then
if [ "$DEPTH2" == "8" ]; then
DEPTH1=16
else
DEPTH1=8
fi
$fbset_bin -depth $DEPTH1 > /dev/null 2>&1
$fbset_bin -depth $DEPTH2 > /dev/null 2>&1
fi
if [ ! -z $xset_bin ] && [ ! -z $xrefresh_bin ]; then
if [ -z $DISPLAY ]; then
DISPLAY=":0"
fi
$xset_bin -display $DISPLAY -q > /dev/null 2>&1
if [ "$?" == "0" ]; then
$xrefresh_bin -display $DISPLAY > /dev/null 2>&1
fi
fi
VT="$(fgconsole)"
if [ "$VT" ]; then
sudo chvt 7
sudo chvt "$VT"
fiCode: Select all
sudo chmod +x startkodiCode: Select all
sudo cp startkodi /usr/local/binCode: Select all
sudo chmod 777 /usr/local/bin/startkodiCode: Select all
nano Desktop/kodi.desktopCode: Select all
[Desktop Entry]
Version=1.0
Name=Kodi Media Center
GenericName=Media Center
Comment=Manage and view your media
Exec=startkodi
Icon=kodi
Terminal=false
Type=Application
Categories=AudioVideo;Video;Player;TV;Code: Select all
sudo cp Desktop/kodi.desktop /usr/share/applicationsCode: Select all
sudo usermod -a -G "audio,video,input,dialout,plugdev,tty" usernamehereCode: Select all
sudo addgroup --system inputCode: Select all
sudo nano /etc/udev/rules.d/99-input.rulesCode: Select all
SUBSYSTEM==input, GROUP=input, MODE=0660
KERNEL==tty[0-9]*, GROUP=tty, MODE=0660
Code: Select all
sudo nano /etc/udev/rules.d/10-permissions.rulesCode: Select all
# input
KERNEL=="mouse*|mice|event*", MODE="0660", GROUP="input"
KERNEL=="ts[0-9]*|uinput", MODE="0660", GROUP="input"
KERNEL==js[0-9]*, MODE=0660, GROUP=input
# tty
KERNEL==tty[0-9]*, MODE=0666
# vchiq
SUBSYSTEM==vchiq, GROUP=video, MODE=0660Add to /etc/init.d/rc.local:
Code: Select all
chmod 0777 /dev/tty0Type:
Code: Select all
sudo nano /boot/config.txtCode: Select all
gpu_mem=160Reboot is necessary for all the changes.
Code: Select all
sudo rebootIf it works, tell me
Kratos