Use Media Keys to control Tomahawk in Awesome WM

29 January 2013,

Nowadays for controling a mediaplayer the MPRIS specification exists, sadly this interface seems unsupported by awesome. One solution would be to add some lines to the configuration of xbindkeys and to start it in the background. But as awesome already can handle global keybindings adding these lines to your .config/awesome/rc.lua will transmit the actions of the media keys to Tomahawk (they will work with every MPRIS2-compatible media, you just need to replace “tomahawk” with the matching name).

Note: This code should be inserted before(!) root.keys(globalkeys).


tomahawk-0.6.0beta1 added to Gentoo Overlay

Yesterday was the release of the first beta for Tomahawk 0.6.0. Tomahawk is a music player which decouples the name of the song from the source it is streamed from. Using the Playdar API it resolves the location from where to stream using all of your available sources.


Using Tomahawk resolvers in node.js

tl;dr: I wrote a node.js module so that you can use packaged Tomahawk AXE archives in your node.js application for querying music services with a unified interface, see node-tomahawkjs