Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RESOLVED] No sound in sandboxed firefox, pulseaudio
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
UralZima
n00b
n00b


Joined: 04 Mar 2017
Posts: 9

PostPosted: Tue Mar 28, 2017 3:51 pm    Post subject: [RESOLVED] No sound in sandboxed firefox, pulseaudio Reply with quote

Hello. I have configured Firefox to run as another user, as described here:
https://wiki.gentoo.org/wiki/Simple_sandbox

Firefox is running, but no any sound. I use pulseaudio with default configuration and Plasma 5.

Please help me getting sound in sandboxed apps, running as another user.

Preferably, I want to see it's stream in my default user's pavucontrol.


Last edited by UralZima on Sat Apr 01, 2017 7:41 am; edited 1 time in total
Back to top
View user's profile Send private message
Leio
Developer
Developer


Joined: 27 Feb 2003
Posts: 494
Location: Estonia

PostPosted: Tue Mar 28, 2017 4:37 pm    Post subject: Reply with quote

There are probably much much better ways (e.g whatever flatpak ends up using, etc), but you could share the cookie file and then send it to your main users pulseaudio (as localhost) after enabling tcp connections - https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Network/
_________________
GNOME team lead; GStreamer; MIPS/ARM64
Back to top
View user's profile Send private message
UralZima
n00b
n00b


Joined: 04 Mar 2017
Posts: 9

PostPosted: Sat Apr 01, 2017 7:41 am    Post subject: Reply with quote

I resolved this by changing my pulseaudio to system-wide. I know cons about that, but I am the only user on this computer. Thanks for cookie suggestion
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum