VLC/LIRC

Setting up VLC to use LIRC (infrared remote controls) is a little tricky because it isn't documented, but it is possible to map a lot of the keys to remote events. First and foremost, make sure you emerge with the  USE flag.

In VLC, go into Settings -> Preferences -> Control interfaces and check the box marked Infrared remote control interface, then hit Save. Once that's done, you need to setup your to map the remote keys to VLC key presses.

You can see the keys by running:

They are also all listed in the source code, specifically.

To see the names for the keys on your remote, run in a terminal and press the keys on your remote.

Here is an example mapping for VLC with a Media Center remote:

Following is an example for another potential configuration.

As a last step we have to make sure that the file contains the line:

(On some systems (Ubuntu 10.04 Karmic) this file is )

Alternatively VLC can be started with the option in the command line:

This command lists all VLC keys as comments, for inclusion in :