LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-16-2022, 09:11 AM   #1
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,249

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
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.
 
Old 12-16-2022, 09:12 AM   #2
marav
Senior Member
 
Registered: Sep 2018
Location: Villenave d’Ornon
Distribution: Slackware
Posts: 3,916

Rep: Reputation: 2863Reputation: 2863Reputation: 2863Reputation: 2863Reputation: 2863Reputation: 2863Reputation: 2863Reputation: 2863Reputation: 2863Reputation: 2863Reputation: 2863
IIRC custom configs should land in /etc/pipewire/
 
1 members found this post helpful.
Old 12-16-2022, 09:58 AM   #3
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,249

Original Poster
Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
I thought that changed to using /usr/share for configs now?
 
Old 12-16-2022, 10:03 AM   #4
marav
Senior Member
 
Registered: Sep 2018
Location: Villenave d’Ornon
Distribution: Slackware
Posts: 3,916

Rep: Reputation: 2863Reputation: 2863Reputation: 2863Reputation: 2863Reputation: 2863Reputation: 2863Reputation: 2863Reputation: 2863Reputation: 2863Reputation: 2863Reputation: 2863
Quote:
Originally Posted by garpu View Post
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/
 
Old 12-16-2022, 11:02 AM   #5
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,249

Original Poster
Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
Gotcha, thanks. That'll work.
 
Old 12-16-2022, 11:05 AM   #6
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,249

Original Poster
Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
Seems ~/.config/pipewire will also work. That seems to be a good option, as well.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SARPI on Pi3 - Ran slackpkg update & slackpkg upgrade-all and now won't boot, can't find init petejc Slackware - ARM 11 03-25-2020 04:30 AM
[SOLVED] Slackpkg upgrade-all returns 'no packages to upgrade' after slackpkg-update has downloaded files san2ban Slackware 8 11-01-2019 05:44 AM
[SOLVED] [ENCHANCEMENT] slackpkg+: do not show the notices "pkglist is older than 24h..." and "remember to re-run 'slackpkg update''..."... yars Slackware 1 01-09-2016 09:56 AM
having trouble after upgrading 14.1 slackware using slackpkg and slackpkg+ [solved] slackartist Slackware 1 12-28-2015 07:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration