Pulseaudio volume/sound keys on i3 working only after manual .config/pulse removal


Hi Manjaro,

I’m running Manjaro i3 on my new XPS 9560; I have an issue with the volume/sound keys, in that they don’t work unless I manually remove everything in ~/.config/pulse and restart pulseaudio with

pulseaudio -k
pulseaudio --start

However, upon reboot I’m back to square one. Of course I can write a short script that will take care of doing this for me but I’d rather understand why this is happening.

Here’s my system:

System:    Host: izanami Kernel: 4.18.0-1-MANJARO x86_64 bits: 64 compiler: gcc v: 8.1.1 Desktop: i3 
           Distro: Manjaro Linux 17.1.11 Hakoila 
Machine:   Type: Laptop System: Dell product: XPS 15 9560 v: N/A serial: <filter> 
           Mobo: Dell model: 05FFDN v: A00 serial: <filter> UEFI: Dell v: 1.7.1 date: 01/25/2018 
Battery:   ID-1: BAT0 charge: 56.0 Wh condition: 87.4/97.0 Wh (90%) model: SMP DELL GPM0365 status: Discharging 
CPU:       Topology: Quad Core model: Intel Core i7-7700HQ bits: 64 type: MT MCP arch: Skylake rev: 9 
           L2 cache: 6144 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 44944 
           Speed: 901 MHz min/max: 800/3800 MHz Core speeds (MHz): 1: 1068 2: 1525 3: 1385 4: 963 5: 1195 
           6: 1455 7: 1446 8: 3532 
Graphics:  Card-1: Intel driver: i915 v: kernel bus ID: 00:02.0 
           Card-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] driver: nvidia v: 396.24 bus ID: 01:00.0 
           Display: x11 server: X.Org 1.19.6 driver: intel tty: N/A 
           OpenGL: renderer: N/A v: N/A direct render: N/A 
Audio:     Card-1: Intel CM238 HD Audio driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           Sound Server: ALSA v: k4.18.0-1-MANJARO 
Network:   Card-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter driver: ath10k_pci v: kernel 
           bus ID: 02:00.0 
           IF: wlp2s0 state: up mac: <filter> 
           Card-2: Qualcomm Atheros type: USB driver: btusb bus ID: 1:2 
Drives:    HDD Total Size: 476.94 GiB used: 66.03 GiB (13.8%) 
           ID-1: /dev/nvme0n1 model: PC401 NVMe SK hynix 512GB size: 476.94 GiB 
Partition: ID-1: / size: 451.35 GiB used: 66.03 GiB (14.6%) fs: ext4 dev: /dev/nvme0n1p2 
           ID-2: swap-1 size: 17.08 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/nvme0n1p3 
Sensors:   System Temperatures: cpu: 46.0 C mobo: 42.0 C 
           Fan Speeds (RPM): cpu: 2487 
Info:      Processes: 181 Uptime: 11m Memory: 15.52 GiB used: 742.5 MiB (4.7%) Init: systemd Compilers: 
           gcc: 8.1.1 Shell: bash v: 4.4.23 inxi: 3.0.12 

If I try to run pactl something (like pactl set-sink-mute 0 toggle for example) I get:

Connection failure: Connection refused
pa_context_connect() failed: Connection refused

My .i3/config has the initialisation for pulseaudio and the keybindings as

exec --no-startup-id pulseaudio
bindsym XF86AudioRaiseVolume exec "pactl set-sink-mute @DEFAULT_SINK@ false; pactl set-sink-volume @DEFAULT_SINK@ +2%"
bindsym XF86AudioLowerVolume exec "pactl set-sink-mute @DEFAULT_SINK@ false; pactl set-sink-volume @DEFAULT_SINK@ -2%"
bindsym XF86AudioMute exec "pactl set-sink-mute 0 toggle"

Any suggestions on why this happens would be greatly appreciated, thanks!




Sometimes the removal of pulse cookie and pulse cfg dir isn’t enought

I will quote myself :open_mouth:

1 Like


This fixed it, thanks and apologies for overlooking that explanation / solution!

1 Like

closed #4

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.