full listings » Playback


MMKeys dparnell

Enables the use of the multimedia keys under Linux


Description

This is a simple little Songbird plugin that allows the play, stop, next and previous buttons to work as they should under 32 bit Linux. It has received minimal testing, but it seems to work for me ;)
The source code is also available from http://blog.danielparnell.com/
This version requires DBUS. The previous versions all use XGrabKey and do not work reliably under Ubuntu







Comments

(97)


mig
mig

You should update the name of the extension so people understand this is for Linux Multimedia Keyboard Support. "MMKeys" isn't terribly obvious.

over 4 years ago
clem-vangelis
clem-vangelis

works well for me under Ubuntu edgy , this was the last plugin i wanted to completely switch to Songbird , thx you very much !

over 4 years ago
mig
mig

http://bugzilla.songbirdnest.com/show_bug.cgi?id=2549 You have a bug in bugzilla for this addon. Please make a bugzilla account and accept this bug. Thanks mig

over 4 years ago
tomyhayes
tomyhayes

Didn't work on Ubuntu 7.04 using Dell 1705. Please Fix this add-on!!

over 4 years ago
tomyhayes
tomyhayes

i found out It's because of no DBus support in Feisty... If anyone knows how to comment this so they'll add support for this in the new release please tell me how..

over 4 years ago
GFD
GFD

Same issue here. It didn't work on Ubuntu 7.04 (Feisty).

over 4 years ago
whymichhael
whymichhael

None of my media players in Ubuntu 7.04 respond to the media keys. Are sure that it is a bug in the add-on?

over 4 years ago
wondercow
wondercow

This sort of works on Ubuntu 7.10 (Gutsy) with the media keys on my Lenovo T61 laptop. I am using Songbird 0.4rc2. The skip forward and back media buttons work, but the play/pause and stop buttons do not. Also, if I set other keyboard shortcuts under System→Preferences→Keyboard Shortcuts and then press them, the selected song in Songbird’s media library blinks. It doesn’t actually go forward or back or pause like I told it to with my custom key binding (not talking about the media buttons now), but it blinks like it knows it’s supposed to be doing something. Hope this helps!

over 4 years ago
karit
karit

why doesn’t this support x86-64?

over 3 years ago
TiNRiB
TiNRiB

Everything works real nice on Opensuse 10.3 running on a Dell XPS1330. Thanks!

over 3 years ago
bicchi
bicchi

What, No x86_64 support. :(

Could you post a link to the source code? At least we can recompile it and install it that way.

Thanks,

over 3 years ago
dparnell
dparnell

The source to the plugin is now available from http://git.danielparnell.com/

over 3 years ago
chocolateboy
chocolateboy

Works a treat on Hardy.

Thanks.

over 3 years ago
nrayever
nrayever

ok, is broken from 0.6rc3. hope this got solved soon.
nrayever

over 3 years ago
nrayever
nrayever

well maybe i had to be more specific. mmkeys is not avaliable for installation on 0.6rc3
nrayever

over 3 years ago
brunods
brunods

0.6 support! Please! This extension is very very good

over 3 years ago
ACMiller
ACMiller

This is definitely one of the most useful addons for songbird. It worked really well for me on hardy with SB 0.5. Are there any plans for 0.6 support?

over 3 years ago
ACMiller
ACMiller

Great, thanks for the update man!

over 3 years ago
dylanrjones
dylanrjones

Works perfectly on an acer aspire 3620. Should be included by default with songbird!

over 3 years ago
ACMiller
ACMiller

I second that

over 3 years ago
raccoonone
raccoonone

Any chance of getting this Add-on to work with 64-bit Ubuntu? I'd really like to have my media keys working, but I'm running 64-bit Hardy.

over 3 years ago
Cittidel
Cittidel

I'm a bit sad that this isn't working with 0.6.1, on a Dell Vostro 1500 at least.

over 3 years ago
Cittidel
Cittidel

Oh, Ubuntu 8.04 64 bit.. I know it says only 32 bit but the 'previous' button makes the song I have highlighted blink.. So I know it's doing something, just not the right thing.

over 3 years ago
abo
abo

Works fine with Ubuntu 8.04

over 3 years ago
raccoonone
raccoonone

abo, are you using 32bit or 64bit Ubuntu 8.04?

over 3 years ago
bicchi
bicchi

dparnell,

It would be nice if the source code was modified to detect the architecture type and adapt to it. Some of us use i386 others x86_64. Other than than you could issue 2 versions one for each arch type.

Thanks,
Al

over 3 years ago
sianxian
sianxian

0.7 works perfectly for my acer aspire 5560 with ubuntu.

BEST extension so far, should be included in default if compatible for all computers.

GOOD JOB!

p/s I sign up just to say thank you because this plugin is simply the only last thing and most important thing i need on songbird.

over 3 years ago
RPG_Master
RPG_Master

Yes, 64 bit Linux support would be great. Until then, if I want to be able to use my media keys I have to use Rhythmbox.

over 3 years ago
beattyml1
beattyml1

if anyone gets a 64 bit version compiled from source, if they could post it online and provide a link on this thread it would be greatly appreciated

over 3 years ago
hangar_18
hangar_18

please please please, 64 bit support please :) songbird would be the bestest supersonic app on my hardy with that feature

over 3 years ago
bicchi
bicchi

I am trying to build MMKeys on AMD64 using the xulrunner-sdk version 1.9 of the Gecko engine. I am getting the following error:

MMKeysModule.cpp: In function ‘nsresult NSGetModule(nsIComponentManager*, nsIFile*, nsIModule**)’:
MMKeysModule.cpp:16: error: ‘NS_NewGenericModule2’ was not declared in this scope

Could you help or at least tell us what are you using in order to compile MMkeys?

over 3 years ago
pablofaria
pablofaria

It worked for me, together with keyTouch. My configuration is Ubuntu Hardy 8.04 on HP Pavilion dv6662se laptop. Great job!

over 3 years ago
pablofaria
pablofaria

I guess I was wrong... It worked after install, but when I turned off my machine and turned it on again, this plug-in stopped working (it gave me a message, something like "couldn't run Media Keys"). I tried to Disable/Enable it but it didn't work...

over 3 years ago
XCrunner
XCrunner

I think this add-on broke with Intrepid Ibex. It was working in Hardy and now it won't work Intrepid.

over 3 years ago
brunods
brunods

Is stopped working since my update to 1.0

over 3 years ago
rubyji
rubyji

Would love this add-on for Mac. Anyone working on that?

over 3 years ago
teliotoilet
teliotoilet

Does not work for me on Thinkpad T61 running 32-bit Hardy. I have Songbird 1.0.

My multimedia keys work in RhythmBox but I don't like using RhythmBox.

over 3 years ago
karbo
karbo

Not working as of version Songbird 1.0. Ubuntu 8.10. It was working fine on 0.7.0, same Ubuntu version.

over 3 years ago
SirronTM
SirronTM

Unfortunately it doesn't work for me with Sonbird 1.0 on Ubuntu 8.10, it's a shame that the keyboard shortcuts support included in this version of songbird doesn't provide Multimedia Keys support...

over 3 years ago
justcallmeslow
justcallmeslow

Same as everyone else. Worked on Ubuntu 8.10 with Songbird 0.7, but upgrading to 1.0 broke it. Would really appreciate an update.

over 3 years ago
Kaneda187
Kaneda187

Having Issues with my Ubuntu 8.10 on 32bit and a buddy of mine has the same problem on 64bit any advice...? its the only thing stopping me and my friend from switching to songbird completely......

over 3 years ago
fcastillo
fcastillo

I have the same problem. I'm running Ubuntu 8.10 32bit with kernel 2.6.27-9-generic. This add-on it's not working at all since the release of Songbird 1.0
My friend has the same issue and he's running Ubuntu 8.04.1 32bit

over 3 years ago
boris
boris

@dparnell,

