On 20/10/2011 02:17, Eduardo wrote:
> I think it is not associated to Banshee. I experience the same bug on
> Oneiric, but I uninstalled Banshee and use instead Clementine. As I
> press a multimedia key (not volume), there shows a prohibition sign (see
> attachment).

How media players listen for media keys in Ubuntu (GNOME interface) is done
something like this:-

X11 Keyboard event → gnome-settings-daemon → Media players (e.g.
Banshee).

This bug has two problems mentioned, but since Vernon came first, Eduardo should
file a new bug.

1) Vernon's issue (the main issue of this bug):
Something's obviously going wrong between X11 Keyboard event and
gnome-settings-daemon, or something before X11 Keyboard event.

On most machines, including all the laptops I have tested, and all of the
keyboards I own that have media keys, these work out of the box. In the event
that they don't, two things could have happened:-

a) Your keyboard is misconfigured and emitting the wrong X11 key events. You can
work around this by configuring the shortcuts for volume control and other media
keys under System Settings → Keyboard → Shortcuts → Sound and Media.
Incidentally, you can use any unused keybinding for this, not just the media 
keys.

b) Your keyboard is just just plain weird and is doing something non-standard,
so no X11 events appear when your media keys are pressed. This is probably
pretty unlikely

As for your USB headphones, unless they're emulating a keyboard for volume
up/down, which they probably aren't, that's an unrelated issue, which probably
requires some more specific drivers for this. I would expect that headphones
would control their own volume independent of the OS though.


2) Eduardo's issue:
The prohibition sign shows that there is no media player registered with
gnome-settings-daemon. When Banshee or another media player is not started, the
logo appears. When Banshee has started, the media keys work.

For the media keys to work, you'll need to make sure the Multimedia Keys
extension is enabled in Banshee (which registers against gnome-settings-daemon).
It's enabled by default, but it would be nice to make sure.

In case #1, this is not a problem in Banshee, so I'm reassigning this bug to
gnome-settings-daemon.

  affects ubuntu/banshee
  status invalid

  affects ubuntu/gnome-settings-daemon
  status new


Case #2 should go into a new bug report, if it really turns out to be a bug. I
don't think it is, though.

-- 
Kind regards,
Loong Jin


** Changed in: banshee (Ubuntu)
       Status: New => Invalid

** Also affects: gnome-settings-daemon (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/849103

Title:
  Banshee fails to respond to media shortcut keys.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/banshee/+bug/849103/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to