Docs‎ > ‎OpenSource‎ > ‎

Media-Keys Server

This project consists in a server application which reports the key press of the Media Keys on the keyboard through a standard HTML5 Web-Socket. The application works under Linux and OSX (if you are a Windows developer and want to contribute to this project, let me know).

Keys supported

  • Previous
  • Next
  • Play/Pause
  • Stop
  • Volume-Up
  • Volume-Down

Web-Socket details

As of this writing, the URI for the server socket is  ws://localhost:1337/ and the version of the protocol supported can be found here.  I've tested the implementation with Google Chrome v14.


Once installed, use the command line to launch mediakeysserver executable.


For both Linux and OSX, use Python's CheeseShop:

  easy_install mediakeysserver

Alternatively for OSX: there is the .zip file attached to this page.

Jean-Lou Dupont,
Aug 25, 2011, 11:11 AM