Chris Brown

A selection of scripts.

 

Not much to see here... Below are a couple of scripts I have created to enable the use of multimedia shortcut keys in KDE applications running under a Gnome desktop (eg. Ubuntu). 

 


 

Background. It all started out as a little project for personal use but I decided to post my script on KDEapps.org and it seems to have proved useful to quite a few people. I then recieved a request for a Kaffeine script which was a simple adaption of the Amarok 1 script.

Sadly adapting the script for Amarok 2 was nowhere near as simple - the scripting interface had been redesigned to use javascript with access to a limited subset of the Qt API. After a few requests for an Amarok 2 version I decided to investigate further and try to work something out. As far as I can tell there are no dbus bindings avaliable to the Amarok 2 scripting environment (QtDBus would have been nice!) so the script is really just a loader for my previous work which was written in python (with python-dbus).

 


 

Download. Below are links to the files you require. The Amarok scripts are hosted at www.kde-apps.org which makes them avaliable for install via the Amarok script manager. Additionally you can download the file manually and install it via the script manager.

Use your keyboard multimedia keys to control playback in Kaffeine
Use your keyboard multimedia keys to control playback in Amarok version 1.x
Use your keyboard multimedia keys to control playback in Amarok version 2.x (experimental) 

 

Please send feeback and suggestions to chris.scotland at the domain gmail.com.