Volume Control - OSD style

I've always liked the big giant volume control OSD that Gnome had (before Ubuntu changed it notification style).  However if you do not use gnome, you are a bit out of luck. After some searching I found a small utility written in PyGTK by someone having the same problem.

It's run from command line, pop-ups a window, and quits after 2 seconds;

It was a bit too small in size for my taste, but easily corrected. So with couple of small modifications, it now looks a bit closer to what I like in Gnome.


Usage: pvol.py [-s] [-m] [-c PERCENT] [-p] [-q]
Options:
  -h, --help            show this help message and exit
  -s, --status          display current volume
  -m, --mute            mute the main audio channel
  -c PERCENT, --change=PERCENT
                        increase or decrease volume by given
                        percentage
  -p, --pcm             change PCM channel (default is MASTER)
  -q, --quiet           adjust volume without the progressbar

Following bindings work pretty well for me:
Mute        : ./pvol --mute
Volume Up   : ./pvol --change=10
Volume Down : ./pvol --change=-10


This modified version is available here for download.

No comments:

Post a Comment