Don's Pages and my Music

Saturday, February 25, 2012

PNMixer system tray sound mixer - GitHub

PNMixer is system tray sound mixer. Running with the HighContrast theme it looks like this: (or with volume level enabled)

PNMixer currently supports ALSA and Pulse audio. It is written in C, depends only on GTK+, and does not require Gnome.

PNMixer integrates nicely into desktop environments that don't have a panel that supports applets, and therefore can't run a mixer applet. In particular it's been used quite a lot with fbpanel and tint2, but should run fine in any system tray.

PNMixer is a fork of OBMixer with a number of additions. These include:

  • Volume adjustment with the scroll wheel
  • Select which ALSA device and channel to use (added in version 0.3)
  • Detect disconnect from sound system and re-connect if requested (added in version 0.5)
  • Bind and use HotKeys for volume control (added in version 0.5)
  • Textual display of volume level in popup window
  • Continuous volume adjustment when dragging the slider (not just when you let go)
  • Use system icon theme for icons and use mute/low/medium/high volume icons
  • Draw a volume level onto system tray icon (added in version 0.4)
  • Configurable middle click action (default is mute/unmute)
  • Preferences for:
    • volume text display
    • volume text position
    • icon theme
    • amount to adjust per scroll
    • middle click action
    • drawing of volume level on tray icon

Latest version is here

This version adds the following (as well as fixing a number of bugs):

  • Detect disconnect from sound system and re-connect if requested
  • Tabbed preferences for better organization
  • Bind and use HotKeys for volume control
    • Can be set for volume up/down/mute
    • Simple gui for setting hotkeys

The previous version has the following new features/fixes:

  • Draw a volume level onto system tray icon
  • A French translation
  • Selecting which ALSA device and channel to use
  • If the volume is changed by another program, PNMixer notices and updates its display
  • Volume is now adjusted properly for cards/channels that have fewer than 100 volume increments. In this case each mouse scroll might adjust a bit more or less than the set mouse scroll step.
  • Translations are now supported.
  • A German translation is included. If you want to contribute a translation, please contact me.

There is an AUR Package for Arch. The git version can be installed from the AUR as well, using this package.

Screenshots


Running in the tray with HighContrast theme:


Running in the tray with HighContrast theme with volume level enabled:


Left clicking the icon brings up the master volume control. A full mixer is launched by clicking 'Volume Control':


The various preferences tabs:

Read More...
https://github.com/nicklan/pnmixer/wiki

I need to try this on Xfce..

Don


No comments:

Post a Comment