2011年5月3日 星期二

[Archlinux] Upgrade to Gnome3 (some troubleshooting)

放完假回來,Gnome3就進了Archlinux的Extra了,心臟放大顆,馬上就給他更新下去,然後......就GG了.......

1. Get「Fail to load gnome session」message and can't login:
I use notify-osd-bzr instead of notification-daemon,but gnome3 needs notification-daemon and notification-daemon conflict with notify-osd-bzr.
[Solution]
Remove notify-osd-bzr and install notification-daemon.

2. Gcin can' work well in gtk3 application:
[Solution]
Modify gcin-1.6.1/gtk3-im/Makefile and rebuild gcin.
diff -aur old/gtk3-im/Makefile new/gtk3-im/Makefile
--- old/gtk3-im/Makefile 2011-05-02 23:37:16.083328063 +0800
+++ new/gtk3-im/Makefile 2011-05-02 23:37:28.503327904 +0800
@@ -1,7 +1,7 @@
include ../config.mak

OBJS = imgcin.o gtkimcontextgcin.o
-GTK3IM=gtk-3.0/immodules
+GTK3IM=gtk-3.0/3.0.0/immodules
GTKINC=`pkg-config --cflags gtk+-3.0`
LDFLAGS=`pkg-config --libs gtk+-3.0`
IMMODULES=$(libdir)/$(GTK3IM)

After install gcin, do the following command(needs root permission):
i686
# gtk-query-immodules-3.0 > /usr/lib/gtk-3.0/3.0.0/immodules.cache
X86_64
# gtk-query-immodules-3.0-64 > /usr/lib64/gtk-3.0/3.0.0/immodules.cache
Here is the package, gcin-1.6.1-1-i686.pkg.tar.xz

2011/05/25 Update...
gcin-1.6.1-1 from [extra] already fix this problem.

黑眼珠2 - gnome 3
黑眼珠2 - gnome 3 中使用中文輸入