alsa-tray crash on volume hotkeys pressed

Bug #960324 reported by flux on 2012-03-20
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ALSA Tray
Undecided
Unassigned

Bug Description

Hi, i have a problem with alsa-tray that crash when I press hotkeys to turn up/down the volume. These are the messages on the shell...

libnotify-WARNING **: you must call notify_init() before showing
**
libnotify:ERROR:notification.c:568:notify_notification_show: code should not be reached
Annullato (core dump creato)

I use 0.6 version.

Maarten Baert (maarten-baert) wrote :

This affected me too, but it's easy to fix. Download the source code, and in alsa_tray.py, change

    import pynotify
    NOTIFY = True

into

    import pynotify
    pynotify.init("alsa-tray")
    NOTIFY = True

Now run

sudo ./install.sh --install

Now you should either log out and log in again, or kill alsa-tray and restart it, to see the effect.

Fabien LOISON (flozz) on 2012-04-01
Changed in alsa-tray:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers