Kaffeine, mceusb and irexec

I have a PVR 150 with the mceusb remote. My setup is a dual screen with an nvidia 6600GT with a monitor and a tv-out on the component out (Y – Pb – Pr; red-green-blue) working with mythfrontend running on the tv output (you can configure this in the myth setup screen). See: xorg.conf.

The mythbuntu lirc generator does not have support for kaffeine. There are two ways to go about this (also see: Lirc Wiki Page)

1) Install kdelirc package and start the irkick program and configure it.
2) Keep all the remote stuff together using lirc and irexec.

I have added the same information to the lirc wiki page (also see ~/.lircrc and ~/.lirc/kaffeine). If you do not use the mceusb remote, you will have to change the names of the remote and buttons to get it to work.)

I also have irexec autostart by creating a script file irexec.sh (don’t forget to make the script executable) in ~/.kde/Autostart.

#!/bin/bash
/usr/bin/irexec -d

To assign other buttons to kaffeine, enter dcop kaffeine KaffeineIface and dcop kaffeine KaffeinePartIface to get all available DCOP functions.

With this configuration, I can now use my remote with kaffeine.

Now, off to actually watch something… :)

About robotgeek

Rocker, philosopher, Mac lover, geek, robotics freak and an optimist. These describe me adequately, i guess! When I find time away from my lab, I love to code my robots using java to be compatible with robocode . I also make it a point to visit Slashdot or read on Wikipedia . Of course, all this has to be done while listening to Pink Floyd, Led Zeppelin, Metallica or Pearl Jam, mostly on Shoutcast online radio . I also like to read. Though I don't find much time now, I generally stick to what I like, which is Ayn Rand. Let's just hope the world heads in the right direction 2004 has been the year of the blog, and I could not be left out!
This entry was posted in Linux. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>