|
发表于 2009-10-2 23:42:18
|
显示全部楼层
新版本2.2.4发布,请使用以下命令安装:
yaourt -S liblunar
yaourt -S liblunar-gtk
然后编辑文件/etc/X11/xinit/xinitrc.d/99-liblunar-preload, 在其中设置环境变量LD_PRELOAD环境变量,并加上可执行权限。
$ cat /etc/X11/xinit/xinitrc.d/99-liblunar-preload
#!/bin/sh
LD_PRELOAD="/usr/lib/liblunar-gtk-preload.so"
export LD_PRELOAD
$ chmod +x /etc/X11/xinit/xinitrc.d/99-liblunar-preload
这将使得所有基于GtkCalendar的程序在运行时自动使用LunarCalendar显示农历日期,达到运行时切换。 |
|