update docs
This commit is contained in:
@@ -21,10 +21,8 @@ location by modifying the configuration file.
|
|||||||
Value Description
|
Value Description
|
||||||
========= ===========
|
========= ===========
|
||||||
Docker /config/
|
Docker /config/
|
||||||
Linux-aur /usr/share/sunshine/config/
|
Linux ~/.config/sunshine/
|
||||||
Linux-deb /usr/local/sunshine/config/
|
macOS ~/.config/sunshine/
|
||||||
Linux-rpm /usr/local/sunshine/config/
|
|
||||||
macOS /usr/local/sunshine/config/
|
|
||||||
Windows ./config/
|
Windows ./config/
|
||||||
========= ===========
|
========= ===========
|
||||||
|
|
||||||
|
|||||||
@@ -4,9 +4,12 @@ Installation
|
|||||||
============
|
============
|
||||||
The recommended method for running Sunshine is to use the `binaries`_ bundled with the `latest release`_.
|
The recommended method for running Sunshine is to use the `binaries`_ bundled with the `latest release`_.
|
||||||
|
|
||||||
|
.. Attention:: Additional setup is required after installation. See
|
||||||
|
:ref:`Setup <about/usage:setup>`.
|
||||||
|
|
||||||
Binaries
|
Binaries
|
||||||
--------
|
--------
|
||||||
Binaries of Sunshine are created for each release. They are available for Linux, and Windows.
|
Binaries of Sunshine are created for each release. They are available for Linux, macOS, and Windows.
|
||||||
Binaries can be found in the `latest release`_.
|
Binaries can be found in the `latest release`_.
|
||||||
|
|
||||||
.. Tip:: Some third party packages also exist. See
|
.. Tip:: Some third party packages also exist. See
|
||||||
@@ -19,7 +22,13 @@ Docker
|
|||||||
|
|
||||||
Linux
|
Linux
|
||||||
-----
|
-----
|
||||||
Follow the instructions for your preferred package type below.
|
First, follow the instructions for your preferred package type below.
|
||||||
|
|
||||||
|
Then start sunshine with the following command, unless a start command is listed in the specified package.
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
sunshine
|
||||||
|
|
||||||
AppImage
|
AppImage
|
||||||
^^^^^^^^
|
^^^^^^^^
|
||||||
@@ -41,6 +50,23 @@ According to AppImageLint the AppImage can run on the following distros.
|
|||||||
- [✖] CentOS 7
|
- [✖] CentOS 7
|
||||||
|
|
||||||
#. Download ``sunshine-appimage.zip`` and extract the contents to your home directory.
|
#. Download ``sunshine-appimage.zip`` and extract the contents to your home directory.
|
||||||
|
#. Open terminal and run the following code.
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
./sunshine.AppImage --install
|
||||||
|
|
||||||
|
Start:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
./sunshine.AppImage --install && ./sunshine.AppImage
|
||||||
|
|
||||||
|
Uninstall:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
./sunshine.AppImage --remove
|
||||||
|
|
||||||
AUR Package
|
AUR Package
|
||||||
^^^^^^^^^^^
|
^^^^^^^^^^^
|
||||||
@@ -48,10 +74,16 @@ AUR Package
|
|||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
git clone https://aur.archlinux.org/sunshine-git.git
|
git clone https://aur.archlinux.org/sunshine.git
|
||||||
cd sunshine-git
|
cd sunshine
|
||||||
makepkg -fi
|
makepkg -fi
|
||||||
|
|
||||||
|
Uninstall:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
pacman -R sunshine
|
||||||
|
|
||||||
Debian Package
|
Debian Package
|
||||||
^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^
|
||||||
.. image:: https://img.shields.io/github/issues/lizardbyte/sunshine/pkg:deb?logo=github&style=for-the-badge
|
.. image:: https://img.shields.io/github/issues/lizardbyte/sunshine/pkg:deb?logo=github&style=for-the-badge
|
||||||
@@ -65,13 +97,17 @@ Debian Package
|
|||||||
|
|
||||||
.. Tip:: You can double click the deb file to see details about the package and begin installation.
|
.. Tip:: You can double click the deb file to see details about the package and begin installation.
|
||||||
|
|
||||||
|
Uninstall:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
sudo apt remove sunshine
|
||||||
|
|
||||||
Flatpak Package
|
Flatpak Package
|
||||||
^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^
|
||||||
.. image:: https://img.shields.io/github/issues/lizardbyte/sunshine/pkg:flatpak?logo=github&style=for-the-badge
|
.. image:: https://img.shields.io/github/issues/lizardbyte/sunshine/pkg:flatpak?logo=github&style=for-the-badge
|
||||||
:alt: GitHub issues by-label
|
:alt: GitHub issues by-label
|
||||||
|
|
||||||
.. Todo:: This package needs to have CUDA added.
|
|
||||||
|
|
||||||
#. Install `Flatpak <https://flatpak.org/setup/>`_ as required.
|
#. Install `Flatpak <https://flatpak.org/setup/>`_ as required.
|
||||||
#. Download ``sunshine.flatpak`` and run the following code.
|
#. Download ``sunshine.flatpak`` and run the following code.
|
||||||
|
|
||||||
@@ -85,6 +121,18 @@ Flatpak Package
|
|||||||
|
|
||||||
flatpak install --user sunshine.flatpak
|
flatpak install --user sunshine.flatpak
|
||||||
|
|
||||||
|
Start:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
flatpak run dev.lizardbyte.sunshine
|
||||||
|
|
||||||
|
Uninstall:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
flatpak uninstall --delete-data sunshine.flatpak
|
||||||
|
|
||||||
RPM Package
|
RPM Package
|
||||||
^^^^^^^^^^^
|
^^^^^^^^^^^
|
||||||
.. image:: https://img.shields.io/github/issues/lizardbyte/sunshine/pkg:rpm?logo=github&style=for-the-badge
|
.. image:: https://img.shields.io/github/issues/lizardbyte/sunshine/pkg:rpm?logo=github&style=for-the-badge
|
||||||
@@ -105,41 +153,62 @@ RPM Package
|
|||||||
|
|
||||||
.. Tip:: You can double click the rpm file to see details about the package and begin installation.
|
.. Tip:: You can double click the rpm file to see details about the package and begin installation.
|
||||||
|
|
||||||
|
Uninstall:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
sudo dnf remove sunshine
|
||||||
|
|
||||||
macOS
|
macOS
|
||||||
-----
|
-----
|
||||||
.. image:: https://img.shields.io/github/issues/lizardbyte/sunshine/os:macos?logo=github&style=for-the-badge
|
.. image:: https://img.shields.io/github/issues/lizardbyte/sunshine/os:macos?logo=github&style=for-the-badge
|
||||||
:alt: GitHub issues by-label
|
:alt: GitHub issues by-label
|
||||||
|
|
||||||
pkg
|
pkg
|
||||||
.. Warning:: The `pkg` does not include runtime dependencies and should be considered experimental.
|
^^^
|
||||||
|
.. Warning:: The `pkg` does not include runtime dependencies and should be considered experimental.
|
||||||
|
|
||||||
#. Download the ``sunshine.pkg`` file and install it as normal.
|
#. Download the ``sunshine.pkg`` file and install it as normal.
|
||||||
|
|
||||||
|
Uninstall:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
cd /etc/sunshine/assets
|
||||||
|
uninstall_pkg.sh
|
||||||
|
|
||||||
Portfile
|
Portfile
|
||||||
#. Install `MacPorts <https://www.macports.org>`_
|
^^^^^^^^
|
||||||
#. Update the Macports sources.
|
#. Install `MacPorts <https://www.macports.org>`_
|
||||||
|
#. Update the Macports sources.
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
sudo nano /opt/local/etc/macports/sources.conf
|
sudo nano /opt/local/etc/macports/sources.conf
|
||||||
|
|
||||||
Add this line, replacing your username, below the line that starts with ``rsync``.
|
Add this line, replacing your username, below the line that starts with ``rsync``.
|
||||||
|
|
||||||
file://Users/<username>/ports
|
file://Users/<username>/ports
|
||||||
|
|
||||||
``Ctrl+x``, then ``Y`` to exit and save changes.
|
``Ctrl+x``, then ``Y`` to exit and save changes.
|
||||||
|
|
||||||
#. Download the ``Portfile`` to ``~/Downloads`` and run the following code.
|
#. Download the ``Portfile`` to ``~/Downloads`` and run the following code.
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
mkdir -p ~/ports/multimedia/sunshine
|
mkdir -p ~/ports/multimedia/sunshine
|
||||||
mv ~/Downlaods/Portfile ~/ports/multimedia/sunshine
|
mv ~/Downlaods/Portfile ~/ports/multimedia/sunshine
|
||||||
cd ~/ports
|
cd ~/ports
|
||||||
portindex
|
portindex
|
||||||
sudo port install sunshine
|
sudo port install sunshine
|
||||||
|
|
||||||
#. The first time you start Sunshine, you will be asked to grant access to screen recording and your microphone.
|
#. The first time you start Sunshine, you will be asked to grant access to screen recording and your microphone.
|
||||||
|
|
||||||
|
Uninstall:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
sudo port uninstall sunshine
|
||||||
|
|
||||||
Windows
|
Windows
|
||||||
-------
|
-------
|
||||||
@@ -149,11 +218,18 @@ Windows
|
|||||||
.. image:: https://img.shields.io/github/issues/lizardbyte/sunshine/os:windows:11?logo=github&style=for-the-badge
|
.. image:: https://img.shields.io/github/issues/lizardbyte/sunshine/os:windows:11?logo=github&style=for-the-badge
|
||||||
:alt: GitHub issues by-label
|
:alt: GitHub issues by-label
|
||||||
|
|
||||||
Installed option:
|
Installer
|
||||||
#. Download and install ``sunshine-windows.exe``
|
^^^^^^^^^
|
||||||
|
#. Download and install ``sunshine-windows.exe``
|
||||||
|
|
||||||
Standalone option:
|
To uninstall, find Sunshine in the list `here <ms-settings:installed-apps>`_ and select "Uninstall" from the overflow
|
||||||
#. Download and extract ``sunshine-windows.zip``
|
menu. Different versions of Windows may provide slightly different steps for uninstall.
|
||||||
|
|
||||||
|
Standalone
|
||||||
|
^^^^^^^^^^
|
||||||
|
#. Download and extract ``sunshine-windows.zip``
|
||||||
|
|
||||||
|
To uninstall, delete the extracted directory which contains the ``sunshine.exe`` file.
|
||||||
|
|
||||||
.. _latest release: https://github.com/LizardByte/Sunshine/releases/latest
|
.. _latest release: https://github.com/LizardByte/Sunshine/releases/latest
|
||||||
.. _Dockerhub.io: https://hub.docker.com/repository/docker/lizardbyte/sunshine
|
.. _Dockerhub.io: https://hub.docker.com/repository/docker/lizardbyte/sunshine
|
||||||
|
|||||||
@@ -56,7 +56,8 @@ Setup
|
|||||||
|
|
||||||
Linux
|
Linux
|
||||||
^^^^^
|
^^^^^
|
||||||
The deb and rpm packages handle these steps automatically. The AppImage does not, third party packages may not as well.
|
The deb, rpm, and AppImage packages handle these steps automatically. The flatpak does not, third party packages
|
||||||
|
also may not.
|
||||||
|
|
||||||
Sunshine needs access to `uinput` to create mouse and gamepad events.
|
Sunshine needs access to `uinput` to create mouse and gamepad events.
|
||||||
|
|
||||||
@@ -105,7 +106,7 @@ Sunshine needs access to `uinput` to create mouse and gamepad events.
|
|||||||
aur /usr/bin/sunshine ✔
|
aur /usr/bin/sunshine ✔
|
||||||
deb /usr/bin/sunshine ✔
|
deb /usr/bin/sunshine ✔
|
||||||
rpm /usr/bin/sunshine ✔
|
rpm /usr/bin/sunshine ✔
|
||||||
AppImage ~/sunshine.AppImage ✖
|
AppImage ~/sunshine.AppImage ✔
|
||||||
Flatpak flatpak run dev.lizardbyte.sunshine ✖
|
Flatpak flatpak run dev.lizardbyte.sunshine ✖
|
||||||
======== ============================================== ===============
|
======== ============================================== ===============
|
||||||
|
|
||||||
@@ -169,9 +170,11 @@ All shortcuts start with CTRL + ALT + SHIFT, just like Moonlight
|
|||||||
|
|
||||||
Application List
|
Application List
|
||||||
----------------
|
----------------
|
||||||
|
- Applications should be configured via the web UI.
|
||||||
|
- A basic understanding of working directories and commands is recommended.
|
||||||
- You can use Environment variables in place of values
|
- You can use Environment variables in place of values
|
||||||
- ``$(HOME)`` will be replaced by the value of ``$HOME``
|
- ``$(HOME)`` will be replaced by the value of ``$HOME``
|
||||||
- ``$$`` will be replaced by ``$``, e.g. ``$$(HOME)`` will be replaced by ``$(HOME)``
|
- ``$$`` will be replaced by ``$``, e.g. ``$$(HOME)`` will be become ``$(HOME)``
|
||||||
- ``env`` - Adds or overwrites Environment variables for the commands/applications run by Sunshine
|
- ``env`` - Adds or overwrites Environment variables for the commands/applications run by Sunshine
|
||||||
- ``"Variable name":"Variable value"``
|
- ``"Variable name":"Variable value"``
|
||||||
- ``apps`` - The list of applications
|
- ``apps`` - The list of applications
|
||||||
@@ -219,3 +222,4 @@ Considerations
|
|||||||
- When the application has been shutdown, the stream shuts down as well.
|
- When the application has been shutdown, the stream shuts down as well.
|
||||||
- In addition to the apps listed, one app "Desktop" is hardcoded into Sunshine. It does not start an application,
|
- In addition to the apps listed, one app "Desktop" is hardcoded into Sunshine. It does not start an application,
|
||||||
instead it simply starts a stream.
|
instead it simply starts a stream.
|
||||||
|
- For the Linux flatpak you must prepend commands with ``flatpak-spawn --host``.
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Linux
|
Linux
|
||||||
=====
|
=====
|
||||||
If screencasting fails with Wayland, you may need to run the following to force screencasting with X11.
|
If screencasting fails with KMS, you may need to run the following to force unprivileged screencasting.
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user