LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-16-2003, 11:09 PM   #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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:47 PM.

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
Open Source Consulting | Domain Registration