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

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

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

MPlayer有一个完全可配置的命令驱动控制层,允许您使用键盘,鼠标,操纵杆或遥控器(使用LIRC)控制MPlayer。 有关自定义方法的信息,请参阅-input选项。

  -input  This option can be used to configure certain parts of the input system. Paths are relative to ~/.mplayer/. Available commands are: ... conf= Specify input configuration file other than the default ~/.mplayer/input.conf. ~/.mplayer/ 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. 

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

 RIGHT pt_step 1 

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

Interesting Posts