In order to run flatpak applications (like Discord or Spotify) I currently have to export the
$PUSLE_SERVER in my
~/.bashrc like so:
After reading this part of the pulse audio FAQ I believe I can get this working by using
I have tried adding either of the following two lines to my
default-server = unix:/tmp/pulse-PKdhtXMmr18n/native
auto-connect-display = yes
NOTE: I tried the second because someone on the IRC suggested that flatpak may be looking at something related to X11 for the
After trying an
env | grep PULSE the
$PULSE_SERVER does not appear to be being set. Furthermore neither of these approaches seem to have any effect (in saying that the first seemed to interfere with the session start as it stopped my
polybar from starting, I have no idea why or how to debug this).
The main reason for wanting to define the
$PULSE_SERVER elsewhere is I don't want to have to declare it in each shell and I would like to keep all the pulse config in one place.
I originally tried adding the above export to my
~/.xprofile (I use SDDM to start my session) however this stopped the pulse folder from being created in
Additional Info: I am running void linux with the bspwm window manager.