[21:54] <OvenWerks> Eickmeyer: how permanent do you think the contents of /etc/ld.so.conf.d/pipewire-jack-x86_64-linux-gnu.conf will be?
[21:55] <Eickmeyer> Never thought about it. Not a file I'd touch unless I knew what I was doing.
[21:55] <OvenWerks> I have to remove it to be able to use jackd
[21:55] <OvenWerks>  I have to be able to replce it to use pipewire as jack
[21:56] <Eickmeyer> That's scary, because manipulating anything in /etc from a packaging standpoint is rough.
[21:56] <OvenWerks> Eickmeyer: basically I need to have a copy of it in /usr/share/studio-controls/
[21:57] <Eickmeyer> Right, so a temp copy if doing the switch.
[21:57] <OvenWerks> yes
[21:58] <OvenWerks> it is a one line file that puts the directory with pw's libjack at the front of the lib path
[21:59] <Eickmeyer> makes sense to me, as long as it's a copy of what's there that goes back if the user switches back using studio-controls.
[21:59] <OvenWerks> Actually it should be switched back before doing a pw package update as well
[22:00] <OvenWerks> (I wouold guess)
[22:00] <OvenWerks> Maybe I need an empty copy too
[22:01] <Eickmeyer> Well, maybe. The thing is dpkg just knows not to overwrite a file in /etc if it's been changed in any way, including deletions.
[22:01] <Eickmeyer> It usually defers that to the user if they want the new version if it differs from the original version.
[22:01] <OvenWerks> but if it changes in the package, I want the new contents :)
[22:02] <OvenWerks> even if it defers it to the user, does not also write a file with the same name with a .new extension or something?
[22:03] <Eickmeyer> Depends on what the user selects.
[22:03] <Eickmeyer> If the user selects "N" it will make a .new. If the user selects "Y" it will make a .old with the former contents.
[22:03] <OvenWerks> The gui uses "no" as default I think
[22:04] <Eickmeyer> No is usually the default in text and in gui.
[22:05] <OvenWerks> So I should look for those files as well.
[22:05] <OvenWerks> What happens if the file is just.... missing?
[22:05] <Eickmeyer> Probably, but we're just going off of memory more than anything.
[22:05] <Eickmeyer> If the file is missing, then dpkg treats it as if the file has been modified by the user.
[22:07] <OvenWerks> All it has in it is: /usr/lib/x86_64-linux-gnu/pipewire-0.3/jack/
[22:14] <Eickmeyer> Literally just a path.
[22:24] <OvenWerks> yes this makes me think there is more to ld.so.conf(.d) than the man page says
[22:26] <OvenWerks> I am pretty sure ldconfig still reads: /usr/lib/x86_64-linux-gnu/ where there is a libjack.so also.
[22:30] <OvenWerks> So the problem is that the contents of that file are going to change because the directory name: pipewire-0.3 is going to change with the pipewire version
[22:47] <Eickmeyer[m]> Yep, makes sense.