[MPlayer-users] mplayer bind keys to execute command
Corey Hickey
bugfood-ml at fatooh.org
Tue Apr 10 23:34:46 CEST 2007
Jerry Geis wrote:
> I am looking how to bind a key with mplayer and execute a system command.
>
> I found
>
> ##
> ## MPlayer input control file
> ##
>
> RIGHT seek +10
> LEFT seek -10
> - audio_delay 0.100
> + audio_delay -0.100
> q quit
>> pt_step 1
> < pt_step -1
> ENTER pt_step 1 1
>
> but I cannot find an example of how to execute a linux command one the
> RIGHT key being pressed.
You want to bind some program to a key? Try adding to input.conf a line
like this:
v run some_program
That line will execute some_program whenever the 'v' key is pressed. You
can give some_program a path if it's not in your PATH environment variable.
-Corey
More information about the MPlayer-users
mailing list