MaartenBaert / ssr

SimpleScreenRecorder, a screen recorder for Linux
http://www.maartenbaert.be/simplescreenrecorder/
GNU General Public License v3.0
2.54k stars 289 forks source link

I3WM no sound #689

Open frrobert2 opened 5 years ago

frrobert2 commented 5 years ago

I am using Ubuntu 16.04 with pulse audio. If I use SSR with a Desktop Manager such as LXDE SSR runs fine and I have sound. If I run SSR with I3 window manger and no DM there is no sound with pulse, ALSA, or JACK. SSR is not able to find any of the sources.

My thought is the DM is providing a layer between SSR and Pulse, ALSA, or Jack that is making sound work. Is there a way to run SSR with just a window manager and not a Desktop Manager?

Thanks

MaartenBaert commented 5 years ago

I'm just using the standard libraries to access those APIs, there is nothing in SSR that would stop them from working outside a certain desktop manager - this must be something external. The most likely cause is that you have no access to the audio devices. Maybe your user isn't in the audio group and you are only getting access through cgroups, but I3 isn't setting these up correctly. You can probably figure out the reason why it doesn't work by running SSR from a terminal and looking at the error messages.