Posts tagged with "Linux"
略看 GTK+ 2.9.0
Saturday, May 6, 2006 10:07:07 AM
看了看它Changlog,最令我兴奋的就是终于开始添加libegg中的东西了,
前段时间在看gtk+ 2.10的计划时曾看到说过要逐步添加libegg中的扩展功能的,这下终于如愿了
不过这次最大的更新可能就算这几个了:
* GtkStatusIcon, a cross-platform "tray icon" API
* GtkNotebook supports DND, allowing to reorder tabs, move tabs
between notebooks and drop tabs on the desktop to open a new window
* GtkTreeView:
- Enhanced customizability (e.g. grouping) with the
show-expanders and level-indentation properties
- Allow to embed the search popup
- Better search popup positioning
曾经在邮件列表里看到有开发者说要加入TreeView的tooltip的功能也没见添加,
估计还要过一段时间
还有就是关于GtkIconView控件的效率问题也没见有解决!
原文在这里:
http://mail.gnome.org/archives/gnome-announce-list/2006-May/msg00011.html
阅:麒麟操作系统内核同其他操作系统内核的相似性分析
Saturday, April 29, 2006 11:17:23 AM
可是这位仁兄实在是太强了,竟然列出这个详细的分析,真是佩服(不知道是不是跟那些开发者有什么过节?
)感觉中国的人才真是大有人在,可是国家不懂的用……
其实操作系统干嘛一定非得要什么“自主知识产权”呢,你跟本就没什么积累就知道瞎弄
有那点时间还不如好好为开源做些贡献呢,好好看看中国现在的开源现状吧!!
麒麟操作系统内核同其他操作系统内核的相似性分析
Copyright (c) 2006 Dancefire (dancefire#gmail).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".
作者:Dancefire (dancefire # gmail dot com )
( PDF格式及分析所用脚本程序下载连接:http://www.dancefire.org/file/kernel_similarity_analysis_1.0.zip )
原始链接:http://www.dancefire.org/article/Kernel_Similarity_Analysis.html
Track with co.mments 彻底解决vsftp+虚拟用户的一切问题
Friday, April 28, 2006 5:45:43 PM
后来仔细想想可能是pam安装不的正确,于是重新安装pam想不到现在blfs svn里的pam已经是0.99.3.0了。
下载安装,这个倒是没费什么力气,都是按照blfs book里的步骤来的。
安装完成后我在祈祷着成功,可是还是老样子,于是抱头痛哭,哭完看系统日志显示:
vsftpd: PAM [error: /lib/security/pam_userdb.so: undefined symbol: dbm_firstkey]
于是google……,跑到了gentoo的官方论坛,他们说pam,db,vsftpd按顺序重新emerge,对lfs来说就是重新再安装了
可是安装完成后仍然是老样子,也没什么心情研究人家的ebuild file还是想找找具体原因。
最后才明白pam_userdb的ldd应该是这个样子:
ldd /lib/security/pam_userdb.so linux-gate.so.1 => (0xffffe000) libpam.so.0 => /lib/libpam.so.0 (0xb7e52000) libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7e24000) libc.so.6 => /lib/libc.so.6 (0xb7cf0000) libdl.so.2 => /lib/libdl.so.2 (0xb7cec000) /lib/ld-linux.so.2 (0x80000000)
而我的却是跟db的动态连接,应该问题就在这里,我真的是不想在重新编译pam了,想想反正就是个pam_userdb.so文件不如到rpmfind随便找个替代好了。
结果我成功了:D,虚拟用户终于可以登录了,下面就是定位各个虚拟用户的目录了,我以为这些都没什么复杂的,在说配置文件都是以前写好的,直接copy就好了。
可是后来我又要哭了,这次用户名密码都验证成功它却给我这个提示:
Login failed: 500 OOPS: cannot change directory:****
现在看到这个就觉得恶心,我是这样解决的,在虚拟用户的文件里添加这些:
user_sub_token=$USER local_root=/****/*****/……/$USER
手册中是这样说的(早知道真该好好看看手册):
user_sub_token
This option is useful is conjunction with virtual users. It is used to automatically generate a home directory for each virtual user, based on a template. For example, if the home directory of the real user specified via guest_username is /home/virtual/$USER, and user_sub_token is set to $USER, then when virtual user fred logs in, he will end up (usually chroot()'ed) in the directory /home/virtual/fred. This option also takes affect if local_root contains user_sub_token.
Track with co.mments
Using Beyond linux kernel 2.6.16
Saturday, April 15, 2006 3:35:11 PM
我的却还是2.6.9地,也不是不想换,可是新内核基本没什么大的更新
而且性能也有所降低
参考这里:
http://kernel-perf.sourceforge.net
他的测试表明现在2.6.1*版的内核性能都没2.6.9好。
下午看到有这样一个补丁集:
http://iphitus.loudas.com/beyond.php
其中集成了著名的ck×、Fbsplash[Bootsplash]、vesafb-tng, reiser4, unionfs, squashfs、、、、
真是诱人,不装一下真是对不起自己眼睛(顺便捞了几张Wallpapers:pirate: )
半个小时,用上了新内核,倒是没感觉速度有所降低
特别是alsa跟那个要钱的oss的驱动都差不多了……
有个问题,刚刚装完内核后nv 7174的驱动装不上了(tnt2的显卡)
查了一下,好像2.6.14以上的内核编译这个都会出问题,最后用了下面两个补丁ok!
http://my.opera.com/yunt/homes/patch/NVIDIA_kernel-1.0-7174-1296092.diff
http://my.opera.com/yunt/homes/patch/nv-legacy-linux-2.6.16.patch
Friends (6)
Latest comments
-

anonymous
Анонімний writes: All people deserve good life time and loa ...
-

anonymous
Анонімний writes: I received my first business loans when I ...
-

anonymous
Анонімний writes: I received my first credit loans when I w ...
-

anonymous
Анонімний writes: One admits that our life seems to be expe ...
-

anonymous
Анонимно writes: Set your life time more easy get the perso ...
-

anonymous
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
| ||||||
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | |||
Tags
My works
- 常用正则表达式
- 在线查词(use python)
- urxvt 使用技巧
-
最棒的Vim 技巧翻译
原文在这里:http://www.rayninfo.co.uk/vimtips.html







