發表文章

Fix X11 output problem

Problem: X only shows a empty desktop Cause: Main screen goes somewhere else Fix: 1) Add/Modify "/etc/X11/xorg.conf" to disable specific output https://wiki.ubuntu.com/X/Quirks Section "Device" Identifier "Configured Video Device" Option "monitor-LVDS" "LVDS" EndSection Section "Monitor" Identifier "LVDS" Option "Ignore" "True" EndSection Section "Monitor" Identifier "Configured Monitor" EndSection Section "Screen" Identifier "Default Screen" Monitor "Configured Monitor" Device "Configured Video Device" EndSection 2) Disable KMS in kernel boot command line by appending "nomodeset"

Regular Expression for C/C++

http://changyy.pixnet.net/blog/post/22760327 http://mij.oltrelinux.com/devel/unixprg/

Fix Ubuntu 10.04 KMS for Intel-gpu-based units && Simple Plymouth Howto

Intro: Ubuntu to introduces  Plymouth as boot splash solution to replace Usplash instead for more rich and complex boot visual effects. Also new linux kernel introduces KMS (Kernel Mode Switchig) to replace old UMS (User Mode Switching) to reduce flicker during whole boot process. However, some users may have bad experiences to Ubuntu new boot splash system.  Here is a solution for  Intel-gpu-based units. How to Confirm this issue: Run "dmesg | grep drm" and you should be able to see three message corresponds to three modules loading. If they are loaded in 3 sec, you are good and KMS is ready. You can skip the rest part. Otherwise, for example, if they are loaded after 10 sec, it means KMS is failed to start before Plymouth is up so you can see nothing while booting. Please go proceeding to the next step. Fix KMS in initramfs Refer Source:  https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/377875/comments/25 For Intel GPUs, you need to add three...

文摘:為何台灣不需要高速網路

那小弟先來剖析一下可能消毒的策略: 1.頻寬無用論:要那麼大的頻寬幹什麼? 2.網路使用無理論:這些一定都是在非法使用!上網只要56K就夠了。 3.雲端學理論:你知道什麼是雲端嗎?雲端不等於頻寬!當掉! 4.市場競爭論:唉....都怪其他廠商不爭氣,讓龍頭可以這麼囂張~ 5.政治黑暗論:我們龍頭也是受害者,都是政治惹的禍。 6.公司實務論:我們公司也用不到這些,你們都是在做什麼大事業? 7.移民論:你乾脆去當韓國人好了! 8.面向光明論:台灣的網路比很多國家來的好,要知足...想當初我在索馬利亞.... 引用自: http://www.mobile01.com/topicdetail.php?f=507&t=1693343&p=1#21508349

Suse 筆記

 套件管理Zypper http://hi.baidu.com/jrckkyy/blog/item/a91d2b2575d2bc6b35a80fb7.html Virtualbox Guest Add-On http://forums.opensuse.org/english/get-help-here/applications/434452-virtualbox-guest-additions-how-set-shared-folder-opensuse-11-2-guest.html

Linux 無線網路 WEP/WPA 手動設定 全集

Linux的Command Line一向令人敬畏,連朝夕跟他奮戰的軟體工程師如我也一樣。 問我有什麼更可怕的,我會跟你說在Command Line手動設定無線網路更可怕。 以前在這方面有很糟糕的經驗,所以一朝被蛇咬,如果有桌面下的設定程式可用,就不要自己來。 偏偏,躲的了一時,躲不了一世,工作上的需要也是責無旁貸,硬著頭皮還是要做下去。 經過七七四十九天的奮戰之後,總算搞懂WEP/WPA等得設定方法, 謝謝網路上的諸位大德無私分享,小弟在此也把整理出來的心得跟大家分享。 個人用的無線網路的加密大概可分以下幾種: OPEN/NONE 完全無加密,人人皆可用 OPEN/WEP 使用WEP靜態加密,防君子不防小人 SHARE/WEP 使用WEP靜態加密,防君子不防小人 WPA/TKIP, AES, or TKIP/AES 使用WPA加密,算是比較安全的方式 WPA2/TKIP, AES, or TKIP/AES WPA的升級版 WPAWPA2/TKIP, AES, or TKIP/AES 混合WPA/WPA2的相容模式 以下按設定的分為三種:無加密,WEP靜態加密跟WPA動態加密 無加密(OPEN/NONE) ifconfig ra0 up iwpriv ra0 set NetworkType=Infra iwpriv ra0 set AuthMode=OPEN iwpriv ra0 set EncrypType=NONE iwpriv ra0 set SSID="dht" dhclient ra0 WEP靜態加密 OPEN/WEP ifconfig ra0 up iwconfig ra0 essid "dht" iwconfig ra0 key open iwconfig ra0 key aabbccddee *注1 iwconfig ra0 mode managed SHARE/WEP killall wpa_supplicant ifconfig ra0 up iwconfig ra0 essid "dht" iwconfig ra0 key restricted iwconfig ra0 key aabbccddee ...

ALSA 相關筆記

基礎常識: http://blog.csdn.net/linweig/archive/2010/04/07/5459069.aspx 官網: http://www.alsa-project.org/main/index.php/Main_Page Download mirror: http://alsa.cybermirror.org/ 官方檢測程式: http://www.alsa-project.org/alsa-info.sh 音效測試: http://alsa.opensrc.org/index.php/Speaker-test 如何取消Pulseaudio: http://playubuntu.blogspot.com/2009/03/blog-post.html Ubuntu 自動升級腳本: http://ubuntuforums.org/showthread.php?p=6589810#post6589810