On Sat, Sep 19, 2015 at 04:00:38PM BST, Ingo Feinerer wrote: > I am not able to set my headphone volume via /etc/apm/resume after > suspending. > > $ cat /etc/apm/resume > #!/bin/sh > mixerctl outputs.spkr=120 > > /etc/apm/resume is executable (755) and owned by root.wheel. > > Manually setting the volume works: > > $ mixerctl outputs.spkr=120 > outputs.spkr: 189,189 -> 119,119 > > Ideas?
Redirect stdout and stderr to a file in the above script, then suspend/resume and send the content of said file. Raf P.S. Works for me.