Sunshine/README.txt

37 lines
1.3 KiB
Plaintext
Raw Normal View History

2019-12-05 00:11:09 +00:00
Requirements:
Ubuntu 19.10: cmake libssl-dev libavdevice-dev libboost-thread-dev libpulse-dev libopus-dev libfixes-dev libxtst-dev libx11-dev libevdev-dev
2019-12-05 00:11:09 +00:00
Compilation:
* git clone <repository> --recurse-submodules
* mkdir build && cd build
2019-12-05 00:12:00 +00:00
* cmake -DCMAKE_BUILD_TYPE=Release ..
2019-12-05 00:11:09 +00:00
* make
2019-12-08 18:21:48 +00:00
Setup:
* assets/sunshine.conf is an example configuration file. Modify it as you see fit and use it by running: "sunshine path/to/sunshine.conf"
* assets/sunshine.service is used to start sunshine in the background:
* cp sunshine.service $HOME/.config/systemd/user/
* Modify $HOME/.config/systemd/user/sunshine.conf to point to the sunshine executable
* systemctl --user start sunshine
2019-12-05 00:11:09 +00:00
Usage:
2019-12-08 18:21:48 +00:00
* run "sunshine"
2019-12-05 00:11:09 +00:00
* In Moonlight: Add PC manually
* When Moonlight request you insert the correct pin on sunshine:
wget xxx.xxx.xxx.xxx:47989/pin/xxxx -- where the final 4 x'es are subsituted by the pin
or
Type in the URL bar of your browser: xxx.xxx.xxx.xxx:47989/pin/xxxx -- where the final 4 x'es are subsituted by the pin
2019-12-05 00:12:48 +00:00
* Click on one of the Applications listed
2019-12-05 00:11:09 +00:00
* Have fun :)
2019-12-08 18:21:48 +00:00
2019-12-05 00:11:09 +00:00
Note:
* The Windows key is not passed through by Moonlight, therefore Sunshine maps Right-Alt key to the Windows key
2019-12-08 18:28:14 +00:00
Credits:
* Simple-Web-Server [https://gitlab.com/eidheim/Simple-Web-Server]
* Moonlight [https://github.com/moonlight-stream]