How to prevent autostart of the Pulse Audio bridge
Moderators: MattKingUSA, khz
How to prevent autostart of the Pulse Audio bridge
I am using KX Studio repos on Ubuntu 16.04, and every time I start Jack with Cadence, the pulseaudio jack bridge module autostarts with it. How do I prevent that? The main problem is that I can't even stop it. Every time I stop, it loads itself on its own.
Re: How to prevent autostart of the Pulse Audio bridge
Yes, there is no such folder. Actually, I just rebuilt my system from scratch, and the only time I typed sudo and pulseaudio together was when I installed the module. Is there a way to fix that?
Re: How to prevent autostart of the Pulse Audio bridge
Will try that. In the mean time, I created the the .pulse folder myself, and after reboot, I lost the submenus in the cadence applet. Respawning still not solved.
Re: How to prevent autostart of the Pulse Audio bridge
I reinstalled the system again, and the autostart is solved, but I still don't have submenus in the applet indicator. I ran cadence from the terminal, but nothing much there...just this:
Code: Select all
$ cadence
Using Tray Engine 'Qt'
- Attachments
-
- 1.jpg (100.1 KiB) Viewed 8395 times
- lilith
- Established Member
- Posts: 1698
- Joined: Fri May 27, 2016 11:41 pm
- Location: bLACK fOREST
- Has thanked: 117 times
- Been thanked: 57 times
- Contact:
Re: How to prevent autostart of the Pulse Audio bridge
I have the same issue currently on another machine (Laptop). I installed the KXStudio repos and everytime I stop the pulseaudio bridge in Cadence it starts automatically after 3 Seconds. On my main PC it is not restarting. Is there something misconfigured?
- khz
- Established Member
- Posts: 1648
- Joined: Thu Apr 17, 2008 6:29 am
- Location: German
- Has thanked: 42 times
- Been thanked: 92 times
Re: How to prevent autostart of the Pulse Audio bridge
Code: Select all
echo "autospawn = no" >> ~/.config/pulse/client.conf
. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
- I don't care about the freedom of speech because I have nothing to say.
- lilith
- Established Member
- Posts: 1698
- Joined: Fri May 27, 2016 11:41 pm
- Location: bLACK fOREST
- Has thanked: 117 times
- Been thanked: 57 times
- Contact:
Re: How to prevent autostart of the Pulse Audio bridge
Thanks! Now this thread makes sense, cause I didn't understand the posts.khz wrote: ↑Thu Mar 19, 2020 1:55 pmviewtopic.php?p=103154#p103154Code: Select all
echo "autospawn = no" >> ~/.config/pulse/client.conf
- lilith
- Established Member
- Posts: 1698
- Joined: Fri May 27, 2016 11:41 pm
- Location: bLACK fOREST
- Has thanked: 117 times
- Been thanked: 57 times
- Contact:
- khz
- Established Member
- Posts: 1648
- Joined: Thu Apr 17, 2008 6:29 am
- Location: German
- Has thanked: 42 times
- Been thanked: 92 times
Re: How to prevent autostart of the Pulse Audio bridge
Yes, as far as I remember or as far as I have a technical overview, you have to log out the user and log in again, because this will read and apply the file ~/.config/pulse/client.conf. It is not necessary to restart the computer. IMHO
But I switch off with the command PA:
In qjackctl Setup:
But I switch off with the command PA:
In qjackctl Setup:
- Setup >> Options > [X] Execute script at startup: "systemctl --user stop pulseaudio.socket && systemctl --user stop pulseaudio.service"
- Setup >> Options > [X] Run script after shutdown: "killall -9 jackdbus && systemctl --user start pulseaudio.socket && systemctl --user start pulseaudio.service")
. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
- I don't care about the freedom of speech because I have nothing to say.
- khz
- Established Member
- Posts: 1648
- Joined: Thu Apr 17, 2008 6:29 am
- Location: German
- Has thanked: 42 times
- Been thanked: 92 times
Re: How to prevent autostart of the Pulse Audio bridge
Permanently disabling PA via "client.conf" worked for me with Debian-9.
With Debian-10 it didn't work anymore.
Since then I use the systemctl command mentioned above.
With Debian-10 it didn't work anymore.
Since then I use the systemctl command mentioned above.
. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
- I don't care about the freedom of speech because I have nothing to say.
- lilith
- Established Member
- Posts: 1698
- Joined: Fri May 27, 2016 11:41 pm
- Location: bLACK fOREST
- Has thanked: 117 times
- Been thanked: 57 times
- Contact:
- lilith
- Established Member
- Posts: 1698
- Joined: Fri May 27, 2016 11:41 pm
- Location: bLACK fOREST
- Has thanked: 117 times
- Been thanked: 57 times
- Contact:
Re: How to prevent autostart of the Pulse Audio bridge
That's strange. You mean preventing it to not restart does not work in Debian 10? It's working for sure on my Desktop PC, but not on the laptop.
Code: Select all
autospawn = no
- khz
- Established Member
- Posts: 1648
- Joined: Thu Apr 17, 2008 6:29 am
- Location: German
- Has thanked: 42 times
- Been thanked: 92 times
Re: How to prevent autostart of the Pulse Audio bridge
Last year I treated myself to my first laptop in my life. Conservative as I am I installed a Debian-stable (includes a smooth transition from stretch to buster). This is how I came across the problem with "client.conf". With buster it just didn't work anymore.
Is it related to https://wiki.debian.org/systemd or https://wiki.debian.org/Wayland or $foobar?
Thanks to you (posts in the link above) I got to know the "systemctl" and, since it just works, adapted it. Thanks for that.
The "systemctl" I have then also transferred to the desktop like this.
Direct console command for pulseaudio service on/off.
(Why does my post appear 2 times?)
Is it related to https://wiki.debian.org/systemd or https://wiki.debian.org/Wayland or $foobar?
Thanks to you (posts in the link above) I got to know the "systemctl" and, since it just works, adapted it. Thanks for that.
The "systemctl" I have then also transferred to the desktop like this.
Direct console command for pulseaudio service on/off.
(Why does my post appear 2 times?)
. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
- I don't care about the freedom of speech because I have nothing to say.
- lilith
- Established Member
- Posts: 1698
- Joined: Fri May 27, 2016 11:41 pm
- Location: bLACK fOREST
- Has thanked: 117 times
- Been thanked: 57 times
- Contact:
Re: How to prevent autostart of the Pulse Audio bridge
It works on my Desktop PC running Buster. I'll check the settings there.
- lilith
- Established Member
- Posts: 1698
- Joined: Fri May 27, 2016 11:41 pm
- Location: bLACK fOREST
- Has thanked: 117 times
- Been thanked: 57 times
- Contact:
Re: How to prevent autostart of the Pulse Audio bridge
On my Desktop PC I have also Cadence running and I can stop the Pulse Audio Bridge there and it does not restart again automatically.
I even don't have a client.conf file in ~/.config/pulse/ and in /etc/pulse/client.conf everything is commented.
Debian 10 also here.
I even don't have a client.conf file in ~/.config/pulse/ and in /etc/pulse/client.conf everything is commented.
Debian 10 also here.