Need help with pnmixer?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

nicklan
134 Stars 32 Forks GNU General Public License v3.0 614 Commits 19 Opened issues

Description

Volume mixer for the system tray

Services available

!
?

Need anything else?

Contributors list

No Data

GitHub release Build Status license

PNMixer

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

Verifying a release tarball

Releases can be verified via signify. Get the pubkey and verify it against the GPG key

0x511B62C09D50CD28
. Download the static tarball and
SHA256
as well as
SHA256.sig
into the same directory, then run:
signify -V -p pnmixer_signify.pub -m SHA256

Alternatively you can just GPG-verify the tarball with the detached signature.

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 -DCMAKE_BUILD_TYPE=Release ..
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 https://translationproject.org/domain/pnmixer.html.

TODO/Help wanted

  • Move away from deprecated GtkStatusIcon?

  • PulseAudio support: this needs to be implemented from scratch and will likely not happen. The structure of how PulseAudio works is fundamentally different from Alsa and doesn't seem to play well with the current design of PNMixer. Either we'd need two completely divergent codepaths or try really hard to abstract over both Alsa and PulseAudio, which in itself is kind of weird (since PulseAudio is supposed to abstract over Alsa etc.).

Known Bugs/Glitches

  • 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.

  • volume slider popup window overlaps desktop panel, see issue 71

  • There are various problems with PulseAudio, since there is no PulseAudio backend. One specific issue is the unmute functionality misbehaving, also see issue 70.

You can also skim through the issue tracker.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.