sudo apt-get install pulseaudio pavucontrol libasound2-plugins
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
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
http://kodi.wiki/view/HOW-TO:Suspend_and_wake_in_Ubuntu