[issue626] Rewrite of XF86Audio{{Lower,Raise}Volume,Mute}.

Alexander Steinböck bts at bts.grml.org
Wed Feb 18 14:28:30 CET 2009


New submission from Alexander Steinböck <z3ttacht at grml.org>:

The big changes by this commit are:

  * Existence of '/etc/grml/lsb-functions' isn't mandatory anymore.

  * Just using amixer(1) for querying and setting the various mixer. Before
    amixer(1) _and_ aumix(1) were used. But amixer doesn't work with
    grml-medium 2008.11 due to lack of module snd-mixer-oss. [s. Issue625]

  * A 'config file' for parameters to osd_cat(1) is used, which gets read by
    grep(1). Therefore changes according osd_cat's settings can easily be made
    in just one place for every instance.

  * No temporary file is used anymore.

  * `XF86AudioRaiseVolume' changes `XF86AudioLowerVolume' with the help of
    sed(1) on the fly, since the two scripts just differ in two places.
       1. amixer -q --sset Master 5%-  vs.  amixer -q --sset Master 5%+
       2. Lowered volume               vs.  Raised volume

----------
messages: 1904
nosy: ft, mika, z3ttacht
priority: feature
status: unread
title: Rewrite of XF86Audio{{Lower,Raise}Volume,Mute}.

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue626>
_____________________________________


More information about the Bugs-changes mailing list