LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackpkg and config files (https://www.linuxquestions.org/questions/slackware-14/slackpkg-and-config-files-4175719851/)

garpu 12-16-2022 09:11 AM

Slackpkg and config files
 
So when pipewire updates, all the config files in /usr/share/pipewire are updated. I've got some specific things in /usr/share/pipewire/jack.conf, and need to do a diff on these every time pipewire updates. Is there a way I can specify that file in my configs of slackpkg or slackpkg+ to prompt me before overwriting that file? (I realize for 99.9% of Slackware users, they will never need to touch that file.)

It takes me two seconds to restore from the backup of jack.conf, but I'm wondering if there's a way I could automate it somewhat with slackpkg, the way other config files are.

marav 12-16-2022 09:12 AM

IIRC custom configs should land in /etc/pipewire/

garpu 12-16-2022 09:58 AM

I thought that changed to using /usr/share for configs now?

marav 12-16-2022 10:03 AM

Quote:

Originally Posted by garpu (Post 6398281)
I thought that changed to using /usr/share for configs now?

For the default one, yes

man pipewire.conf ;-)
Code:

  $XDG_CONFIG_HOME/pipewire/pipewire.conf

      /etc/pipewire/pipewire.conf

      /usr/share/pipewire/pipewire.conf

      /usr/share/pipewire/pipewire.conf.d/

      /etc/pipewire/pipewire.conf.d/

      $XDG_CONFIG_HOME/pipewire/pipewire.conf.d/


garpu 12-16-2022 11:02 AM

Gotcha, thanks. That'll work. :)

garpu 12-16-2022 11:05 AM

Seems ~/.config/pipewire will also work. That seems to be a good option, as well.


All times are GMT -5. The time now is 01:42 PM.