Skip to content

nicklan/pnmixer

Repository files navigation

PNMixer Build Status

Table of Contents

About

PNMixer is a simple mixer application designed to run in your system tray. It 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 designed to work on systems that use ALSA for sound management. Any other sound driver like OSS or FFADO are currently not supported (patches welcome). There is no official PulseAudio support at the moment, but it seems that PNMixer behaves quite well anyway when PA is running. Feel free to try and to give some feedback.

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
  • Detect disconnect from sound system and re-connect if requested
  • Bind and use HotKeys for volume control
  • Textual display of volume level in popup window
  • Continuous volume adjustment when dragging the slider (not just when you let go)
  • Draw a volume level onto system tray icon
  • Use system icon theme for icons and use mute/low/medium/high volume icons
  • Configurable middle click action
  • 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

Source and so on are at: https://github.com/nicklan/pnmixer

Download

Latest version can always be found at: https://github.com/nicklan/pnmixer/releases

Compilation and Install

The best way to install most software is via your distribution. Only install manually if your distribution does not provide a package.

Distro packages

Manual

CMake Options:

  • WITH_GTK3: Use Gtk3 as toolkit (default on)
  • WITH_LIBNOTIFY: Enable sending of notifications (default on)
  • ENABLE_NLS: Enable building of translations (default on)
  • BUILD_DOCUMENTATION: Use Doxygen to create the HTML based API documentation (default off)

First, make sure you have the required dependencies:

  • build:
    • cmake
    • doxygen (when building documentation)
    • graphviz (when building documentation)
    • gettext (when building translations)
    • pkg-config
  • build+runtime:
    • alsa-lib (aka libasound on some distros)
    • glib-2
    • =gtk+-3.12 (or >=gtk+-2.24 when disabling gtk3)

    • libnotify (when enabling notifications)
    • libX11
  • runtime suggestions (PNMixer can use a full mixer):
    • alsamixergui
    • gnome-alsamixer
    • xfce4-mixer

To install this program cd to this directory and run:

mkdir build
cd build
cmake ..
make
make install

Icons

Icons are a slightly modified versions of the icons from Paul Davey's "Umicons Volume 2" icon set. You can find his website at: http://mattahan.deviantart.com/art/Umicons-Volume-2-1948945

Translation

PNMixer is translated through the Translation Project. If you wish to make or update a translation for PNMixer, please get in touch with the relevant team on the TP. Solo translations won't be accepted.

You can visit the PNMixer page on the TP at http://translationproject.org/domain/pnmixer.html.

TODO/Help wanted

Known Bugs

  • On panel sizes of 21 and 22 pixels, the volume meter offset can be messed up (gtk3 only). This seems to be a gtk3 bug, not a PNMixer one. Also see issue 136.

You can also skim through the issue tracker.

About

Volume mixer for the system tray

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 18