LAM thx.
I am not a software developer or IT specialist. But with my rudimentary knowledge I'll try to find out how it works.
In my opinion, the following lines from "/usr/bin/ubuntustudio-audio-config" are relevant for switching from pipewire-jack to native jack.
if [ "${changeConfig}" = "${pwJackStr}" ]; then
if [ -e /etc/ld.so.conf.d/pipewire-jack.conf ]; then
if pkexec ubuntustudio-pwjack-config disable; then true; else
zenity --title "Ubuntu Studio Audio Configuration" \
--window-icon=/usr/share/icons/hicolor/scalable/apps/ubuntustudio-audio-config.svg \
--error \
--text="An error has occurred."
fi
else
if pkexec ubuntustudio-pwjack-config enable; then true; else
zenity --title "Ubuntu Studio Audio Configuration" \
--window-icon=/usr/share/icons/hicolor/scalable/apps/ubuntustudio-audio-config.svg \
--error \
--text="An error has occurred."
fi
fi
fi
If the LINK "/etc/ld.so.conf.d/pipewire-jack.conf" exists pipewire jack emulation is active.
if the LINK "/etc/ld.so.conf.d/pipewire-jack.conf" does not exist, native jack is active.
To switch, the script /usr/sbin/ubuntustudio-pwjack-config is executed with option disable or enable.
The following lines are relevant for switching in this script:
elif [ "$1" = "enable" ]; then
ln -fs /usr/share/doc/pipewire/examples/ld.so.conf.d/pipewire-jack-*-linux-gnu.conf \
/etc/ld.so.conf.d/pipewire-jack.conf
ldconfig
elif [ "$1" = "disable" ]; then
rm -f /etc/ld.so.conf.d/pipewire-jack.conf || true
ldconfig
With "/usr/sbin/ubuntustudio-pwjack-config enable" following link is set /etc/ld.so.conf.d/pipewire-jack.conf
In my case, this link refers to /usr/share/doc/pipewire/examples/ld.so.conf.d/pipewire-jack-x86_64-linux-gnu.conf.
/usr/share/doc/pipewire/examples/ld.so.conf.d/pipewire-jack-x86_64-linux-gnu.conf has the following content:
/usr/lib/x86_64-linux-gnu/pipewire-0.3/jack/
With "/usr/sbin/ubuntustudio-pwjack-config disable" the link /etc/ld.so.conf.d/pipewire-jack.conf is deleted.
That would be the whole functionality. Can you confirm?
Further details are probably described here:
https://gitlab.freedesktop.org/pipewire ... stallation
<<Installation
<<At this time there are still package dependency issues with JACK but the only package you need is pipewire-jack-audio-connection-kit.
<<You also need to to create a file /etc/ld.so.conf.d/pipewire-jack-x86_64.conf containing a link to the JACK modules:
<<
<</usr/lib64/pipewire-0.3/jack/
<<Then sudo ldconfig.
I have not yet understood what happens next.
Maybe somebody is interested
Best Regards
Guenter