Skip to content

Instantly share code, notes, and snippets.

@Sciroccogti
Last active May 29, 2020 01:51
Show Gist options
  • Save Sciroccogti/1943daf78313f5e18a7cd4fda1af8eb1 to your computer and use it in GitHub Desktop.
Save Sciroccogti/1943daf78313f5e18a7cd4fda1af8eb1 to your computer and use it in GitHub Desktop.
VLC 自定义界面(工具栏编辑器)

VLC 定制界面的配置文件位于

  • Windows%APPDATA%/vlc/vlc-qt-interface.ini
  • Ubuntu~/.config/vlc/vlc-qt-interface.conf(仅支持 apt 安装的 VLC)

用编辑器打开该配置文件,会看到如下格式:

[General]
geometry="..."
...

[FullScreen]
...

我们找到 [ToolbarProfiles] 一项,内容为:

[ToolbarProfiles]
1\ProfileName=VLC 2.x.x Style
1\Value="0|64;39;64;38;65;|0-2;64;3;1;4;64;7;9;64;10;20;19;64-4;37;65;35-4;|12;11;13;14;|43;33-4;44;|0-2;64;3;1;4;64;37;64;38;64;8;65;25;35-4;34;"
2\ProfileName=VLC 1.1.x Style
2\Value="0|64;39;64;38;65;|0-2;64;3;1;4;64;7;10;9;64-4;20;19;64-4;37;65;35-4;|12;11;13;14;|5-1;33;6-1;|0-2;64;3;1;4;64;37;64;38;64;8;65;25;35-4;34;"
3\ProfileName=VLC 0.8.x Style
3\Value="1|64;39-1;64;38;|2-1;32-4;0-5;1-5;32-5;3-5;5-5;6-5;4-5;32-5;10-1;64-1;35-1;65;|12-1;11-1;13-1;14-1;|33;37-4;|0-5;1-5;32-1;1-5;5-1;6-1;4-5;32-1;12-5;11-1;65;34-4;35-1;"
4\ProfileName=Minimalist Style
4\Value="0|64;65;|0-7;64;3-1;1-5;4-1;64;12-5;64-5;37-5;38-5;64-4;10-1;65;36-4;|11-5;13-5;14-5;|5-1;33;6-1;|0-5;64;3-5;1-5;4-5;64;12-5;65;34-4;35-1;"
5\ProfileName=One-Liner Style
5\Value="0|64;38;65;|0-4;64;3;1;4;64;7;10;9;64-4;39;64-4;37;65;36-4;|12;11;14;13;|5-1;33;6-1;|0-2;64;3;1;4;64;37;64;38;64;8;65;25;35-4;34;"
6\ProfileName=Simplest Style
6\Value="0||36-4;65-4;0-7;4-5;1-5;65-4;7-5;|12-4;11;13;||36-4;65-4;0-5;4-5;1-5;65;8-5;"
size=7

其中,size=7 意为只有7个配置会被显示在选项中。 因此,要想添加自定义的配置,必须使这个配置的编号小于等于7。

size=7 后添加如下内容

7\ProfileName=Sciroccogti
7\Value="0||10-5;9-5;19-5;20-5;65-5;3-5;0-6;4-5;65;39-4;64-4;36-4;7-5;|12-5;11-5;13-5;14-5;|34-5;33-5;42-4;21-5;|25-5;65-4;3-5;0-6;4-5;65-5;8-5;"

重启 VLC,你就能在 自定义界面 中看到 Sciroccogti 这一项配置。

@Sciroccogti
Copy link
Author

如果没有[ToolbarProfiles]这一项,可能是从未进入过 VLC 的 自定义界面,只要进入一次,文件中就会出现这一项。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment