Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-16-2003, 11:09 PM   #1
LQ Newbie
Registered: Jul 2003
Posts: 7

Rep: Reputation: 0
Question >>> control mplayer with command args???

Okay, here's the deal. I have this wireless remote control for a 'nix machine (slack 9) and its all set up so when I push the play button on the remote, a command is run (currently it launches an xterm).

My goal is to have this play/pause button work to play/pause mplayer. Currently, I have to use the spacebar for this. However, I need a command that does this so I can play/pause with the remote. How can I do it with a command?

vague idea 1.) since mplayer is in focous, somehow echo out a spacebar key to the keyboard device somehow?

vague idea 2.) something like xmms --pause, for mplayer

Thanks in advance!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
processing command args in bash slzckboy Programming 16 10-18-2017 03:12 AM
Web page control for Mplayer? OmnipotentOscar Linux - Software 8 05-10-2006 03:54 AM
Remote MPlayer control .... vaderj Linux - Software 2 01-11-2005 09:10 PM
command line args in a countdown Squeak2704 Programming 1 04-26-2004 12:27 PM
Bash script; command and args in variable. magjo813 Programming 2 02-16-2004 09:22 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration