Kuye 发表于 2002-12-17 23:38:00

刚知道怎么改 GNOME 的 metacity 窗口管理器主题。。。

不知道是不是旧文了:

不知道为什么,emerge 到的 metacity-themes 在 GNOME 控制面版的主题里居然找不到。。。
打开菜单“应用程序” -> “系统工具” -> “配置编辑器”,或者直接运行 gconf-ediitor
修改 “app” -> “metacity” -> “general” -> “Theme”键值就可以了,里面的内容是 /usr/share/themes 里的主题名

而 GNOME 的键值应该是在“desktop” -> “gnome” -> “interface” 里的 gtk_theme 和 icon_theme。

配置编辑器感觉很像 Windows 的注册表编辑器的说 ;)

Kuye 发表于 2002-12-18 00:23:58

无法理解。。。。

刚刚从 raink 给的网址 - art.gnome.org 上下了一套不错的主题 H2O-gtk2,解压缩到 /usr/share/themes 下后,在 GNOME 的 Theme Preference 里已经出现了那个主题,可就是不能用。。。
提示:(gnome-theme-properties:1767): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

还请有经验的兄弟帮忙。 :)

黑企鹅 发表于 2002-12-18 00:29:20

like debian

你需要装gtk engines pixmap,

[root:root>>apt-cache show gtk-engines-pixmap
Package: gtk-engines-pixmap
Priority: optional
Section: graphics
Installed-Size: 812
Maintainer: Ed Boraas <[email protected]>
Architecture: i386
Source: gtk-engines
Version: 0.12-8
Depends: gdk-imlib1, libc6 (>= 2.2.5-13), libglib1.2 (>= 1.2.0), libgtk1.2 (>= 1.2.10-4), xlibs (>> 4.1.0)
Suggests: gtk2-engines-pixbuf
Filename: pool/main/g/gtk-engines/gtk-engines-pixmap_0.12-8_i386.deb
Size: 477556
MD5sum: bcf158aa9cbef13b32ba3086229cf1ee
Description: Pixmap-based theme for GTK+ 1.2
This package contains a pixmap-based 'theme' that allows you to configure
the look of GTK-using programs. The programs need no
modifications to use themes; the support is built into GTK+.

这样玩gentoo: 后进到安装阶段.:)
[root:root>>chroot /mnt/gentoo-root/
[debian:/>#uname -a
Linux debian 2.4.20 #3 五 12月 13 17:14:51 CST 2002 i686   GNU/Linux
[debian:/>#ls /usr/portage/x11-themes/
commonbox-styles      gtk-engines-icegradient   gtk-theme-switch
commonbox-styles-extragtk-engines-lighthouseblueikons
conectiva-crystal       gtk-engines-mac2            ksplash-ml-themes
fvwm_icons            gtk-engines-metal         licq-themes
fvwm_sounds             gtk-engines-mgicchikn       metacity-themes
gdm-themes            gtk-engines-mist            mosfet-liquid-widgets
gnome-icon-theme      gtk-engines-notif         nautilus-themes
gnome-themes            gtk-engines-pixbuf          noia
gtk-engines-begtk       gtk-engines-pixmap          psi-themes
gtk-engines-cleanice    gtk-engines-raleigh         qinx
gtk-engines-crux      gtk-engines-redmond95       redhat-artwork
gtk-engines-eazel       gtk-engines-thinice         sawfish-themes
gtk-engines-flat      gtk-engines-xenophilia      sylpheed-iconset
gtk-engines-geramik   gtk-engines-xfce            xmms-themes
gtk-engines-gtkstep   gtk-themes

[debian:/>#emerge search gtk-engines-pixmap
Searching...   
[ Results for search key : gtk-engines-pixmap ]
[ Applications found : 1 ]

*x11-themes/gtk-engines-pixmap
      Latest version available: 0.12
      Latest version installed: 0.12
      Homepage: http://www.gnome.org/
      Description: Pixmap-based theme engine for GTK+

[debian:/>#exit
exit
[root:root>>uname -a
Linux debian 2.4.20 #3 五 12月 13 17:14:51 CST 2002 i686 unknown unknown GNU/Linux[root:root>>



记住了这是一条理由.

Kuye 发表于 2002-12-18 01:07:13

Coool 啊!!!! 黑企鹅大哥真不愧是技术部部长!!!
不出手则已,一出手就不凡!!!

非常非常感谢 :D

再问问:那岂不是每次每下载一个新主题,都要下载它的 gtk engines?
我现在在用 Crux 的主题,还需要 emerge 一份 gtk-engines-crux。。。
似乎这样比 KDE 麻烦了一点,呵呵 :)
等一下还要去找一份 H2O 的 engines。。。这个 emerge 不到。。。

Kuye 发表于 2002-12-18 01:26:37

好了好了,换了一个和整体效果差不多,而且不需要那个 gtk“引擎”的主题。

现在我的 GNOME 效果和 KDE 的那种效果差不多了,发张图炫耀一下:P

黑企鹅 发表于 2002-12-18 02:00:40


刚刚从 raink 给的网址 - art.gnome.org 上下了一套不错的主题 H2O-gtk2,解压缩到 /usr/share/themes 下后,在 GNOME 的 Theme Preference 里已经出现了那个主题,可就是不能用。。。
提示:(gnome-theme-properties:1767): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

再问问:那岂不是每次每下载一个新主题,都要下载它的 gtk engines?
我现在在用 Crux 的主题,还需要 emerge 一份 gtk-engines-crux。。。
似乎这样比 KDE 麻烦了一点,呵呵 :)
等一下还要去找一份 H2O 的 engines。。。这个 emerge 不到。。。

既然是pixmap的问题,你装了gtk-engines-pixmap, H2O就可用啦.!!

show:
http://211.95.164.51/scnshot.html

Kuye 发表于 2002-12-18 03:33:52

呵!!!walte 的桌面好炫,哪个主题?分享一下!!! :D

我刚才是少了一个 libbluecurve.so ,后来在 rpmseek 上找到这个文件在 redhat-artworks 包了,可我又没装 KDE, redhat-artwork 编译不过去,所以就下了一个已经编译好的 rpm包,然后用 rpm2targz 解压缩开了,在 cp 到 /usr/lib/gtk-2.0/2.0.102/engines 就好了 :)

我顺道也把 redhat 8 的桌面主题给装上去了,嘻嘻 :P
最后再请教一下黑企鹅大哥,可不可以把 metacity 的标题条弄宽一点,感觉太窄了 :(

Kuye 发表于 2002-12-18 08:10:01

推荐两个小工具:
/x11-themes/gtk-theme-switch/gtk-theme-switch-2.0.0_rc2.ebuild
/x11-themes/gtk-theme-switch/gtk-theme-switch-1.0.1.ebuild

这两个是直接切换 gtk 程序主题的,一个是 for gtk2 一个是 gtk1,我感觉不错。:)
直接 emerge 就可以了

coolove 发表于 2002-12-18 20:57:09

哈,pchome的chaos也来我们公社irc了,呵呵,高手阿
页: [1]
查看完整版本: 刚知道怎么改 GNOME 的 metacity 窗口管理器主题。。。