2011年12月1日星期四

How to Permanently Save Screen Brightness in Fedora 16

For Fedora 15, there is an entry in dconf-editor that will do the trick (system setting GUI can never do it permanently, shame on it). But in Fedora 16 that entry is no longer there. After googling there seem to be 2 possible solutions.


  1. Change the value in /sys/class/backlight/acpi_video0/brightness each time OS boots.
    1. Create /etc/rc.d/rc.local (Fedora no longer ships it since release 16).
    2. Edit the file so that it looks like this.
    3. $ cat /etc/rc.d/rc.local
      #!/bin/bash
      echo 7 > /sys/class/backlight/acpi_video0/brightness
    4. Make /etc/rc.d/rc.local executable.
    5. $ sudo chmod a+x /etc/rc.d/rc.local
  2. Add kernel parameter (to be investigated).

How to Adjust Fonts Rendering in Fedora 16

I've heard some voice about how lame fonts rendering is in Fedora 15 & 16. For me, it does look weird on my desktop, but fine on my laptop. Anyway, I'll put the instruction link here because it's a good one. And after I did all the settings mentioned in that document English fonts look thinner in terminal but everything else, especially Chinese characters look better.

http://fedoraunity.org/Members/khaytsus/improve-fonts

2011年5月19日星期四

Sometimes It's Good to Stop and Look Back

是不是人们在离开什么东西一段时间之后再回过头来看看都会觉得格外亲切又会感到淡淡的哀伤?

基本上对于喜欢的东西,我都会过分的爱惜,比如电脑。但是这个基本不包括公司的电脑,至少是现在我手里的拿到的时候就是二手的并且据说即将被换掉的那台。而且公司的电脑,我也不打算放什么私人信息在上面,所以也不会很刻意地保护硬盘,坏掉就坏掉吧,反正有人给换(我也就是个不能免俗的小市民吧)。于是也就经常躺在床上用。加之每天晚上回到住处已经不早了,慢慢的没有什么特殊的事情也就不会再开自己的电脑了。

今晚没有把公司的电脑带回来,用的自己的。点开了一首amazing grace。应该是之前还在经常用这台电脑的时候下来的,但是已经不记得确切的时间了。甚至我都不记得我之前听过这个版本的amazing grace。经典的歌曲都会有很多版本,比如卡农,比如这个。一阵久违的旋律在耳畔响起,有一股温暖的力量。沉醉之中忽然觉得,其实还是这台电脑好,是自己的,有自己熟悉的歌曲,有自己喜欢的照片,任何时候打开它都能找到熟悉的记忆。

然后又想,其实过去那些天天拿着本串宿舍的日子也挺好的,聊聊天,扯扯淡,写写程序,然后盼着到点吃饭,晚上回寝室看个电影或者看几集friends。那个时候大概写不出什么专业的程序,也没有现在这些专业的各种t的测试,做的项目基本也成不了什么正经的产品。但是依然怀念。现在呢?每天写代码,关defect,斟酌着英文写邮件,很忙碌,很累,可是依然看不到未来在哪里。

“衣不如新,人不如旧。”其实旧的衣服上,也有舍不得的气息。

“还未离开,就已怀念。”但是离开以后的怀念,总会更加深刻。