Pulseaudio 均衡器不工作

Pulseaudio 均衡器不工作

Pulseaudio 均衡器 GUI 无法启动,在终端中输入时会出现此错误:

manevskifi4o@M-Ubuntu-13:~$ pulseaudio-equalizer-gtk
Getting settings...
/usr/bin/pulseaudio-equalizer: line 221: /home/manevskifi4o/.pulse/equalizerrc: No such file or directory
mkdir: cannot create directory ‘/home/manevskifi4o/.pulse/presets’: No such file or directory
/usr/bin/pulseaudio-equalizer: line 229: /home/manevskifi4o/.pulse/equalizerrc.availablepresets.unsorted: No such file or directory
sed: couldn't flush stdout: Broken pipe
/usr/bin/pulseaudio-equalizer: line 232: /home/manevskifi4o/.pulse/equalizerrc.availablepresets.unsorted: No such file or directory
ls: cannot access /home/manevskifi4o/.pulse/presets/*.preset: No such file or directory
/usr/bin/pulseaudio-equalizer: line 235: /home/manevskifi4o/.pulse/equalizerrc.availablepresets: No such file or directory
rm: cannot remove ‘/home/manevskifi4o/.pulse/equalizerrc.availablepresets.unsorted’: No such file or directory
Traceback (most recent call last):
  File "/usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py", line 535, in <module>
    Equalizer()
  File "/usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py", line 357, in __init__
    GetSettings()
  File "/usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py", line 46, in GetSettings
     f = open(eqconfig, "r")
IOError: [Errno 2] No such file or directory: '/home/manevskifi4o/.pulse/equalizerrc'

答案1

为了修复此问题,请创建此文件夹:

mkdir -p ~/.pulse/equalizerrc

然后运行:

/usr/share/pulseaudio-equalizer/pulseaudio-equalizer.py

相关内容