Pinta 绘画程序从软件中心安装,但不能从启动器图标加载,也不能从应用程序文件夹图标或终端加载。
我在一台 Intel Atom 双核机器上运行 Ubuntu 12.04,该机器有 2GB RAM 和 Nvidia Ion 显卡,使用 Nvidia 驱动程序。
输出pinta
:
Unhandled Exception: System.ArgumentException: 'gtk-close' is not a valid resource name of assembly 'Pinta.Resources, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null'.
at Gdk.PixbufLoader.InitFromAssemblyResource (System.Reflection.Assembly assembly, System.String resource) [0x00000] in <filename unknown>:0
at Gdk.PixbufLoader..ctor (System.Reflection.Assembly assembly, System.String resource) [0x00000] in <filename unknown>:0
at Gdk.Pixbuf..ctor (System.Reflection.Assembly assembly, System.String resource) [0x00000] in <filename unknown>:0
at Gdk.Pixbuf.LoadFromResource (System.String resource) [0x00000] in <filename unknown>:0
at Pinta.Resources.ResourceLoader.GetIcon (System.String name, Int32 size) [0x00000] in <filename unknown>:0
at Pinta.ResourceManager.GetIcon (System.String name, Int32 size) [0x00000] in <filename unknown>:0
at Pinta.ResourceManager.GetIcon (System.String name) [0x00000] in <filename unknown>:0
at Pinta.Gui.Widgets.OpenImagesListWidget..ctor () [0x00000] in <filename unknown>:0
at Pinta.OpenImagesPad.Initialize (MonoDevelop.Components.Docking.DockFrame workspace, Gtk.Menu padMenu) [0x00000] in <filename unknown>:0
at Pinta.MainWindow.CreateDockAndPads (Gtk.HBox container) [0x00000] in <filename unknown>:0
at Pinta.MainWindow.CreatePanels (Pinta.WindowShell shell) [0x00000] in <filename unknown>:0
at Pinta.MainWindow.CreateWindow () [0x00000] in <filename unknown>:0
at Pinta.MainWindow..ctor () [0x00000] in <filename unknown>:0
at Pinta.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: 'gtk-close' is not a valid resource name of assembly 'Pinta.Resources, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null'.
at Gdk.PixbufLoader.InitFromAssemblyResource (System.Reflection.Assembly assembly, System.String resource) [0x00000] in <filename unknown>:0
at Gdk.PixbufLoader..ctor (System.Reflection.Assembly assembly, System.String resource) [0x00000] in <filename unknown>:0
at Gdk.Pixbuf..ctor (System.Reflection.Assembly assembly, System.String resource) [0x00000] in <filename unknown>:0
at Gdk.Pixbuf.LoadFromResource (System.String resource) [0x00000] in <filename unknown>:0
at Pinta.Resources.ResourceLoader.GetIcon (System.String name, Int32 size) [0x00000] in <filename unknown>:0
at Pinta.ResourceManager.GetIcon (System.String name, Int32 size) [0x00000] in <filename unknown>:0
at Pinta.ResourceManager.GetIcon (System.String name) [0x00000] in <filename unknown>:0
at Pinta.Gui.Widgets.OpenImagesListWidget..ctor () [0x00000] in <filename unknown>:0
at Pinta.OpenImagesPad.Initialize (MonoDevelop.Components.Docking.DockFrame workspace, Gtk.Menu padMenu) [0x00000] in <filename unknown>:0
at Pinta.MainWindow.CreateDockAndPads (Gtk.HBox container) [0x00000] in <filename unknown>:0
at Pinta.MainWindow.CreatePanels (Pinta.WindowShell shell) [0x00000] in <filename unknown>:0
at Pinta.MainWindow.CreateWindow () [0x00000] in <filename unknown>:0
at Pinta.MainWindow..ctor () [0x00000] in <filename unknown>:0
at Pinta.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0
答案1
我通过安装解决了这个问题gnome-icon-theme-full
。
sudo apt-get install gnome-icon-theme-full