We have a bug in our Bugzilla for this add-on:
http://bugzilla.songbirdnest.com/show_bug.cgi?id=14286
Please make an account in Bugzilla(in case, if you don't have one) and accept this bug.

Thanks.
Boris.

over 3 years ago
harbdog
harbdog

Unfortunately this one is not working for me in Ubuntu 8.04 using GNOME on a T61 notebook. This one was a special case because even the normal gnome music player didn't work until after I had manually set the keyboard shortcuts.

By default Gnome sets up the shortcut to look like "XF86AudioPlay" and "XF86AudioNext", but with my logitech LX 700 keyboard I have hooked up my laptop the values that map from the keyboard look more like "0xa0" and "0x99" to get them to work with the gnome music player. Maybe you might need to modify this plugin to use the Gnome/KDE shortcut setting in case a manual setting was needed?

over 3 years ago
stevo
stevo

Fails for me on Ubuntu 8.10 64bit with Songbird 1.0

over 3 years ago
batteryfast
batteryfast

I have this type of laptop. Now, the laptop battery last only half a hour so I got a battery from http://www.batterygoshop.co.uk/ . I hope it can help you.

over 3 years ago
atlast
atlast

For those looking for an alternative to this add-on, hotkeys can be configured directly through your window manager by using built-in command line options in Songbird: http://bugzilla.songbirdnest.com/show_bug.cgi?id=2788 . Apparently it's buggy for some, and it does raise the Songbird window when hotkeys are pressed, but other than that it works fine for me under Ubuntu Intrepid 64 bit.

Hopefully this helps someone!

over 3 years ago
eddyj
eddyj

Doesn't work for me in Ubuntu 8.10. Songbird 1.0
Dell XPS M1530.

over 2 years ago
headbang
headbang

Doesn't work for me in Ubuntu 8.10, Songbird 1.1, Logitech S510

over 2 years ago
jigso
jigso

Hi, Here is a patch to make it works with Songbird 1.1.1 :

Just install extension and modify the file ~/.songbird2/XXXXXXXX.default/extensions/{b8ac3781-7960-4790-b6fa-da13619eaba6}/components/mmkeysPlugin.js

(XXXXXXXX.default is your profile directory, it's a random name).

Line 46 : replace the function notify with the following :

  notify: function(timer) {
         var mm = Components.classes["@songbirdnest.com/Songbird/Mediacore/Manager;1"].getService(Components.interfaces.sbIMediacoreManager);  
         var playback = mm.playbackControl;
         var sequencer = mm.sequencer;
        
        switch(this._key) {
         case XF86AudioPause:
         case XF86AudioPlay:
           if (mm.status.state == Components.interfaces.sbIMediacoreStatus.STATUS_PAUSED) {
                  playback.play();
           }
           else {
                  playback.pause();
           }
           break;
         case XF86AudioStop:
           playback.stop();
           break;
         case XF86AudioNext:
           sequencer.next();
           break;
         case XF86AudioPrev:
           sequencer.previous();
           break;
        }
  }

Restart Songbird, and enjoy :-) !

over 2 years ago
firetech
firetech

I managed to compile a 64-bit-version in Ubuntu 8.10, it is now available at http://addons.songbirdnest.com/addon/1475 (it also includes jigso's patch above).

over 2 years ago
modmadmike
modmadmike

opps NVM when I updated songbird it went back to 32bit for some odd reason.

over 2 years ago
thomasroten
thomasroten

jigso: Thanks, that worked perfectly. Everything works great now. Thanks for the modification.

Running Songbird 1.1 on Ubuntu 8.10 on a Dell M1330.

over 2 years ago
radjan
radjan

@jigso: This also worked perfectly with the beta version 9.04. Using it in my HP dv6000 faultlessly.

Thanks very much! Pretty useful tool, thanks for the author too.

over 2 years ago
boris
boris

The new bug report was filed against MMKeys add-on:
http://bugzilla.songbirdnest.com/show_bug.cgi?id=16135

over 2 years ago
deathwarmedover
deathwarmedover

anyone got it working on jaunty with an inspiron 1525? i haven't :(

over 2 years ago
towersoft
towersoft

Works fine under Ubuntu 9.10 on M1330. Just make sure you patch the mmkeysPlugin.js file as above. Great stuff thanks!!

over 2 years ago
kriegschrei
kriegschrei

The fix kind of works with Songbird 1.2 on Linux Mint 7, though it still pops up Songbird when a key is pressed, and I can't get volume control to behave. Any plans for an update to this plugin?

over 2 years ago
calvin_vagrant
calvin_vagrant

So before I was getting no response at all from the program. Now I tried the fix jigso suggested and the currently selected track flashes but does nothing. Any solutions?

over 2 years ago
calvin_vagrant
calvin_vagrant

Sorry Songbird 1.2 on Ubuntu 9.10

over 2 years ago
Aarkon
Aarkon

@ jigso:
Works perfectly on Ubuntu Studio 9.10 with Sonbird from the repositories, should be 1.1 or something like that.
Tank you very much! :)

over 2 years ago
miholc
miholc

Songbird 1.4.3 on Ub 9.10, on a Dell Vostro 1520, runs fine after jigso's patch. Many thanks to all involved.

over 2 years ago
lx42
lx42

Awesome stuff, working fine after patch - just scroll up the page to find the user jigso and his post contains all the necessary information. Cheers jigso :)

Version: Songbird 1.2.0, Build 1146 (20090616030029)
Ubuntu 9.10
Custom PC build

about 1 year ago
cera
cera

jigso's patch worked for me as well. This is perfect ... thanks so much!

Ubuntu 10.04 LTS
Songbird 1.4.3, Build 1438 (20091223030122)

about 1 year ago



Download
Log in to Rate

Statistics
Downloads: 33,998

Average Rating:
3 out of 5  based on 13 ratings

Images: 0

Comments: 97

Last Updated: over 3 years ago
Details
Name: MMKeys


Author: dparnell

Version: 0.7 version history

Categories:


Log in to Add a Tag
Share
Embed:

Share: