解决Ubuntu18.04下VLC打不开的问题

问题描述如下:

$ vlc 
VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)

(vlc:15997): Gtk-WARNING **: 06:54:54.514: Theme parsing error: gtk.css:2281:23: Expected a valid selector

(vlc:15997): Gtk-WARNING **: 06:54:54.525: Theme parsing error: gtk.css:11535:3: '/*' in comment block

(vlc:15997): Gtk-WARNING **: 06:54:54.525: Theme parsing error: gtk.css:11641:2: '/*' in comment block
[00005650d5ba1400] skins2 interface error: unable to attach stream_directory, treat as XML!
[00005650d5ba1400] skins2 interface error: no XML found in theme /home/savalen/Pictures/Wallpapers/desktop.jpg
[00007efcdcc467f0] xml xml reader error: XML parser error (line 1) : Document is empty

[00005650d5ba1400] skins2 interface error: no skins found : exiting
[00005650d5abe4f0] main playlist: playlist is empty

解决办法是将家目录下`.config`目录下的`vlc`文件夹删除

cd ~/.config && rm -rf vlc 

然后再次使用命令,发现可以打开了解决Ubuntu18.04下VLC打不开的问题_第1张图片

如果以上不行的话,再到删除`/usr/share/vlc/skins2/homeplayer.vlt`,并将default.vlt重命名为`homeplayer.vlt` ,"`"这个符号不用写

你可能感兴趣的:(Linux)