I have installed Ubuntu 11.04 on my MacBook and am trying to get the Apple Remote to work with it. Does anyone have a set of instructions that will help me get it to work.
I have Googled this information for you, and hopefully this should be what you need.
set up the infrared remote control on a MacBook with Ubuntu.
In order to recognize and active the infrared commands and execute the actions for each key, we will use the package LIRC (Linux Infrared Remote Control). In Ubuntu, it can be installed, along with utilities, from the command as super user:
After the installation, simply create the configuration file to start using the remote control. The configuration file is located in /etc/lirc/lirc/lircrc and contains the mapping of commands to be executed for each action of the control. My file can be downloaded here. Below are shown two blocks of this configuration file.
The first block is activated when the daemon irexec is running, while the second is activated when the irxevent is running. Both represent actions that must be performed when PLAY button is used. Being the first block responsible for simulating the play key on the keyboard, and the second the F5 key.
In my case, I always active the irexec for multimedia and and irxevent for presentations. However, the switching of daemon was not a practical task, then I decided to create a GNOME Applet specific to work with LIRC, the ir-switcher (other projects). To install it, just run the commands as super user:
Then you must add it to a notification panel of your environment.
Clicking the right mouse button on the icon you can choose which daemon will run: irexec, irxevent or both. To start the daemon selected, click the left mouse button over the icon and it will change, indicating activation.