[FZH] How to weak certain CJK fonts under zh_CN locale
by wheelz
I installed YaHei fonts in Fedora 15, which are the only CJK fonts.
When LANG=en_US.utf8, fc-match monospace returns "DejaVu Sans Mono",
which are the default mono fonts. When LANG=zh_CN.utf8, fc-match monospace
returns "Microsoft YaHei"。I don't want this result, because ASCII
characters are not fixed width in YaHei and my desktop seems very ugly
at many places. Although I am able to adjust fonts to these places
separately, I think add a file to /etc/fonts/conf.d is more effective.
I read fontconfig man pages, which says that
font family names are split into two bindings; strong and weak. Strong
family names are given greater precedence in the match than lang
elements while weak family names are given lower precedence than lang
elements.
But it doesn't say how to set such weak bindings. I need some help, thanks.
11 years, 11 months
[FZH] gnome3花屏,晕死了!
by 好大一只鸟
我的显卡是ATI HD
5770的,fedora14的时候gnome2不花屏,现在fedora15用gnome3当桌面竟然花屏,我换了kde当桌面就不花屏,看来gnome3还是不给力呀!
12 years
[FZH] 使用 OpenPGP Card
by microcai
hi:
我有2台电脑. 但是我不想在公司的电脑上存储 GPG 私钥. 这样不安全.
但是我又必须使用 GPG 来保护我的隐私.
我用 GPG 加密重要文件, 用 GPG 进行邮件通信.
怎么办?
只能使用 OpenGPG card 了. 使用智能卡, 只要我把卡片带着就行了.
于是我开始找能在 Linux 下用的智能卡读卡器, 主要是 ccid 支持的读卡器, 同
时国内还买的到的. 我找到了 Omnikey 6121. 淘宝有卖, 140.
接着是寻找一个智能卡了.
我现在是找了一个 64k 存储空间, 支持 iso7816 规范的 IC 卡, 5快钱一张. 明
天到货. 现在不知道能不能用呢!! 忐忑中.
然后是 gpg 的配置. 主要是要添加 smardcard USE flag 重新编译 gnupg.
然后是把自己添加到 pcscd 组.
... 明天拿到卡了我继续测试.
12 years, 1 month
[FZH] Fedora 15 启动速度降低
by Hexchain Tong
Hi all,
最近明显感觉到系统启动速度变慢了,表现在启动某个程序时卡住很久才继续。几
天前又听说某 3u 在普通硬盘上过了 grub 后可以 3 秒启动,更加不甘心(=
=|||),于是上网搜索了一下找到了一些分析命令。
$ systemd-analyze time
Startup finished in 2594ms (kernel) + 1812ms (initrd) + 33264ms
(userspace) = 37671ms
$ systemd-analyze blame
11872ms udev-settle.service
8019ms bootchart.service
6769ms systemd-vconsole-setup.service
4360ms media.mount
4138ms systemd-binfmt.service
4120ms udev.service
3886ms systemd-remount-api-vfs.service
3884ms remount-rootfs.service
3445ms systemd-sysctl.service
3343ms fedora-readonly.service
2968ms cups.service
1495ms sendmail.service
1307ms fedora-sysinit-hack.service
633ms udev-trigger.service
587ms fedora-storage-init.service
549ms sandbox.service
533ms vboxdrv.service
469ms hwclock-load.service
373ms systemd-readahead-replay.service
366ms systemd-readahead-collect.service
266ms dkms_autoinstaller.service
232ms rpcidmapd.service
219ms hddtemp.service
216ms nfslock.service
191ms NetworkManager.service
187ms rsyslog.service
174ms rpcgssd.service
172ms bluetooth.service
171ms ip6tables.service
166ms netfs.service
160ms sshd.service
149ms avahi-daemon.service
142ms console-kit-log-system-start.service
141ms fedora-sysinit-unhack.service
134ms portreserve.service
122ms cpuspeed.service
118ms auditd.service
96ms iptables.service
93ms systemd-tmpfiles-setup.service
89ms acpid.service
76ms mcelog.service
74ms gpm.service
70ms mdmonitor.service
69ms irqbalance.service
59ms console-kit-daemon.service
44ms rpcbind.service
43ms dbus.service
42ms pcscd.service
26ms rc-local.service
24ms fedora-wait-storage.service
24ms fedora-autoswap.service
23ms vboxballoonctrl-service.service
22ms vboxweb-service.service
18ms fedora-storage-init-late.service
17ms proc-sys-fs-binfmt_misc.mount
16ms smolt.service
15ms home.mount
12ms systemd-user-sessions.service
4ms accounts-daemon.service
2ms rtkit-daemon.service
1ms dev-hugepages.mount
1ms sys-kernel-security.mount
1ms sys-kernel-debug.mount
1ms dev-mqueue.mount
$ systemd-analyze plot > systemd.svg
图片见[1]
由于我对系统了解不深,十分不能理解某些输出结果,所以恳请大牛帮忙分析一
下,谢谢!
[1] https://hexchain.org/pub/tmp/systemd.svg
--
Hexchain Tong
12 years, 1 month
[FZH] 缩放窗口大小终于方便多了 - Mutter 3.1.90
by Yu Chen
Extend the draggable portion of window borders outside the visible frame
for easy resizing with thin borders. (New draggable_border_width GConf key
controls the total width of visible and invisible borders.)
Yu
12 years, 1 month
[FZH] 大家都用Fedora做什么
by Hui Li
如题。当然,我知道大家都用Fedora,但是有没有人用Fedora做过些什么呢?而不仅仅是常规使用。比如,做生产系统(可能的!),开发平台,等等。我先说说我使用的情况吧。
我使用Fedora做过生产系统,基本上就是一个Base组加上必备的服务器软件。服务跑过DNS(BIND),Web(Apache),LDAP(OpenLDAP),NFS等等。也做过一个HPC的集群,20个节点,80个core的。用户目录的存储用的是autofs+LDAP,底层文件系统用XFS,验证系统是Kerberos,数据存储使用OpenAFS。因为OpenAFS用的是IBM
Public License,与Fedora的相冲突,很不幸,这么一个好的东东的repo在RPMFusion上,不过工作的还不错。存数网络用iSCSI和AoE,Fedora似乎不太关心AoE这个协议,虽然提供了相关的target和initiator但是根本没法用,initiator根本解不开target传来的包,只能用最新的源代码编出来的二进制包。另外,这个问题在Fedora
15也存在,悲催。再说一句,调度系统用的是OGS。
自我感觉,Fedora提供的服务软件工作得非常不错,只有少数几个软件的配置文件是不太合理(个人之见,比如OpenLDAP)。软件包很丰富,版本更新也还算及时。这点还是比较爽的。
大家还有什么好玩的经验,学习一下~
Hui
12 years, 1 month
[FZH] 滚动升级容易带来强迫症
by microcai
为什么呢?
我们先来讨论一下商纣王的故事
商纣王在刚开始请工匠用象牙为他制作筷子的时候,他的叔父箕子就表示出了一种
担忧。箕子认为,既然你使用了稀有昂贵的象牙作筷子,与之相配套的杯盘碗盏就
再也不会用陶制土烧的笨重物了,而必然会换成用犀牛角、美玉石打磨出的精美器
皿。餐具一旦换成了象牙筷子和玉石盘碗,你就一定不会再去吃大豆一类的普通蔬
菜,而要千方百计地享用牦牛、象、豹之类的胎儿等山珍美味了。紧接着,在尽情
享受美味佳肴之时,你一定不会再去穿粗布缝制的衣裳,住在低矮潮湿的茅屋下,
而必然会换成一套又一套的绫罗绸缎,并且住进高楼大厦之中。
可以看出商纣王对自己的奢侈也是滚动升级的.
滚动升级, 一旦开始, 就很难止住了.
--
我是天马博士,对,就是创造了阿童木的那个天马博士
12 years, 1 month