Bug 1375476

Summary: pulseaudio-equalizer stores settings in different .pulse directory
Product: [Fedora] Fedora Reporter: Ali Akcaagac <aliakc>
Component: pulseaudio-equalizerAssignee: Jaromír Cápík <jaromir.capik>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: bz, hicham.haouari, jaromir.capik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-12 10:13:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
patch to enable pulseaudio-equalizer to find XDG dirs none

Description Ali Akcaagac 2016-09-13 08:55:11 UTC
Description of problem:

After logging into the Desktop (XFCE or GNOME), the pulseaudio daemon creates it's user config directory in:

$(HOME)/.config/pulse

After launching pulseaudio-equalizer-gtk, this creates another config directory in:

${HOME}/.pulse

Running pulseaudio-equalizer-gtk from command line will also spit out an "error" message like:

ls: cannot access '${HOME}/.pulse/presets/*.preset': No such file or directory

Because of the fact, that pulseaudio daemon has changed the location. It would be advisable to fix this in pulseaudio-equalizer, so it points to the same directory as e.g. pulseaudio daemon does.

Expected results:

pulseaudio-equalizer should store it's settings in:

$(HOME)/.config/pulse

... rather than ...

${HOME}/.pulse

Comment 1 Doug Maxey 2016-09-21 01:25:15 UTC
Created attachment 1203098 [details]
patch to enable pulseaudio-equalizer to find XDG dirs

Comment 2 Doug Maxey 2016-09-21 01:29:48 UTC
Ali,

ran across the same issue while trying to set some values in ~/.config/pulse and could not determine why they weren't 'sticking' until I discovered the ~/.pulse dir.

Comment 3 Doug Maxey 2016-09-21 06:00:30 UTC
note the patch in comment#1 is unofficial.  

trying to track down the maintainer.

Comment 4 Doug Maxey 2016-09-21 23:31:07 UTC
I exchanged some email with the original developer. 

He has not worked on the app for 7 years.

There is a newer tool included in distribution, qpaeq, shipped in pulseaudio-qpaeq, but after a little testing, prefer the pulseaudio-equalizer with the presets.  The presets are lacking in the qpaeq package.

Comment 5 Ali Akcaagac 2016-09-22 07:31:30 UTC
I know about pulseaudio-qpaeq. Unfortunately it wants to pull in a bunch of qt libraries that I don't want to be pulled in on my system.

pulseaudio-qpaeq ~50kb
the rest ~21mb

Installed 70mb for just one equalizer, that basicly alters 3 lines in the pulse config file.

Comment 6 Doug Maxey 2016-09-22 21:20:45 UTC
Comment on attachment 1203098 [details]
patch to enable pulseaudio-equalizer to find XDG dirs

The patch I provided needs to be retracted.

What I discovered is there is no checking to see if the existing user default.pa is present, and overwrites with the contents of the /etc/pulse/dwefault.pa without checking, blowing out any custom config.

Comment 7 Fedora End Of Life 2017-11-16 19:06:04 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 8 Fedora End Of Life 2017-12-12 10:13:28 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.