Browse code

Add pulse_options to browser-wrapper.

Xavier G authored on 16/07/2016 15:03:13
Showing 1 changed files
... ...
@@ -73,6 +73,12 @@ x11_options="
73 73
 	--bind=${HOME}/.icons:${HOME}/.icons
74 74
 	--bind=${HOME}/.fonts:${HOME}/.fonts
75 75
 	--bind=${HOME}/.fontconfig:${HOME}/.fontconfig"
76
+#   - the PulseAudio stuff is still there (typically: client.conf)
77
+#     Note that it may be necessary to either bind /dev/shm or to set
78
+#     enable-shm = no in PulseAudio's client.conf.
79
+pulse_options="
80
+	--bind=${HOME}/.pulse:${HOME}/.pulse
81
+	--bind=${HOME}/.config/pulse:${HOME}/.config/pulse"
76 82
 #   - its configuration directory is still there
77 83
 #   - its cache directory is still there
78 84
 browser_conf_options="
... ...
@@ -145,6 +151,7 @@ if [ -x "${proot_path}" ]; then
145 151
 		${slash_home_options} \
146 152
 		${home_options} \
147 153
 		${x11_options} \
154
+		${pulse_options} \
148 155
 		${browser_conf_options} \
149 156
 		${download_options} \
150 157
 		${upload_options} \