Skip to content

Commit 3874046

Browse files
authored
Merge pull request #207 from effectsbot/main
Add two additional troubleshooting entries for Sober
2 parents a7a6549 + f20aaf2 commit 3874046

File tree

1 file changed

+40
-1
lines changed

1 file changed

+40
-1
lines changed

src/Sober/Troubleshooting/index.md

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,4 +184,43 @@ For some reason, we are beginning to recieve elevated reports of Sober sometimes
184184

185185
#### Solution
186186

187-
Use the Wayland session
187+
Use the Wayland session
188+
189+
190+
191+
### My audio is crackling / acting weird!
192+
Whether it's from your microphone or in-game audio, the exact cause of this issue is unknown and may depend on your audio setup.
193+
194+
#### Solution
195+
Sober uses PulseAudio as its audio driver by default. Switching to PipeWire or ALSA may help mitigate this issue.
196+
197+
In order to switch to PipeWire as the audio driver, run the following command:
198+
```console
199+
$ flatpak override --user --filesystem=xdg-run/pipewire-0 --env=SDL_AUDIO_DRIVER=pipewire org.vinegarhq.Sober
200+
```
201+
202+
In order to switch to ALSA as the audio driver, run this command instead:
203+
```console
204+
$ flatpak override --user --env=SDL_AUDIO_DRIVER=alsa org.vinegarhq.Sober
205+
```
206+
207+
208+
### When I try to join games from the Roblox website or click on private server links, nothing happens!
209+
Sober depends on the OpenURI portal for opening Roblox links. If you're experiencing issues related to that, then your desktop environment / window manager may not have set up XDG portals correctly.
210+
211+
#### Solution
212+
Install the `xdg-desktop-portal-gtk` package from your distribution's repositories if you haven't done so already, then restart your device before proceeding with the next step.
213+
214+
If you're on a desktop environment or window manager that uses X11, you can run the following script to setup the portal automatically:
215+
```console
216+
#!/bin/bash
217+
mkdir ~/.config/xdg-desktop-portal
218+
echo -e '[preferred]\ndefault=gtk' > ~/.config/xdg-desktop-portal/$(echo ${XDG_CURRENT_DESKTOP,,})-portals.conf
219+
systemctl --user restart xdg-desktop-portal.service xdg-desktop-portal-gtk.service
220+
xdg-mime default org.vinegarhq.Sober.desktop x-scheme-handler/roblox-player
221+
```
222+
223+
If you're on a desktop environment or window manager that uses Wayland, XDG portals should work out of the box. If you're still experiencing issues, run the following command:
224+
```console
225+
xdg-mime default org.vinegarhq.Sober.desktop x-scheme-handler/roblox-player
226+
```

0 commit comments

Comments
 (0)