Plugin for Kodi to launch Steamlink. Based on work of bigbrozer.
Any recent Linux distribution with following requirements:
-
Systemd-based
-
Flatpak support (hint:
sudo apt install flatpak
) -
Kodi v19 package installed as a service (hint:
sudo apt install kodi
) -
Install steamlink
# Install SteamLink package flatpack install com.valvesoftware.SteamLink
Adapt startup command if needed For example if SteamLink was installed through a Debian package, replace the
flatpack
line with juststeamlink
. -
Specfic for Openbox if used
If not running a full Desktop Environment like Gnome, KDE or XFCE, some display-related tweaks may be needed to properly launch SteamLink. A starting script could be:
/usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/openbox-session -- :0 -nolisten tcp vt7 & sleep 3 # Allow some time for display initialization OUTPUT=`xrandr -display :0 -q | sed '/ connected/!d;s/ .*//;q'` xrandr -display :0 --output $OUTPUT --set "Broadcast RGB" "Full" export DISPLAY=:0 flatpak run com.valvesoftware.SteamLink openbox --exit sleep 3 # Allow some time for display to shutdown (needed for proper Kodi restart)
However this may not be needed, for example when launching from Kodi, the program shall be able to use the already opened display.
-
Log into ssh on your Kodi installation.
-
Download the zip of the launcher and install it via Kodi (Extension → Install from Zip file). You must allow untrusted sources in system settings prior to this.
Steam Copyright 2003-2018 Valve Corp. All rights reserved. Use of Steam Link software is subject to the Steam Subscriber Agreement, https://store.steampowered.com/subscriber_agreement/.
- bigbrozer/kodi-steamlink-launcher - Steamlink launcher for Kodi on Raspbian
- grimlokason/osmc-steamlink - scripting logic
- swetoast/steamlink-launcher - addon resources
Steamlink Launcher for Kodi is licensed under GPLv2, see LICENSE.txt
.