解决Docky无法启动

     今天开机发现Docky没有自动加载,通过手动点击运行,也没反应,而且也无任何报错信息,一下子还真不知道怎么解决,后面试着在命令中行运行 docky,发现以下错误:

[Info  13:40:36.899] Docky version: 2.1.4 Release

[Info  13:40:36.903] Kernel version: 3.5.0.17

[Info  13:40:36.904] CLR version: 4.0.30319.1

[Info  13:40:37.107] [ThemeService] Setting theme: Matte

[Warn  13:40:37.128] [DesktopItemService] Could not find remap file '/home/test/.local/share/docky/remaps.ini'!

[Info  13:40:37.245] [DockServices] Dock services initialized.

Add-in could not be loaded: Invalid data

System.Xml.XmlException: Invalid data ---> System.Text.DecoderFallbackException: Exception of type 'System.Text.DecoderFallbackException' was thrown.

  at System.Text.DecoderExceptionFallbackBuffer.Fallback (System.Byte[] bytesUnknown, Int32 index) [0x00000] in <filename unknown>:0 

  at System.Text.UTF8Encoding.Fallback (System.Object provider, System.Text.DecoderFallbackBuffer& buffer, System.Byte[]& bufferArg, System.Byte* bytes, Int64 byteIndex, UInt32 size, System.Char* chars, System.Int32& charIndex) [0x00000] in <filename unknown>:0 

 

 从错误信息中可以发现两行信息:
         [Warn  13:40:37.128] [DesktopItemService] Could not find remap file '/home/test/.local/share/docky/remaps.ini'!

[Info  13:40:37.245] [DockServices] Dock services initialized.

Add-in could not be loaded: Invalid data

 

原来是不能找到映射文件,从而插件无法加载,才导致无法启动,所以果断把~/.local/share/docky/plugins 目录干掉,重新运行,Ok了。

 

有时在图形界面下无法运行某软件,而且也不能获取具体错误信息时,不妨在命令行模式下运行,也许就会有相应的报错信息,有了错误信息就好寻找解决方案了,否则真有点让人束手无策。

猜你喜欢

转载自persevere.iteye.com/blog/1702163