在Lubuntu中添加对媒体键(播放,停止,上一个和下一个按钮)的支持
如何在Lubuntu中添加对媒体键(播放,停止,上一个和下一个按钮)的支持? http://wiki.lxde.org/en/LXDE:Questions#What_about_the_Play.2C_Stop.2C_Previous_and_Next_buttons.3F提供的解决方案无效。
修改~/.config/openbox/lubuntu-rc.xml
(可以从/etc/xdg/openbox/rc.xml
复制)
在
元素内添加以下内容以支持Clementine(或等效于支持其他音乐播放器):
clementine --play-pause clementine --stop clementine --next clementine --previous
并运行openbox --reconfigure
以重新加载配置文件。
基于http://wiki.lxde.org/en/LXDE:Questions#What_about_the_Play.2C_Stop.2C_Previous_and_Next_buttons.3F和http://forum.lxde.org/viewtopic.php?f=8&t=1183