Article 6GVTW [SOLVED] Conflict between Laptop Volume Keys and Firefox/Mplayer

[SOLVED] Conflict between Laptop Volume Keys and Firefox/Mplayer

by
Alfred-Augustus
from LinuxQuestions.org on (#6GVTW)
Hi

Please help me get this Thinkpad's volume keys working on FVWM!

The +/-/mute volume keys works properly only when Firefox or Mplayer is not using the audio. When I fire up Firefox and play a Youtube video, the volume keys stop working. When I quit Firefox, the volume keys work again.

I use alsamixer and amixer to monitor the volume.

What is going on?

Thanks

p.s. The volume keys work properly all the time when I use Fluxbox and XFCE.

Code:bash-5.1$ cat /etc/asound.conf
# ALSA system-wide config file
# By default, redirect to PulseAudio:
pcm.default pulse
ctl.default pulseCode:bash-5.1$ cat /etc/acpi/acpi_handler.sh
#!/bin/sh
# Default acpi script that takes an entry for all actions

IFS=${IFS}/
set $@

case "$1" in
button)
case "$2" in
power) /sbin/init 0
;;
volumedown)
echo
amixer set Master "10%-"
;;
volumeup)
echo
amixer set Master "10%+"
;;
mute)
echo
amixer set Master toggle
;;
*) logger "ACPI action $2 is not defined"
;;
esac
;;

*)
logger "ACPI group $1 / action $2 is not defined"
;;
esac
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments