Code Monkey home page Code Monkey logo

pnmixer's People

Contributors

apoptose avatar arkq avatar bbidulock avatar cspk avatar edwardbetts avatar elboulangero avatar hasufell avatar ixjlyons avatar jubalh avatar kal42 avatar mariobl avatar mattia-b89 avatar nicklan avatar scriptum avatar silverrainz avatar somasis avatar stevenhoneyman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pnmixer's Issues

Muting a single channel mutes all channels with pulseaudio installed

Using Xubuntu 14.04 on a Intel laptop. Without pulseaudio muting/unmuting a single channel works normal. But when pulseaudio is installed:

  • Sound Device: Card: (default): only Master channel is available which mutes and unmutes all channels, tested using alsamixer. At the end it works fine.
  • Sound Device: Card: (HDA Intel): all channels are available here and if I mute a single choosen channel, it mutes all channels. And when I try to unmute it, it only unmutes that one channel and leaves all the rest channels muted. To unmute the rest I need to use alsamixer.

This is a suppose pulseaudio bug which happens when muting a single channel through alsa. The bugs can be found at https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/878986 and https://bugs.launchpad.net/ubuntu/+source/alsa-utils/+bug/1026331.

One possible solution would be to mute/unmute through pulseaudio when it's installed instead of alsa?

Tarballs are not gzip

Although the tarballs for download end in tar.gz, they are not gzip files but only tar'ed.

$ file pnmixer-0.4.tar.gz
pnmixer-0.4.tar.gz: POSIX tar archive (GNU)

Abort when pulseaudio is not available (like pa having crashed)

When pnmixer is running while it PA crashes it asks me to reinitialize the connection to alsa, if either then or already at startup PA isn't available this happens (PA is not running):
$ gdb

GNU gdb (GDB) 7.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
(gdb) file /usr/bin/pnmixer
Reading symbols from /usr/bin/pnmixer...done.
(gdb) run
Starting program: /usr/bin/pnmixer 
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Debugging Mode Build]
Opening mixer for card: default
[New Thread 0x7fffe61dc700 (LWP 13409)]
default has no playable channels
Opening mixer for card: hw:0
hw:0 has no playable channels
Opening mixer for card: hw:1
Channels for card: hw:1
    Master
    Headphone
    Speaker
    PCM
    Mic
    Mic Boost
    Beep
    Internal Mic Boost
Opening mixer for card: hw:29
[Thread 0x7fffe61dc700 (LWP 13409) exited]
hw:29 has no playable channels
Opening mixer for card: default
[New Thread 0x7fffe61dc700 (LWP 13410)]
pnmixer: alsa.c:273: alsaset: Assertion `elem != ((void *)0)' failed.
[Thread 0x7fffe61dc700 (LWP 13410) exited]

Program received signal SIGABRT, Aborted.
0x00007ffff5cbe1c9 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff5cbe1c9 in raise () from /usr/lib/libc.so.6
#1  0x00007ffff5cbf5c8 in abort () from /usr/lib/libc.so.6
#2  0x00007ffff5cb7356 in __assert_fail_base () from /usr/lib/libc.so.6
#3  0x00007ffff5cb7402 in __assert_fail () from /usr/lib/libc.so.6
#4  0x0000000000409446 in alsaset () at alsa.c:273
#5  0x0000000000409869 in alsa_init () at alsa.c:368
#6  0x0000000000408061 in main (argc=1, argv=0x7fffffffe798) at main.c:496

Wrong version number in v0.3

Sorry for the noise, but I've another issue. Just downloaded the tarball for 0.3, and there is the following line in src/main.c:

title_label = gtk_label_new (_("<span font_size=\"x-large\" font_weight=\"bold\">PNMixer 0.2</span>"));

Means, the "About" window references the wrong (previous) version here. I've no idea about programming, but shouldn't be a convenient way anywhere to fetch this value from a global variable? I know from most translations, a string such as "Myapp %s" appears in the pot template.

Unable to load icons after upgraded to Ubuntu 12.04

After upgrade from Ubuntu 11.10 to 12.04 I got such error:

"Unable to load icon stock_volume-mute: Icon 'stock_volume-mute' not present in theme"

"Unable to load icon gtk-execute: Icon 'gtk-execute' not present in theme"

libnotification timeout

It would be nice to have a setting to change the timeout for notifications, so they don't sit around for the default length. Since usually the volume notification is just a quick reminder of what the volume level is, a short timeout, like 1-3 seconds would be nice.

I tested the possibility by editing src/notify.c and adding notify_notification_set_timeout(notification,1500); after the creation of the notification variable, and this works.

pnmixer 0.5.1 build doesn't honor environment variables

When I build a pnmixer rpm, I export our global optimization flags before the build:

CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
export CFLAGS
CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
export CXXFLAGS
FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/lib64/gfortran/modules'
export FFLAGS

Nevertheless they are not added to the compiler flags:

make[2]: Entering directory `/home/chris/linux/fedora/pkgs/pnmixer/pnmixer-0.5.1/src'
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=""/usr/share"" -DPACKAGE_LOCALE_DIR=""/usr/share/locale"" -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/alsa -O2 -export-dynamic -c support.c

This used to work fine in 0.3.x

Italian Translation

hi, i'm working on the italian translation.

when it is ready i'll upload it here

support for older glib/gtk

Dear nicklan,

I am unable to compile pnmixer 0.5.1 (but had the same issue with 0.5.0) on Debian Squeeze, both 32 and 64 bit.

Running ./autogen.sh works fine, but when go on with make it fails with these errors:

$ make
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/milo/Scaricati/pnmixer-0.5.1/missing --run autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Entering directory /home/milo/Scaricati/pnmixer-0.5.1' Making all in src make[2]: Entering directory/home/milo/Scaricati/pnmixer-0.5.1/src'
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=""/usr/local/share"" -DPACKAGE_LOCALE_DIR=""/usr/local/share/locale"" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/alsa -O2 -export-dynamic -MT support.o -MD -MP -MF .deps/support.Tpo -c -o support.o support.c
mv -f .deps/support.Tpo .deps/support.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=""/usr/local/share"" -DPACKAGE_LOCALE_DIR=""/usr/local/share/locale"" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/alsa -O2 -export-dynamic -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/main.Tpo .deps/main.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=""/usr/local/share"" -DPACKAGE_LOCALE_DIR=""/usr/local/share/locale"" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/alsa -O2 -export-dynamic -MT hotkeys.o -MD -MP -MF .deps/hotkeys.Tpo -c -o hotkeys.o hotkeys.c
mv -f .deps/hotkeys.Tpo .deps/hotkeys.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=""/usr/local/share"" -DPACKAGE_LOCALE_DIR=""/usr/local/share/locale"" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/alsa -O2 -export-dynamic -MT alsa.o -MD -MP -MF .deps/alsa.Tpo -c -o alsa.o alsa.c
mv -f .deps/alsa.Tpo .deps/alsa.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=""/usr/local/share"" -DPACKAGE_LOCALE_DIR=""/usr/local/share/locale"" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/alsa -O2 -export-dynamic -MT callbacks.o -MD -MP -MF .deps/callbacks.Tpo -c -o callbacks.o callbacks.c
mv -f .deps/callbacks.Tpo .deps/callbacks.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=""/usr/local/share"" -DPACKAGE_LOCALE_DIR=""/usr/local/share/locale"" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/alsa -O2 -export-dynamic -MT prefs.o -MD -MP -MF .deps/prefs.Tpo -c -o prefs.o prefs.c
mv -f .deps/prefs.Tpo .deps/prefs.Po
gcc -O2 -export-dynamic -o pnmixer support.o main.o hotkeys.o alsa.o callbacks.o prefs.o -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lgio-2.0 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lasound -lm -lX11
alsa.o: In function card_free': alsa.c:(.text+0xce): undefined reference tog_slist_free_full'
alsa.o: In function get_cards': alsa.c:(.text+0x2ee): undefined reference tog_slist_free_full'
collect2: ld returned 1 exit status
make[2]: *** [pnmixer] Error 1
make[2]: Leaving directory /home/milo/Scaricati/pnmixer-0.5.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/milo/Scaricati/pnmixer-0.5.1'
make: *** [all] Error 2

Thank you very much in advance for any reply and feel free to ask any additional information.

Best Regars

Marco Milone

No pnmixer icon in trayer-srg ver 0.6-dev

Hi,

My setup: Gentoo + Openbox + Trayer-srg.

Launching 'pnmixer' either manually or by using Openbox autostart file does launches the program but there is no icon in tray.

It is also possible to click on certain pixel(s) and get pnmixer menu and volume rocker.

I collected strace if needed.

Double clicking on popup window closes it [gtk2] [gtk3]

The popup window closes when double clicking with left mouse button:

  • gtk2: closes when double clicking on: blank space, volume slider, volume slider knob
  • gtk3: closes when double clicking on: blank space, mute check box, volume slider, volume slider knob

Tracking unneeded files in Git

Some files from /po haven't to be tracked in Git:

POTFILES: Will be created at build time from POTFILES.in

de.gmo: Better use *.gmo to prevent you from putting all the (upcoming) translations here

pnmixer.pot: Shouldn't be tracked. Every translator is able to run "intltool-update --pot" to get an up-to-date translation template.

Patch: http://mariobl.fedorapeople.org/Patches/gitignore.diff

By the way, you should think about to publish the translation template anywhere (Launchpad, Transifex...) to get more translations.

German translation

Hi,

I've written a German translation based on the current Git content.


German translation for pnmixer.

Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER

This file is distributed under the same license as the pnmixer package.

Mario Blättermann [email protected], 2011.

msgid ""
msgstr ""
"Project-Id-Version: pnmixer master\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-06-04 23:09+0200\n"
"PO-Revision-Date: 2011-06-04 22:32+0100\n"
"Last-Translator: Mario Blättermann [email protected]\n"
"Language-Team: Deutsch [email protected]\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

: ../src/main.c:292

msgid "Mute"
msgstr "Stumm"

: ../src/main.c:298

msgid "Volume Control..."
msgstr "Lautstärkeregler …"

: ../src/main.c:352 ../src/prefs.c:350

msgid "Mute/Unmute"
msgstr "Stumm (ein/aus)"

: ../src/main.c:360 ../src/prefs.c:352

msgid "Volume Control"
msgstr "Lautstärkeregler"

: ../src/main.c:368

msgid "Preferences"
msgstr "Einstellungen"

: ../src/main.c:376

msgid "About"
msgstr "Info"

: ../src/main.c:388

msgid "Quit"
msgstr "Beenden"

: ../src/main.c:409

msgid "About PNMixer"
msgstr "Info zu PNMixer"

: ../src/main.c:415

msgid "<span font_size="x-large" font_weight="bold">PNMixer 0.2"
msgstr "<span font_size="x-large" font_weight="bold">PNMixer 0.2"

: ../src/main.c:427

msgid ""
"A mixer for the system tray.\n"
"http://github.com/nicklan/pnmixer"
msgstr ""
"Ein Mixer für das Benachrichtigungsfeld.\n"
"http://github.com/nicklan/pnmixer"

: ../src/support.c:82 ../src/support.c:104

, c-format

msgid "Couldn't find pixmap file: %s"
msgstr "Pixmap-Datei konnte nicht gefunden werden: %s"

: ../src/prefs.c:224

msgid "PNMixer Preferences"
msgstr "PNMixer-Einstellungen"

: ../src/prefs.c:246

msgid "Display Text Volume"
msgstr "Lautstärke als Text anzeigen"

: ../src/prefs.c:256

msgid "Volume Text Position:"
msgstr "Textposition:"

: ../src/prefs.c:264

msgid "Top"
msgstr "Oben"

: ../src/prefs.c:265

msgid "Bottom"
msgstr "Unten"

: ../src/prefs.c:266

msgid "Left"
msgstr "Links"

: ../src/prefs.c:267

msgid "Right"
msgstr "Rechts"

: ../src/prefs.c:270

msgid "Volume Display"
msgstr "Anzeige der Lautstärke"

: ../src/prefs.c:297

msgid "PNMixer Icons"
msgstr "PNMixer-Symbole"

: ../src/prefs.c:300

msgid "Icon Theme"
msgstr "Symbolthema"

: ../src/prefs.c:321

msgid "Mouse Scroll Step:"
msgstr "Schrittweite des Mausrades:"

: ../src/prefs.c:329

msgid "Middle Click Action:"
msgstr "Aktion bei Mittelklick:"

: ../src/prefs.c:351

msgid "Show Preferences"
msgstr "Einstellungen anzeigen"

: ../src/prefs.c:353

msgid "Custom (set below)"
msgstr "Benutzerdefiniert (siehe unten)"

: ../src/prefs.c:357

msgid "Custom Command:"
msgstr "Benutzerdefinierter Befehl:"

: ../src/prefs.c:381

msgid "Mouse"
msgstr "Maus"

New German translation

Here's an updated version of the German translation, based on the current Git content:

German translation for pnmixer.

Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER

This file is distributed under the same license as the pnmixer package.

Mario Blättermann [email protected], 2012.

msgid ""
msgstr ""
"Project-Id-Version: pnmixer master\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-05-11 21:29+0200\n"
"PO-Revision-Date: 2012-05-11 21:37+0100\n"
"Last-Translator: Mario Blättermann [email protected]\n"
"Language-Team: Deutsch [email protected]\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

: ../src/main.c:48 ../src/main.c:70

msgid "PNMixer Error"
msgstr "PNMixer-Fehler"

: ../src/main.c:64

msgid "Warning: Connection to sound system failed."
msgstr "Achtung: Verbindung zum Soundsystem konnte nicht hergestellt werden."

: ../src/main.c:66

msgid ""
"Do you want to re-initialize the connection to alsa?\n"
"\n"
"If you do not, you will either need to restart PNMixer or select the 'Reload "
"Alsa' option in the right click menu in order for PNMixer to function."
msgstr ""
"Möchten Sie die Verbindung zu Alsa wieder aufbauen?\n"
"\n"
"Wenn nicht, müssen Sie entweder PNMixer neustarten oder die Option »Alsa neu "
"laden« im Kontextmenü auswählen, damit PNMixer funktioniert."

: ../src/main.c:76

, c-format

msgid ""
"Warning: Connection to sound system failed, you probably need to restart "
"pnmixer\n"
msgstr ""
"Achtung: Verbindung zum Soundsystem konnte nicht hergestellt werden. "
"Wahrscheinlich müssen Sie PNmixer neustarten\n"

: ../src/main.c:110

, c-format

msgid "Unable to run command: sigaction failed: %s"
msgstr "Befehl konnte nicht ausgeführt werden: %s"

: ../src/main.c:117

msgid "Unable to run command: fork failed"
msgstr "Befehl gescheitert: Forken nicht möglich"

: ../src/main.c:135

msgid ""
"\n"
"No mixer application was found on your system.\n"
"\n"
"Please open preferences and set the command you want to run for volume "
"control."
msgstr ""
"\n"
"Es konnte keine Mixer-Anwendung auf Ihrem Rechner gefunden werden.\n"
"\n"
"Bitte öffen Sie die Einstellungen und wählen Sie den Befehl für den "
"Lautstärkeregler"

: ../src/main.c:165

msgid ""
"You have not specified a custom command to run, please specify one in "
"preferences."
msgstr ""
"Sie haben keinen benutzerdefinierten auszuführenden Befehl angegeben, bitte "
"legen Sie ihn in den Einstellungen fest."

: ../src/main.c:215

msgid ""
"Can't find main user interface file. Please insure PNMixer is installed "
"correctly. Exiting\n"
msgstr ""
"Die Datei der Hauptbenutzeroberfläche konnte nicht gefunden werden. Bitte "
"stellen Sie sicher, dass PNMixer korrekt installiert ist. Das Programm wird "
"beendet.\n"

: ../src/main.c:271

msgid ""
"Can't find about interface file. Please insure PNMixer is installed "
"correctly."
msgstr ""
"Die Datei der Info-Oberfläche konnte nicht gefunden werden. Bitte stellen Sie "
"sicher, dass PNMixer korrekt installiert ist."

: ../src/main.c:348

, c-format

msgid "Volume: %d %%"
msgstr "Lautstärke: %d %%"

: ../src/main.c:363

, c-format

msgid ""
"Volume: %d %%\n"
"Muted"
msgstr ""
"Lautstärke: %d %%\n"
"Stumm geschaltet"

: ../src/main.c:473

msgid "- A mixer for the system tray."
msgstr "- Ein Mixer für das Benachrichtigungsfeld."

: ../src/main.c:483

, c-format

msgid "%s version: %s\n"
msgstr "%s-Version: %s\n"

: ../src/callbacks.c:230

, c-format

msgid "Couldn't write preferences file: %s\n"
msgstr "Einstellungsdatei konnte nicht geschrieben werden: %s\n"

: ../src/support.c:66 ../src/support.c:88

, c-format

msgid "Couldn't find pixmap file: %s"
msgstr "Pixmap-Datei konnte nicht gefunden werden: %s"

: ../src/support.c:95

, c-format

msgid "Failed to load pixbuf file: %s: %s\n"
msgstr "Pixbuf-Datei konnte nicht geladen werden: %s: %s\n"

: ../src/support.c:112

, c-format

msgid "Unable to load icon %s: %s\n"
msgstr "Symbol konnte nicht geladen werden: %s: %s\n"

: ../src/prefs.c:63

msgid "PNMixer Icons"
msgstr "PNMixer-Symbole"

. corrupt value somehow

: ../src/prefs.c:132

msgid "Invalid color for volume meter in config file. Reverting to default."
msgstr ""
"Ungültige Farbe für Lautstärkeskala in der Konfiguration. "
"Standardeinstellungen werden benutzt"

: ../src/prefs.c:147

, c-format

msgid ""
"\n"
"Error: %s exists but is not a directory, will not be able to save preferences"
msgstr ""
"\n"
"Fehler: %s existiert, aber ist kein Ordner. Einstellungen konnten nicht "
"gespeichert werden"

: ../src/prefs.c:167

, c-format

msgid ""
"\n"
"Couldn't load preferences file: %s\n"
msgstr ""
"\n"
"Einstellungsdatei konnte nicht geladen werden: %s\n"

: ../src/prefs.c:175

, c-format

msgid ""
"\n"
"Couldn't load default preferences: %s\n"
msgstr ""
"\n"
"Standardeinstellungen konnten nicht geladen werden: %s\n"

: ../src/prefs.c:419

msgid "Mute/Unmute"
msgstr "Stumm (ein/aus)"

: ../src/prefs.c:422

msgid "Volume Up"
msgstr "Lauter"

: ../src/prefs.c:425

msgid "Volume Down"
msgstr "Leiser"

: ../src/prefs.c:453

msgid "Could not grab the keyboard."
msgstr "Auf die Tastatur konnte nicht zugegriffen werden."

: ../src/prefs.c:511

msgid ""
"Can't find preferences user interface file. Please insure PNMixer is "
"installed correctly.\n"
msgstr ""
"Die Oberflächendatei der Benutzereinstellungen konnte nicht gefunden werden. "
"Bitte stellen Sie sicher, dass PNMixer korrekt installiert ist.\n"

: ../src/hotkeys.c:126

, c-format

msgid "Could not bind the following hotkeys:\n"
msgstr "Folgende Schnellzugriffe konnten nicht belegt werden:\n"

~ msgid "An unknown error occured trying to launch your volume control command"

~ msgstr ""

~ "Ein unbekannter Fehler ist aufgetreten bei dem Versuch volume control "

~ "command zu öffnen"

~ msgid ""

~ "Unable to launch volume command "%s".\n"

~ "\n"

~ "%s"

~ msgstr ""

~ "Volume Befehl konnte nicht geöffnet werden "%s".\n"

~ "\n"

~ "%s"

~ msgid "Couldn't execute custom command: "%s"\n"

~ msgstr "Benutzerdefiniert Befehl konnte nicht geöffnet werden "%s".\n"

~ msgid "A mixer for the system tray."

~ msgstr "Ein Mixer für das Benachrichtigungsfeld."

~ msgid "Copyright © 2010-2011 Nick Lanham"

~ msgstr "Copyright © 2010-2011 Nick Lanham"

~ msgid ""

~ "French: Matthieu Bresson\n"

~ "German: Mario Blättermann"

~ msgstr ""

~ "Deutsch: Mario Blättermann\n"

~ "Französisch: Matthieu Bresson"

~ msgid ""

~ "PNMixer is free software; you can redistribute it and/or modify it under "

~ "the terms of the GNU General Public License as published by the Free "

~ "Software Foundation; either version 3 of the License, or (at your option) "

~ "any later version.\n"

~ "\n"

~ "PNMixer is distributed in the hope that it will be useful, but WITHOUT ANY "

~ "WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS "

~ "FOR A PARTICULAR PURPOSE. See the GNU General Public License for more "

~ "details.\n"

~ "\n"

~ "You should have received a copy of the GNU General Public License along "

~ "with PNMixer; if not, write to the Free Software Foundation, Inc., 51 "

~ "Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA."

~ msgstr ""

~ "PNMixer ist freie Software, Sie können sie weitergeben und/oderverändern "

~ "solange Sie sich an die Regeln der GNU General Public Licensehalten, so "

~ "wie sie von der Free Software Foundation festgelegt wurden;entweder in "

~ "Version 3 der Lizenz oder (nach Ihrem Ermessen) in jeder folgenden "

~ "Lizenz.\n"

~ "\n"

~ "PNMixer wurde mit dem Ziel veröffentlicht, dass Sie es nützlich finden,"

~ "jedoch OHNE JEDWEDE GARANTIE, sogar ohne eine implizite Garantieder "

~ "VERKAUFBARKEIT oder der NUTZBARKEIT FÜR EINEN SPEZIELLEN ZWECK.Schauen Sie "

~ "für weitere Informationen bitten in der GNU General Public License (GNU "

~ "GPL) nach.\n"

~ "\n"

~ "Mit PNMixer sollten Sie außerdem eine Kopie der GNU General Public License "

~ "erhaltenhaben. Wenn dem nicht so ist, so schreiben Sie bitte an die Free "

~ "Software Foundation, Inc.,51 Franklin Street, Fifth Floor, Boston, MA "

~ "02110-1301, USA."

~ msgid "About"

~ msgstr "Info"

~ msgid "Mute"

~ msgstr "Stumm"

~ msgid "Mute/Unmute Volume"

~ msgstr "Stumm (ein/aus)"

~ msgid "Open Volume Control"

~ msgstr "Lautstärkeregler öffenen"

~ msgid "Preferences"

~ msgstr "Einstellungen"

~ msgid "Quit"

~ msgstr "Beenden"

~ msgid "Reload Alsa"

~ msgstr "Alsa Neuladen"

~ msgid "Volume Control..."

~ msgstr "Lautstärkeregler …"

~ msgid "_Mute/Unmute"

~ msgstr "_Stumm (ein/aus)"

~ msgid "_Reload Alsa"

~ msgstr "Alsa _Neuladen"

~ msgid "_Volume Control"

~ msgstr "_Lautstärkeregler"

~ msgid "(None)"

~ msgstr "(Keine)"

~ msgid "(Unknown)"

~ msgstr "(Unbekant)"

~ msgid "HotKey Settings"

~ msgstr "HotKey Einstellung"

~ msgid "Hotkeys"

~ msgstr "Hotkeys"

~ msgid "Icon Theme"

~ msgstr "Symbolthema"

~ msgid "Mouse"

~ msgstr "Maus"

~ msgid "Sound Device"

~ msgstr "Alsa-Gerät"

~ msgid "Text"

~ msgstr "Text"

~ msgid "Volume Control Command"

~ msgstr "Befehl zur Lautstärkeregelung"

~ msgid "Volume Meter"

~ msgstr "Lautstärkeskala"

~ msgid "Behavior"

~ msgstr "Verhalten"

~ msgid "Bottom"

~ msgstr "Unten"

~ msgid "Card:"

~ msgstr "Karte:"

~ msgid "Channel:"

~ msgstr "Kanal:"

~ msgid "Command"

~ msgstr "Befehl"

~ msgid "Custom (set below)"

~ msgstr "Benutzerdefiniert (siehe unten)"

~ msgid "Custom Command:"

~ msgstr "Benutzerdefinierter Befehl:"

~ msgid "Defining HotKey"

~ msgstr "HotKey Definieren"

~ msgid "Device"

~ msgstr "Gerät"

~ msgid "Display Text Volume"

~ msgstr "Lautstärke als Text anzeigen"

~ msgid "Double click a HotKey to assign a new Hotkey"

~ msgstr "Um einen neuen HotKey festzulegen, doppelklick auf einen HotKey"

~ msgid ""

~ "Draw Volume Meter on Tray Icon\n"

~ "(Will cause slightly higher CPU usage)"

~ msgstr ""

~ "Lautstärkeskala im Benachrichtigungsfeld anzeigen\n"

~ "(verursacht geringfügig höhere CPU-/Speicherlast)"

~ msgid "Enable HotKeys"

~ msgstr "HotKeys Aktivieren"

~ msgid "HotKey"

~ msgstr "HotKey"

~ msgid "HotKey Volume Step:"

~ msgstr "HotKey Volume Schrittweite:"

~ msgid "Hotkeys"

~ msgstr "Hotkeys"

~ msgid "Left"

~ msgstr "Links"

~ msgid "Middle Click Action:"

~ msgstr "Aktion bei Mittelklick:"

~ msgid "Mouse Scroll Step:"

~ msgstr "Schrittweite des Mausrades:"

~ msgid "Mute/Unmute:"

~ msgstr "Stumm (ein/aus)"

~ msgid "PNMixer Preferences"

~ msgstr "PNMixer-Einstellungen"

~ msgid "Press new HotKey for:"

~ msgstr "Druken Sie neue HotKey für:"

~ msgid "Right"

~ msgstr "Rechts"

~ msgid "Set Hotkey"

~ msgstr "Einstellen Hotkey"

~ msgid "Show Preferences"

~ msgstr "Einstellungen anzeigen"

~ msgid "Top"

~ msgstr "Oben"

~ msgid "View"

~ msgstr "Ansicht"

~ msgid "Volume Control"

~ msgstr "Lautstärkeregler"

~ msgid "Volume Down:"

~ msgstr "Leiser"

~ msgid "Volume Meter Color:"

~ msgstr "Lautstärkeskala-Farbe:"

~ msgid "Volume Meter Offset:"

~ msgstr "Lautstärkeskala-Versatz:"

~ msgid "Volume Text Position:"

~ msgstr "Lautstärkeregler-Textposition:"

~ msgid "Volume Up:"

~ msgstr "Lauter"

Please add it to the Git repo.

release 0.6

@nicklan is there anything important left or should we just throw out a new release. People keep filing bugs against the 0.5 release which are long fixed.

Licensing problem

The current Git content has a file named COPYING which references the GPLv3. But the source files callbacks.c and callbacks.h are marked as licensed under GPLv2, and the other files don't include any license hints. The problem came up during a package review for Fedora [1]. You should decide if you want to use either GPLv2 or GPLv3, with or without upwards compatibility with future versions of the license (in the latter case).

[1] https://bugzilla.redhat.com/show_bug.cgi?id=710672#c4

pnmixer doesn't unmute

If you click on the pnmixer icon and click mutes, it mutes audio as expected. But clicking to unmute does not unmute the audio. The icon changes to the "unmuted" status, but there is still no sound.

To unmute I have to open pavucontrol and unmute it from there on the output tab.

I'm running pnmixer 0.5.1 on arch linux with XFCE.

Volume slider knob is beeing held when popup window is closed with double click [gtk2]

  1. When double clicking the volume slider it closes the popup window and the volume slider is still beeing held so the volume changes to 0% or 100% with 10% steps depending if it was clicked left or right of the volume knob. Probably related to #72 and #73.

4 1 1
2. When double clicking the volume slider knob it again closes the popup window and the volume now is still beeing held so next time when you open the popup window, the volume changes to the volume value which is parallel to the mouse cursor. Probably related to #73

4 1 2

PNmixer Window draws below floating tint2 bar

I am using a floating tint2 bar and conky for the "bar"'s background. However, clicking on the systray icon, pnmixer instead prefers to go below the floating tint2 bar making it unusable.

Should it honor the tray location when it shows up its volume control window?

Please see images below:
PNmixer closed:
screenshot - sunday 15 september 2013 - 12 38 49 pht

PNmixer open:
screenshot - sunday 15 september 2013 - 12 39 29 pht

I'm using PNMixer 0.5.1 on Debian Linux btw.

`make dist` fails

./autogen.sh && make dist:

make dist-gzip am__post_remove_distdir='@:' make[1]: Entering directory /home/smil3y/projects/pnmixer'
if test -d "pnmixer-0.6-dev"; then find "pnmixer-0.6-dev" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "pnmixer-0.6-dev" || { sleep 5 && rm -rf "pnmixer-0.6-dev"; }; else :; fi
test -d "pnmixer-0.6-dev" || mkdir "pnmixer-0.6-dev"
(cd src && make top_distdir=../pnmixer-0.6-dev distdir=../pnmixer-0.6-dev/src
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[2]: Entering directory /home/smil3y/projects/pnmixer/src' make[2]: Leaving directory /home/smil3y/projects/pnmixer/src'
(cd po && make top_distdir=../pnmixer-0.6-dev distdir=../pnmixer-0.6-dev/po
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[2]: Entering directory /home/smil3y/projects/pnmixer/po' make[2]: *** No rule to make target ChangeLog', needed by distdir'. Stop. make[2]: Leaving directory /home/smil3y/projects/pnmixer/po'
make[1]: *** [distdir] Error 1
make[1]: Leaving directory /home/smil3y/projects/pnmixer' make: *** [dist] Error 2

If I touch po/ChangeLog it does not fail.

Mute / unmute check box shows wrong value when clicked + popup window overlaps panel

  1. The mute / unmute check box in the popup window shows the wrong value when clicking on it. It corrects itself when changing the volume slider. This happens on both gtk2 and gtk3.
    pnmixer_bug
  2. The second problem I found is that the popup window overlaps the panel instead of opening above the panel (in case of a bottom panel). This affects both gtk2 and gtk3. I do not know if this is intended or not, because I found out about pnmixer on Manjaro Linux which had an earlier version of pnmixer which didn't overlap the panel.
    pnmixer_bug_popup_before
    For gtk2 I got around this by removing the 30th line<property name="type">popup</property> from popup_window-gtk2.xml before compiling which did the job.
    pnmixer_bug_popup_after

implicit linking to libX11

pnmixer uses XKeycodeToKeysym from libX11, but libX11 is not linked explicitly. Thus the build will fail on various distributions such as Fedora >= 13:

gcc -O2 -export-dynamic -o pnmixer support.o main.o hotkeys.o alsa.o callbacks.o prefs.o -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lpng12 -lm -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lasound
/usr/bin/ld: hotkeys.o: undefined reference to symbol 'XKeycodeToKeysym'
/usr/bin/ld: note: 'XKeycodeToKeysym' is defined in DSO /usr/lib64/libX11.so.6 so try adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation

For the background of this change, see http://fedoraproject.org/wiki/UnderstandingDSOLinkChange

Hotkeys don't work

..at all! Are there any hidden dependencies for it to recognise them? I use openbox as a WM. I started off with them set to the XF86Audio_____ keys, which did nothing. I then tried a simple Win+X key shortcut - same result.

Nothing output on terminal, no error message, just nothing :(

(key bindings work fine with all other software I have: openbox, xbindkeys, readline/bash, etc)

Trivial fixes for desktop file

Here are two small fixes for the desktop file:

  1. Added TryExec, so the menu entry will not show up if pnmixer is not available/executable
  2. added categories 'Mixer' and 'GTK'.

From add5de45a6a35aa41748ef9744dd4eb9588dbe03 Mon Sep 17 00:00:00 2001
From: Christoph Wickert [email protected]
Date: Sat, 3 Mar 2012 21:14:38 +0100
Subject: [PATCH] Minor fixes of the desktop file


data/pnmixer.desktop | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/data/pnmixer.desktop b/data/pnmixer.desktop
index 3f61da1..2aadfa0 100644
--- a/data/pnmixer.desktop
+++ b/data/pnmixer.desktop
@@ -9,7 +9,8 @@ Comment=An audio mixer for the system tray
Comment[de]=Ein Audiomixer für das Benachrichtigungsfeld
Comment[fr]=Un Mixeur Audio pour la Zone de Notification
Exec=pnmixer
+TryExec=pnmixer
Icon=pnmixer
Terminal=false
Type=Application
-Categories=Application;AudioVideo;
\ No newline at end of file

+Categories=Application;AudioVideo;Mixer;GTK;

1.7.6.5

Improve Gtk3 Popup Window a little bit

Currently there's no margin defined for the Gtk3 popup window, and the file popup_window-gtk3.xml is over-complicated and filled with unused stuff inherited from the Gtk2 version.

I reworked that a little bit with Glade too make it looks nicer. Attached a screenshot before modifications, and another after modifications.

If it looks OK to you, can I commit that ?

Before:
popup-menu-gtk3-before

After:
popup-menu-gtk3-after

Cannot change volume slider to a desired value with mouse [gtk2]

At the moment in gtk2 popup window I cannot just click on a selected value and expect the slider to change to that value but instead it increases/decreases by 10% (continuously if I hold).

image

I did found out that on Manjaro 0.8.11 Openbox edition doesn't have this problem.

image

I looked at PKGBUILD for their pnmixer and they are using an unmodified version 0.5.1 from https://github.com/downloads/nicklan/pnmixer/pnmixer-0.5.1.tar.gz using gtk2. However I did discovered that it's because of their Menda theme. When I changed to another theme then the slider wasn't "fixed" anymore, just like in 1st gif.

3

I'm not sure what they did with their Menda theme to make it better, which can be found at https://github.com/manjaro/artwork-menda.

Popup window overlaps panel [gtk2] [gtk3]

It feels awkward having the popup window covering the panel. This affects both gtk2 and gtk3. I got around this by removing <property name="type">popup</property> from their xml files. Doing this does not give me any errors in the terminal for either gtk2 or gtk3.

compile error if notify lib are disabled (seems related to minimal flags option)

no error if are enabled, (configure without gtk3) but
if disabled libnotify got this error: (seems that related to minimal flags option)

gcc  -g -O2  -rdynamic -o pnmixer support.o main.o hotkeys.o notify.o alsa.o callbacks.o prefs.o -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lgio-2.0 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lasound     -lm -lX11 
hotkeys.o: In function `add_filter':
/home/systemas/tmp/pnmixer-master/src/hotkeys.c:122: undefined reference to `gdk_x11_window_foreign_new_for_display'
alsa.o: In function `card_free':
/home/systemas/tmp/pnmixer-master/src/alsa.c:80: undefined reference to `g_slist_free_full'
alsa.o: In function `get_cards':
/home/systemas/tmp/pnmixer-master/src/alsa.c:97: undefined reference to `g_slist_free_full'
collect2: ld devolvió el estado de salida 1
make[1]: *** [pnmixer] Error 1
make[1]: se sale del directorio `/home/systemas/tmp/pnmixer-master/src'
make: *** [all-recursive] Error 1

nothign more to said

xmonad tray in right wrong window placement

I am using pnmixer with xmonad and (issue is on both) stalonetray / trayer and tray is aligned to right.

When I click on icon a window with volume control is shown in a center of a screen.
It works fine when a tray is on left.

I guess window is aligned to icon and when there is no space it is placed in center.

It should always be placed next to icon or this is impossible to travel mouse to volume control without closing it earlier.

Update for German translation

Hi,

unfortunately I wasn't aware of changes in pnmixer, that's why v0.4 comes with an incomplete German translation. Patch is based on the 0.4 release.

--- de.po 2011-08-10 19:27:45.458453478 +0200
+++ de.po 2011-08-10 19:32:52.002413642 +0200
@@ -8,7 +8,7 @@
"Project-Id-Version: pnmixer master\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-08-10 19:27+0200\n"
-"PO-Revision-Date: 2011-06-04 22:32+0100\n"
+"PO-Revision-Date: 2011-08-10 19:32+0100\n"
"Last-Translator: Mario Blättermann [email protected]\n"
"Language-Team: Deutsch [email protected]\n"
"Language: \n"
@@ -57,11 +57,8 @@
"http://github.com/nicklan/pnmixer"

#: ../src/main.c:552
-#, fuzzy
msgid "- A mixer for the system tray."
-msgstr ""
-"Ein Mixer für das Benachrichtigungsfeld.\n"
-"http://github.com/nicklan/pnmixer"
+msgstr "- Ein Mixer für das Benachrichtigungsfeld."

#: ../src/support.c:89 ../src/support.c:111
#, c-format
@@ -77,9 +74,8 @@
msgstr "Lautstärke als Text anzeigen"

#: ../src/prefs.c:391
-#, fuzzy
msgid "Volume Text Position: "
-msgstr "Textposition:"
+msgstr "Lautstärkeregler-Textposition:"

#: ../src/prefs.c:399
msgid "Top"
@@ -102,16 +98,16 @@
"Draw Volume Meter on Tray Icon\n"
"(will cause slightly higher mem/cpu usage)"
msgstr ""
+"Lautstärkeskala im Benachrichtigungsfeld anzeigen\n"
+"(verursacht geringfügig höhere CPU-/Speicherlast)"

#: ../src/prefs.c:423
-#, fuzzy
msgid "Volume Meter Offset: "
-msgstr "Textposition:"
+msgstr "Lautstärkeskala-Versatz:"

#: ../src/prefs.c:434
-#, fuzzy
msgid "Display"
-msgstr "Anzeige der Lautstärke"
+msgstr "Anzeige"

#: ../src/prefs.c:455
msgid "Card:"
@@ -126,9 +122,8 @@
msgstr "Alsa Gerät"

#: ../src/prefs.c:513
-#, fuzzy
msgid "Volume Control Command"
-msgstr "Lautstärkeregler"
+msgstr "Befehl zur Lautstärkeregelung"

#: ../src/prefs.c:532
msgid "PNMixer Icons"

[request] Gtk3 support

Hi,
Is this still in active development? If so, are there plans to support gtk3? Hopefully there shouldn't be much needs changing with it being not really a "GUI" oriented program!

Thanks.

Segfault when volume is higher than 100%

Hey there, when I adjust the volume to more than 100% pnmixer just segfaults:

$ gdb

GNU gdb (GDB) 7.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
(gdb) file /usr/bin/pnmixer
Reading symbols from /usr/bin/pnmixer...done.
(gdb) run
Starting program: /usr/bin/pnmixer 
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Debugging Mode Build]
Opening mixer for card: default
[New Thread 0x7fffe61e0700 (LWP 11699)]
[Thread 0x7fffe61e0700 (LWP 11699) exited]
Channels for card: default
    Master
Opening mixer for card: hw:0
hw:0 has no playable channels
Opening mixer for card: hw:1
Channels for card: hw:1
    Master
    Headphone
    Speaker
    PCM
    Mic
    Mic Boost
    Beep
    Internal Mic Boost
Opening mixer for card: hw:29
hw:29 has no playable channels
Opening mixer for card: default
[New Thread 0x7fffe61e0700 (LWP 11700)]
[getvol] From mixer: 40304  pmin: 0  pmax: 65536
[getvol] From mixer: 40304  pmin: 0  pmax: 65536
[getvol] From mixer: 65536  pmin: 0  pmax: 65536
[getvol] From mixer: 65536  pmin: 0  pmax: 65536
[getvol] From mixer: 65536  pmin: 0  pmax: 65536
[New Thread 0x7fffe58cf700 (LWP 11708)]
[getvol] From mixer: 70148  pmin: 0  pmax: 65536
[getvol] From mixer: 70148  pmin: 0  pmax: 65536

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6def577 in g_slice_alloc () from /usr/lib/libglib-2.0.so.0
(gdb) bt
#0  0x00007ffff6def577 in g_slice_alloc () from /usr/lib/libglib-2.0.so.0
#1  0x00007ffff6dd0216 in g_list_prepend () from /usr/lib/libglib-2.0.so.0
#2  0x00007ffff70a034e in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#3  0x00007ffff70a0cd6 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#4  0x00007ffff70a1044 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#5  0x00007ffff72e259c in gdk_pixbuf_new_from_data () from /usr/lib/libgdk_pixbuf-2.0.so.0
#6  0x00007ffff72e02c7 in gdk_pixbuf_new () from /usr/lib/libgdk_pixbuf-2.0.so.0
#7  0x00007ffff72e7712 in gdk_pixbuf_scale_simple () from /usr/lib/libgdk_pixbuf-2.0.so.0
#8  0x00007ffff7957ee6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#9  0x00000000004078d7 in get_mute_state (set_check=1) at main.c:356
#10 0x0000000000408ede in alsa_cb (e=0x6cc100, mask=1) at alsa.c:139
#11 0x00007ffff6ae32b6 in ?? () from /usr/lib/libasound.so.2
#12 0x00007ffff6add4b3 in ?? () from /usr/lib/libasound.so.2
#13 0x00007ffff6ad33e7 in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#14 0x00007ffff6ade541 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#15 0x0000000000408f51 in poll_cb (source=0x6ca3c0, condition=G_IO_IN, data=0x0) at alsa.c:155
#16 0x00007ffff6dd3f06 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0x00007ffff6dd4258 in ?? () from /usr/lib/libglib-2.0.so.0
#18 0x00007ffff6dd465a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#19 0x00007ffff78e08f7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#20 0x0000000000408144 in main (argc=1, argv=0x7fffffffe798) at main.c:508

Won't build without ALSA

On the wiki it's said that pnmixer supports alsa and pulseaudio, I'm using pulseaudio for sound but I can't build without alsa it seems:

checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for alsasound ... no
configure: error: alsa not found

I can install with yum the pnmixer and it works, but I wanted this latest version.

Volume icons

When selecting an icon theme in pnmixer settings, pnmixer is going to look for volume icons named:
pnmixer-high
pnmixer-medium
pnmixer-low
pnmixer-muted
But because most of the themes have volume icons named:
audio-volume-high
audio-volume-medium
audio-volume-low
audio-volume-muted
, pnmixer will fall back to default theme.
Can't it search like this: Search for pnmixer-* icons, if they aren't there, search for audio-volume-* icons. Else, fallback to default icons?
EDIT: I see that it does this in main.c, but for some reason it fails. After symlinking the audio-volume-* icons to pnmixer-*, correct icons started displaying.

Document code

How do you guys think about that? Waste of time? I'm specifically thinking about doxygen-style function documentation.

compile error gtk2 < 2.20 and glib < 2.26

please, help, seems that glib 2.24 are not supportesd, could make a macro that check version and wrapper around that?

compiled with gtk 2.18.1, glib 2.24, alsa 1.0.25,

main.c: En la función ‘hide_me’:
main.c:572: error: ‘GDK_KEY_Escape’ no se declaró aquí (primer uso en esta función)
main.c:572: error: (Cada identificador no declarado solamente se reporta una vez
main.c:572: error: para cada funcion en la que aparece.)
make[1]: *** [main.o] Error 1
make[1]: se sale del directorio `/home/systemas/tmp/pnmixer-master/src'
make: *** [all-recursive] Error 1

i revised more code and seems are tow more around glib < 2.26

if pnmixer dont compiled with minimal requeriments, users sure will prefer qasmixer that compiled with OLDER qt 4.6

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.