首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > lunar-applet

lunar-applet

  • 资源大小:2.92 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

lunar-applet displays the Chinese lunar calendar and the current date and time as an applet for the GNOME panel. It is based on the GNOME Clock Applet and may be used as a drop-in replacement. 注:本项目已停止,后续开发及维护请关注http://liblunar.googlecode.com FAQ 1. 如何实现gnome-panel中的clock日历小部件显示农历? 首先安装http://liblunar-gtk.googlecode.com项目的liblunar和liblunar-gtk的最新版本。 然后编辑文件/etc/X11/xinit/xinitrc.d/99-liblunar-preload, 在其中设置环境变量LD_PRELOAD环境变量,并加上可执行权限,然后重新登录(重启X)。文件内容如下: $ cat /etc/X11/xinit/xinitrc.d/99-liblunar-preload #!/bin/shLD_PRELOAD="/usr/lib/liblunar-gtk-preload.so"export LD_PRELOAD$ chmod +x /etc/X11/xinit/xinitrc.d/99-liblunar-preload 这将使得所有基于GtkCalendar的程序在运行时自动使用LunarCalendar显示农历日期,达到运行时切换。运行效果见后面截图。 2. 如果不想使用LD\_PRELOAD环境变量,如何修改现
VIP VIP
0.174161s