LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 07-17-2003, 12:09 AM   #1
nibjb
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!
 
  


Reply


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
Web page control for Mplayer? OmnipotentOscar Linux - Software 8 05-10-2006 04:54 AM
processing command args in bash slzckboy Programming 10 09-28-2005 05:49 PM
Remote MPlayer control .... vaderj Linux - Software 2 01-11-2005 10:10 PM
command line args in a countdown Squeak2704 Programming 1 04-26-2004 01:27 PM
Bash script; command and args in variable. magjo813 Programming 2 02-16-2004 10:22 AM


All times are GMT -5. The time now is 03:26 AM.

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