Update Flatpak docs (#1724)

* Update wiki for Flatpak

* Update Flatpak page and install guide
This commit is contained in:
Charlie Le 2023-07-10 15:50:16 -04:00 committed by GitHub
parent fc2c729bb7
commit 6750c9eaf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 1 deletions

View File

@ -12,7 +12,7 @@
5. Any scripts that affect the host will run within the sandbox
6. Sometimes, a new instance of Steam will launch when launching the dashboard. To fix this, close both ALVR and Steam then launch Steam. As soon as Steam is opens to the storefront, launch the ALVR dashboard.
6. Sometimes, a new instance of Steam will launch when launching the dashboard. To fix this, close both ALVR and Steam then launch Steam. As soon as Steam opens to the storefront, launch the ALVR dashboard.
7. The ALVR Dashboard is not available in the Applications menu. To run the dashboard, run the following command to run `alvr_dashboard` in the Steam Flatpak environment:
@ -20,6 +20,8 @@
flatpak run --command=alvr_dashboard com.valvesoftware.Steam
```
8. This only works with the Steam Flatpak. For non-Flatpak Steam, use the AppImage instead
## Dependencies
First, flatpak must be installed from your distro's repositories. Refer to [this page](https://flatpak.org/setup/) to find the instructions for your distro.
@ -64,6 +66,12 @@ Once inside the repository, simply run the following command to build and instal
flatpak run org.flatpak.Builder --user --install --force-clean .flatpak-build-dir alvr/xtask/flatpak/com.valvesoftware.Steam.Utility.alvr.json
```
If ALVR is not cloned under the home directory, permission to access the directory may need to be given to the build command. An example of this is given below.
```
flatpak run --filesystem="$(pwd)" org.flatpak.Builder --user --install --force-clean .flatpak-build-dir alvr/xtask/flatpak/com.valvesoftware.Steam.Utility.alvr.json
```
## Notes
### Running the dashboard

View File

@ -94,6 +94,9 @@ somewhere in your home directory (steam doesn't like long paths)
#### AppImage
You can get appimage for latest stable version from [here](https://github.com/alvr-org/ALVR/releases/latest).
#### Flatpak
For Flatpak users, refer to the instructions [here](https://github.com/alvr-org/ALVR/wiki/Flatpak)
#### Portable tar.gz
* Install FFmpeg with VAAPI/NVENC + DRM + Vulkan + x264/x265 support. You can use this [ppa:savoury1/ffmpeg5](https://launchpad.net/~savoury1/+archive/ubuntu/ffmpeg5) under Ubuntu.