This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new!

Feature: Graphics & Multimedia

Control multimedia applications with ReMoot

By Federico Kereki on October 09, 2007 (9:00:00 AM)

Share    Print    Comments   

You can manage most of today's multimedia applications easily with ReMoot, a universal remote control program. ReMoot even provides an esoteric way of controlling your PC remotely from your cell phone or PDA, earning it top geek points.

Start by going to the ReMoot site and clicking on Source Download to get the latest version, 0.4. The software consists of Perl and Ruby scripts. After the quick download completes, open a console, go to the directory where you downloaded everything, and type these commands as root:

tar zxf remoot-0.4.tar.gz
cd remoot-0.4
chmod +x re*
cp remoot* /usr/bin
cp rewww00t* /usr/bin

ReMoot comprises three scripts: the basic remoot script itself, which you use to command the different multimedia applications; remoot-remote, which shows onscreen graphical controls; and rewww00t, which lets you govern your PC via a Web interface. You need Perl to use remoot, and you need Ruby to use rewww00t. If you don't already have these available, use your favorite package manager to get perl, perl-Tk, and ruby. You'll also need Advanced Linux Sound Architecture (ALSA), but most distributions already include it, so that shouldn't be a problem.

Begin by checking that ReMoot is actually working. Open your favorite music program, such as Amarok, and start playing something. From a console, try some commands, such as remoot volup and remoot voldown to turn the volume up or down, or remoot next to advance through the tracks.

Remoot commandsDescription
remoot volupTurn the volume up.
remoot voldownTurn the volume down.
remoot muteMute (or unmute) the sound.
remoot playStart playing.
remoot playpausePause (or continue) playing.
remoot stopStop playing.
remoot nextSkip to the next track.
remoot prevGo back to the previous track.

ReMoot supports several different programs, all with the same commands. For example, whether you're listening to music with Amarok or watching a video with xine or Kaffeine, the remoot stop command will produce the same effect in the player program. As long as you're running a program known by ReMoot, you'll get consistent results. This lets you configure the multimedia keys on your keyboard in a single way that will work no matter which program you happen to be using at the time.

Programs known by ReMoot
AmarokKaffeineQuod Libet

However, some of these programs require tweaks to work properly. Check the ReMoot wiki site if something doesn't work as expected.

ReMoot can control several programs at the same time. If you pause Amarok, for instance, and then want to start it again, the remoot playpause command won't start any other programs that might be running but instead will continue with Amarok. If you want to continue with other programs, you have to reactivate them manually before ReMoot will work with them.

If you are more graphically oriented, the remoot-remote program shows a bare-bones window with all available commands. No matter which program is running, you can click on one of these buttons to command the currently playing program. The company promises that a new version will feature icons instead of text.

If you really want to earn a "geek award," start the rewww00t program (check the name carefully; it usually includes a version number) and navigate to yourOwnURL:14300. You'll see clickable links that operate on your multimedia. With rewww00t, you could use your cell phone or PDA to connect to your server (though you'd have to open firewall ports and do some other things in order to get this to work) and turn the volume up from anywhere in the world. That may be of little use, but it's interesting!

Program the multimedia keys

With the scripts installed and working, you can get Linux to perform certain commands whenever you press a multimedia key. Following the instructions in the article "Customize your laptop keyboard with X and KDE," you should:

  • Open the Control Center.
  • Click on the Regional & Accessibility tab.
  • Pick the Input Actions option.
  • Add a group with the New Group command (give it a name such as Multimedia).

Then, for each key you want to program:

  • Add a new action to the group.
  • Go to the General tab.
  • Fill in the Action Name field.
  • Set the Action Type to Keyboard Shortcut -> Command/URL (Simple).
  • Go to the Keyboard Shortcut tab.
  • Click on the button and then press the Multimedia key (remember, you can use modifiers such as Shift, Alt, and Control).
  • Go to the Command/URL Settings tab.
  • Type in the appropriate command (for example, use remoot volup for the Volume Up key).

That's all there is to it. ReMoot makes handling multimedia keys both simpler and more powerful.

Federico Kereki is an Uruguayan systems engineer with more than 20 years' experience developing systems, doing consulting work, and teaching at universities.

Share    Print    Comments   


on Control multimedia applications with ReMoot

Note: Comments are owned by the poster. We are not responsible for their content.

Control multimedia applications with ReMoot

Posted by: Anonymous [ip:] on October 09, 2007 12:35 PM
There is a new version out! The 0.9 version supports more multimedia apps and ReMoot now has a daemon for increased speed. Rewww00t is faster and more stable and supports images (nicer look). Both ReMoot and Rewww00t have Debian packages (.deb) tested on Feisty Fawn and Debian Sid.

See: for more info.


Control multimedia applications with ReMoot

Posted by: Anonymous [ip:] on October 10, 2007 06:38 AM
How to use the PDA, cellphone to control this app? Please give an URL.


Re: Control multimedia applications with ReMoot

Posted by: Anonymous [ip:] on October 10, 2007 07:35 AM
You have to have both ReMoot and Rewwwoot installed. Rewwwoot is a web interface to ReMoot. In case of using .deb-packages install remoot.deb first (rewwwoot depends on remoot). The <A HREF=""> wiki</A> explains it all.

Operating remoot/rewwwoot via a cellphone is not optimal (if not 3G or wifi enabled phone), so it's best if you use a PDA, N800 or something similar.
Happy Mooting! ;)


This story has been archived. Comments can no longer be posted.

Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya