LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Containers
User Name
Password
Linux - Containers This forum is for the discussion of all topics relating to Linux containers. Docker, LXC, LXD, runC, containerd, CoreOS, Kubernetes, Mesos, rkt, and all other Linux container platforms are welcome.

Notices


Reply
  Search this Thread
Old 10-17-2021, 04:26 PM   #1
slackerz
Member
 
Registered: Aug 2020
Posts: 73

Rep: Reputation: 23
No sound in Flatpak app no PulseAudio


I'm running a vanilla ALSA based system. I can run apps like Firefox using
Code:
 $ apulse firefox
to get sound using the passthrough emulator. If I do the same with Flatpak.. there is no sound.

Code:
$ apulse flatpak run org.mozilla.firefox
With or without apulse there is no sound.

Anyone know how I can get sound working in Flatpak Firefox?
 
Old 10-19-2021, 02:09 AM   #2
lovemeslk
Member
 
Registered: Feb 2020
Location: Rantoul IL
Distribution: Slackware
Posts: 350

Rep: Reputation: 72
just compile install jack2 and qjackctl and set your input and output device qjackctl .
This way you do not have to fight the flat pack issue.
when using qjackctl
use the script as your ~/.asoundrc
Code:
# override default
pcm.!default {
    type plug
    slave {
        pcm "rjack"
    }
}

# ALSA-to-JACK bridge
pcm.jack {
    type plug
    slave {
        pcm "rjack"
    }
    hint {
        description "JACK bridge"
    }
}
pcm.rjack {
    type jack
    playback_ports {
        0 "system:playback_1"
        1 "system:playback_2"
    }
    capture_ports {
        0 "system:capture_1"
        1 "system:capture_2"
    }
}
Learn to use alsamixer.
If there is a certain program in a flatpack that was compiled against
pulse headers like bluetooth stuff you may have issues.
This is Why I use my Dad's pulseaudio jack2 sync.
but if you want to force input and output on a certain device
this is the way to go.
Make sure those devices are setup in alsamixer.
all HTML5 stuff uses default device. that is why apules works on firefox.
recompile alsa-plugins after you install jack2

Last edited by lovemeslk; 10-19-2021 at 02:16 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Flatpak 1.10.2 Security Update Fixes Vulnerability That Lets Flatpak Apps Access Host OS Files LXer Syndicated Linux News 0 03-11-2021 05:12 PM
LXer: Flatpak Linux App Sandboxing Gets New FUSE-Based System-Wide Installation Method LXer Syndicated Linux News 0 04-13-2019 10:42 PM
LXer: Flatpak Linux App Sandboxing Format Now Lets You Kill Running Flatpak Instances LXer Syndicated Linux News 0 11-23-2018 01:21 AM
Can't Get Sound from Pulseaudio -- PulseAudio Will Not Start JasonC10203 Linux - Software 4 11-28-2016 11:18 PM
Winecfg crashes on sound tab with Pulseaudio and no 'sounddrivers' without pulseaudio William (Dthdealer) Linux - Software 5 06-13-2010 07:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Containers

All times are GMT -5. The time now is 05:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration