解决 (emacs23:4451): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap"

本文详细介绍了如何解决Ubuntu系统中使用Emacs23时出现的GTK主题错误问题,通过安装gtk2-engines-pixbuf包来解决终端提示的无法定位主题引擎错误,并提供了完整的安装步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

使用的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

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.


完整安装:

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






评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值