使用的LInux OS是ubuntu
shawn@shawn-ThinkPad-T410:~$ uname -a
Linux shawn-ThinkPad-T410 3.0.0-15-generic-pae #26-Ubuntu SMP Fri Jan 20 17:07:31 UTC 2012 i686 i686 i386 GNU/Linux
安装了emacs23
shawn@shawn-ThinkPad-T410:~$ sudo apt-get install emacs23
运行 emacs23
shawn@shawn-ThinkPad-T410:~$ emacs23
提示warning
shawn@shawn-ThinkPad-T410:~$ emacs23
(emacs23:4451): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(emacs23:4451): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(emacs23:4451): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(emacs23:4451): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(emacs23:4451): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(emacs23:4451): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(emacs23:4451): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
(emacs23:4451): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
这是ubuntu的一个bug,已经解决了,见
https://bugs.launchpad.net/ubuntu/+source/light-themes/+bug/762167
bug的描述:Binary package hint: light-themes
Selecting Ambiance/Radiance as GTK2 theme without having gtk2-engines-pixbuf installed results in
Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
messages in the terminal and an error in gnome-appearance-properties.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: light-themes 0.1.8.12
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Fri Apr 15 22:41:46 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110413)
PackageArchitecture: all
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: light-themes
UpgradeStatus: No upgrade log present (probably fresh install)
解决办法是(见黑体文字):
actionparsnip (andrew-woodhead666) wrote on 2011-09-21: | #3 |
完整安装:
shawn@shawn-ThinkPad-T410:~$ sudo apt-get install emacs23
shawn@shawn-ThinkPad-T410:~$ sudo apt-get install gtk2-engines-pixbuf
还有另一个地方也给出了这个问题的解决办法:
Solving Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap"
http://yoodey.com/solving-gtk-warning-unable-locate-theme-engine-modulepath-pixmapcom/solving-gtk-warning-unable-locate-theme-engine-modulepath-pixmap
If you run:
sudo apt-get install gtk2-engines-pixbuf
Then retry, it is smooth. I suggest you add this as a dep so it gets automagically installed.