Bob asked me to provide details of using a Flirc USB infra-red receiver to control MediaCenter under Linux. This little gadget allows you to use an existing remote to pause playback remotely when using MediaCenter on a Linux box - and you can set-up other functions too, if you want. I've also been able to test Flirc on Windows. The makers say it works with Macintoshes too, but Apple probably preferred that you used something they made themselves from a solid billet of fake unobtainium
TM and charged too much for. (Sorry, Mac fans, I can't help myself.)
Go to
www.flirc.tv and buy one of the USB infra-red receivers - they are $18.95 in the US. As usual, the UK price is higher, but Maplin's offer them at £24.95. The dongle comes with a 'Flirc' application - in Ubuntu, you install this with the usual 'sudo apt-get install flirc' command, or from the Ubuntu software centre. You'll obviously need to consider line-of-sight between your listening position and the USB port - a USB hub on your desktop would be one way. The application detects and tells you if the dongle is present or not.
The most important button is 'Play', which you will probably want to set-up to send a Ctrl-P key press. In the Flirc application, select 'full keyboard' from the 'Controllers' menu item. A pretty graphic of a full keyboard appears - you select the key that you want, then press the corresponding button on the remote that you want to use. Play/Pause is Ctrl-P, you can also change volume (Ctrl-+ or Ctrl--; Ctrl-M for Mute) or jump tracks using Ctrl-L for Previous and Ctrl-N for Next.
Remote commands are received by whichever application is in focus. I was puzzled for a time when Firefox was in focus to see the font size increasing instead of the volume changing in MediaCenter!