how does mplayer control volume

Gregory Nowak greg at romuald.net.eu.org
Fri Mar 3 19:50:22 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all.

As you might have guessed from my previous few posts, I am installing
debian on a compaq laptop, that like lots of other compaq laptops,
controls the speaker volume via buttons on the front of the machine,
rather then via a simple knob.

Anyway, using showkey, the buttons don't register, however, I was able
to find some stuff on the web which indicates that while the buttons
don't work in the text console, they do work to control the volume
using something called acme under gnome. 

I wasn't planning to install gnome on this system, however, I do have
the two windows keys, which are useless under gnu/linux, at least when
it comes to their original purpose. I do know that it is
possible to control the volume in mplayer using the 9 and 0 keys to
bring it down or up respectively.

So, I was wondering if anyone knows how mplayer does what it does to
control the volume, and if it would be possible to map this
functionality to raise or lower the volume via the two windows keys
from any application running on the system, not just mplayer? Thanks
in advance again.

Greg


- -- 
web site: http://www.romuald.net.eu.org
gpg public key: http://www.romuald.net.eu.org/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)

- --
Free domains: http://www.eu.org/ or mail dns-manager at EU.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFECORO7s9z/XlyUyARAo8NAJ9j41jJ4PILX5kbpkQ5zwTStlg2QgCfXi/t
TSPaNxkD0kH6JQ2p1+dS044=
=tn+J
-----END PGP SIGNATURE-----




More information about the Speakup mailing list