<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rivendellaudio.wiki/index.php?action=history&amp;feed=atom&amp;title=Configuring_Jack_with_Pulseaudio_on_Linux_Mint_21</id>
	<title>Configuring Jack with Pulseaudio on Linux Mint 21 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://rivendellaudio.wiki/index.php?action=history&amp;feed=atom&amp;title=Configuring_Jack_with_Pulseaudio_on_Linux_Mint_21"/>
	<link rel="alternate" type="text/html" href="https://rivendellaudio.wiki/index.php?title=Configuring_Jack_with_Pulseaudio_on_Linux_Mint_21&amp;action=history"/>
	<updated>2026-04-23T14:36:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://rivendellaudio.wiki/index.php?title=Configuring_Jack_with_Pulseaudio_on_Linux_Mint_21&amp;diff=28765&amp;oldid=prev</id>
		<title>imported&gt;WaybackImport: Imported from Wayback via edit</title>
		<link rel="alternate" type="text/html" href="https://rivendellaudio.wiki/index.php?title=Configuring_Jack_with_Pulseaudio_on_Linux_Mint_21&amp;diff=28765&amp;oldid=prev"/>
		<updated>2025-03-28T03:51:15Z</updated>

		<summary type="html">&lt;p&gt;Imported from Wayback via edit&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This information was supplied by Luigino Bracci Roa via the Rivendell Open Source Automation Users Facebook Forum.&lt;br /&gt;
&lt;br /&gt;
=== Steps to install Rivendell 4 with JACK and Pulseaudio in Linuxmint 21 Mate (Ubuntu 22.04-based) ===&lt;br /&gt;
&lt;br /&gt;
- Install Linuxmint 21 Mate&lt;br /&gt;
&lt;br /&gt;
- Update packages (sudo apt update &amp;amp;&amp;amp; sudo apt upgrade)&lt;br /&gt;
&lt;br /&gt;
- Install KXStudio repositories following steps in https://kx.studio/Repositories&lt;br /&gt;
&lt;br /&gt;
    sudo apt update&lt;br /&gt;
    sudo apt install kxstudio-default-settings cadence jackd2 pulseaudio-module-jack linux-image-lowlatency catia&lt;br /&gt;
&lt;br /&gt;
- Add your user to the &amp;quot;audio&amp;quot; group (sudo adduser &amp;lt;username&amp;gt; audio)&lt;br /&gt;
&lt;br /&gt;
- Run Cadence. Click on Configure, then click on Driver, choose ALSA, choose in Device/Interface your sound card or sound device. Configure other parameters and click OK.&lt;br /&gt;
&lt;br /&gt;
- In JACK Bridges / Alsa Audio, choose in Bridge type: ALSA -&amp;gt; Pulseaudio- JACK&lt;br /&gt;
&lt;br /&gt;
- In Pulseaudio, turn on &amp;quot;Auto-start at login&amp;quot;&lt;br /&gt;
&lt;br /&gt;
- Do NOT turn on the option &amp;quot;Auto-start JACK or LADISH at login&amp;quot;&lt;br /&gt;
&lt;br /&gt;
- Reboot&lt;br /&gt;
&lt;br /&gt;
- Install Rivendell 4 following steps in https://software.paravelsystems.com/howtos/ubuntu/jammy/ (starting in &amp;quot;Running installation script&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
- Add current user to the group &amp;quot;rivendell&amp;quot; (sudo adduser &amp;lt;username&amp;gt; rivendell)&lt;br /&gt;
&lt;br /&gt;
- Run &amp;quot;sudo systemctl disable rivendell.service&amp;quot; (we don&amp;#039;t want Rivendell to start automaticaly as a service whern the system boots, we need to start it after JACK is running)&lt;br /&gt;
&lt;br /&gt;
- Let&amp;#039;s disable Pulseaudio so it don&amp;#039;t run at startup:&lt;br /&gt;
&lt;br /&gt;
  systemctl --user disable pulseaudio.service&lt;br /&gt;
  systemctl --user disable pulseaudio.socket&lt;br /&gt;
  sudo systemctl --global disable pulseaudio.service&lt;br /&gt;
  sudo systemctl --global disable pulseaudio.socket&lt;br /&gt;
&lt;br /&gt;
- As root, create a file /etc/sudoers.d/rivendell with this content (replace &amp;quot;username&amp;quot; with your user):&lt;br /&gt;
&lt;br /&gt;
    username ALL=(ALL) NOPASSWD: /usr/bin/systemctl restart rivendell.service&lt;br /&gt;
    username ALL=(ALL) NOPASSWD: /usr/bin/systemctl start rivendell.service&lt;br /&gt;
    username ALL=(ALL) NOPASSWD: /usr/bin/systemctl stop rivendell.service&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m making this so a regular user can start or stop Rivendell without being root.&lt;br /&gt;
&lt;br /&gt;
- Let&amp;#039;s make a script to start JACK, and then Rivendell, in the appropiate order. First, create a ~/Scripts forder and then, create an script &amp;quot;start-rivendell.sh&amp;quot; with the following content:&lt;br /&gt;
&lt;br /&gt;
  #!/bin/sh&lt;br /&gt;
  notify-send &amp;quot;Please wait while starting audio services...&amp;quot;&lt;br /&gt;
  cadence-session-start -s&lt;br /&gt;
  sudo systemctl start rivendell.service&lt;br /&gt;
  sleep 3&lt;br /&gt;
  notify-send &amp;quot;Audio services started!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
- You can place in the script other needed commands... I also place there a &amp;quot;mount /var/snd&amp;quot; for my workstations.&lt;br /&gt;
&lt;br /&gt;
- Give exec permissions to the script (chmod +x ~/Scripts/start-rivendell.sh)&lt;br /&gt;
&lt;br /&gt;
- In the Linuxmint menu, find the &amp;quot;Startup Applications&amp;quot; applet. Add the script &amp;quot;/home/&amp;lt;username&amp;gt;/Scripts/start-rivendell.sh&amp;quot; (use the full path, change &amp;lt;username&amp;gt; as appropiate).&lt;br /&gt;
&lt;br /&gt;
- Remove any other Cadence startup script in Startup Applications.&lt;br /&gt;
&lt;br /&gt;
- Reboot.&lt;br /&gt;
&lt;br /&gt;
- Configure the host in rdadmin (in &amp;quot;Manage hosts&amp;quot;, add your host computer, verify that JACK is show in Audio Resources, then configure the cards and ports as appropiate)&lt;br /&gt;
&lt;br /&gt;
- In this point you can reboot your server and, after logged in, and after receiving the &amp;quot;Audio services started&amp;quot; message, you can check with catia or other patchbay, and Rivendell should be running in JACK.&lt;br /&gt;
&lt;br /&gt;
- You can use the jack_connect command (placing it in the start-rivendell.sh script) to automatically connect Rivendell with the system ins and outs in JACK. Or you can place this in /etc/rd.conf:&lt;br /&gt;
&lt;br /&gt;
    [JackSession]&lt;br /&gt;
    Source1=rivendell_1:playout_0L&lt;br /&gt;
    Destination1=system:playback_1&lt;br /&gt;
    Source2=rivendell_1:playout_0R&lt;br /&gt;
    Destination2=system:playback_2&lt;br /&gt;
    Source3=rivendell_1:playout_1L&lt;br /&gt;
    Destination3=system:playback_3&lt;br /&gt;
    Source4=rivendell_1:playout_1R&lt;br /&gt;
    Destination4=system:playback_4&lt;br /&gt;
    ...etc.&lt;br /&gt;
&lt;br /&gt;
- If you get any problem with rdlibrary uploading or listening carts, it&amp;#039;s probable you have troubles with the rdxport.cgi permissions. I&amp;#039;ve solved it with this commands:&lt;br /&gt;
&lt;br /&gt;
  sudo chown root:root /var/www/rd-bin/rdxport.cgi&lt;br /&gt;
  sudo chmod 4755 /var/www/rd-bin/rdxport.cgi&lt;br /&gt;
&lt;/div&gt;</summary>
		<author><name>imported&gt;WaybackImport</name></author>
	</entry>
</feed>