Skip to content

Instantly share code, notes, and snippets.

@erikthered
Last active December 22, 2018 00:07
Show Gist options
  • Save erikthered/7190416fea7b1b8c23ed to your computer and use it in GitHub Desktop.
Save erikthered/7190416fea7b1b8c23ed to your computer and use it in GitHub Desktop.
Ubuntu 15.04 + Kodi + Steam

Install Lubuntu 15.04

Install openssh-server

Install pulseaudio

sudo apt-get install pulseaudio pavucontrol libasound2-plugins

Install nvidia drivers

(Optional) Disable EDID DPI and set manually

sudo nvidia-xconfig --no-use-edid-dpi

https://wiki.archlinux.org/index.php/Xorg#Proprietary_NVIDIA_driver edit xorg.conf (Good options: 96, 120, 144, 168, 192):

Section "Monitor" Identifier "Monitor0" Option "DPI" "96 x 96" EndSection

Setup x11vnc

https://help.ubuntu.com/community/VNC/Servers#Have_x11vnc_start_automatically_via_systemd_in_any_environment_.28Vivid.2B-.29

Install Kodi from PPA

Enable suspend/resume from USB (for lirc remote control)

lsusb (to get vendor and product ids)

sudo nano /etc/udev/rules.d/90-mcewakeup.rules

SUBSYSTEM=="usb", ATTRS{idVendor}=="1784", ATTRS{idProduct}=="0008" RUN+="/bin/sh -c 'echo enabled > /sys$env{DEVPATH}/../power/wakeup'"

sudo nano /etc/polkit-1/localauthority/50-local.d/custom-actions.pkla (and/or /var/lib/polkit-1/localauthority/50-local.d/custom-actions.pkla)

[Actions for erik user]
Identity=unix-user:erik
Action=org.freedesktop.udisks.*;org.freedesktop.login1.*
ResultAny=yes
ResultInactive=yes
ResultActive=yes

http://forum.kodi.tv/showthread.php?tid=225281

https://askubuntu.com/questions/1088726/how-to-use-a-key-press-to-wake-a-suspended-laptop-when-using-a-kvm-switch

Install Steam

Install patched xbox controller driver

https://github.com/paroj/xpad

Install Steam launcher in Kodi

http://forum.kodi.tv/showthread.php?tid=157499

@erikthered
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment