如何更改mplayer中的快捷方式?

Jim*_*lum 6 mplayer

我想更改mplayer中的快捷方式。更具体地说,我希望当我按下 RIGHT 按钮时转到播放列表中的下一首歌曲。我怎样才能做到这一点?

mur*_*uru 4

假设您正在谈论mplayer它本身,根据手册页1

MPlayer 具有完全可配置、命令驱动的控制层,允许您使用键盘、鼠标、操纵杆或遥控器(使用 LIRC)来控制 MPlayer。请参阅该-input选项以了解自定义方法。

...

 -input <commands>
          This option can be used to configure certain parts of the input system.  Paths are relative to ~/.mplayer/. Available commands are:  
...
             conf=<filename>
                  Specify input configuration file other than the default ~/.mplayer/input.conf.  ~/.mplayer/<filename> is assumed if no full path is given.
             keylist
                  Prints all keys that can be bound to commands.
             cmdlist
                  Prints all commands that can be bound to keys.
Run Code Online (Sandbox Code Playgroud)

编辑并添加以下行(使用mplayer 网站~/.mplayer/input.conf的示例):

RIGHT pt_step 1
Run Code Online (Sandbox Code Playgroud)

1我没有链接到Ubuntu 联机帮助页,因为它与我系统上实际拥有的不同。特别是,对我来说,mplayer选项以单个连字符而不是双连字符开头。