Edit: Rinzwind tipped me off on a launchpad project called "wiican". Apparently it is implemented as an indicator applet and allows to customise your wii-actions. You could bind e.g. amarok -t to a wiibutton.
You're in luck, and you don't even know how much. It took me a while and a bit of research but: I wrote a script to do just that a while back. It works with Amarok and Totem, though it could easily be modified to control other players (provided they have a command line interface). Give me a few minutes to write a few comments together. Then I will edit this answer and post it.
Features:
Check battery status of the Wiimote.
Switch an led on the Wiimote.
Start Amarok.
Pause/contiue playing.
Skip to next/last track.
Control the system volume over alsamixer
You will need python and python-cwiid / sudo apt-get install python-cwiid installed. You can do that while waiting.
There is also a GUI program that sits on the system tray, called "Wiican". I used to use on previous versions of ubuntu before 11.04 (Natty) but now I can't seem to know how to install it with the PPA found at https://launchpad.net/wiican
It just connects and configures buttons as you wish, yet not perfect but I would call it great
will update the post once I find out how to install.
Edit: Rinzwind tipped me off on a launchpad project called "wiican". Apparently it is implemented as an indicator applet and allows to customise your wii-actions. You could bind e.g.
amarok -t
to a wiibutton.You're in luck, and you don't even know how much. It took me a while and a bit of research but: I wrote a script to do just that a while back. It works with Amarok and Totem, though it could easily be modified to control other players (provided they have a command line interface). Give me a few minutes to write a few comments together. Then I will edit this answer and post it.
You will need python and python-cwiid /
sudo apt-get install python-cwiid
installed. You can do that while waiting.Below is the script. Just run it in a terminal.
There is also a GUI program that sits on the system tray, called "Wiican". I used to use on previous versions of ubuntu before 11.04 (Natty) but now I can't seem to know how to install it with the PPA found at https://launchpad.net/wiican
It just connects and configures buttons as you wish, yet not perfect but I would call it great
will update the post once I find out how to install.
Edit: I was able to find a package at this link