Moc:修订间差异
来自Ubuntu中文
跳到导航跳到搜索
新页面: =Moc音频服务程序= ==简介== 软件名:MOC([http://moc.daper.net/ 主页]) 描述文件: apt-cache search --names-only moc | grep "audio" 安装: sudo apt-get install ... |
|||
第32行: | 第32行: | ||
# Turn on repeat. | # Turn on repeat. | ||
Repeat = yes | Repeat = yes | ||
# Turn on AutoNext | # Turn on AutoNext | ||
AutoNext = yes | AutoNext = yes |
2007年11月8日 (四) 19:09的版本
Moc音频服务程序
简介
软件名:MOC(主页)
描述文件:
apt-cache search --names-only moc | grep "audio"
安装:
sudo apt-get install moc moc-ffmpeg-plugin
帮助文件:
mocp -h
使用及按键
我用Freemind做了个按键分部图,一目了然,暂不作补充:
[点击查看]
配置
Mocp的config文件,默认是不在个人家目录建立的,需要从下面的目录复制、解压并改名:
cp /usr/share/doc/moc/examples/config.example.gz ~/.moc/ gunzip ~/.moc/config.example.gz -C ~/.moc/ mv ~/.moc/{config.example,config}
常用配置示例如下:
# This can also point to a playlist. MusicDir = "~/Music" # How to sort? FileName is the only option for now(暂行版本中只支持安名字排列) Sort = FileName # # Turn on repeat. Repeat = yes # Turn on AutoNext AutoNext = yes # Default FormatString (界面中显示格式) # %n - Track number # %a - Artist # %A - Album # %t - Title # %(X:TRUE:FALSE) - ternary expression - if X exists, do TRUE, otherwaise # FALSE. '\' - escape character (must be double, because of # config interpreter). man zshmisc for more info. FormatString = "%(n:%n :)%(a:%a - :)%(t:%t:)%(A: \(%A\):)" SoundDriver = OSS, ALSA, JACK #建议使用oss # Hide file name extensions(是否隐藏文件扩展名) HideFileExtension = no # Theme file. This can be absolute path or relative to # /usr/share/moc/themes/ (depends on installation prefix) or ~/.moc/themes/ Theme = black_theme #(界面主题,style & color etc.) # Choose a keymap file (relative to ~/.moc/ or absolute path) # Example keymap with description is included (keymap.example). #Keymap = my_keymap