2007年5月25日 星期五
2007年5月16日 星期三
3D Linux Desktop --> Ubuntu 7.04 + Beryl
想玩Ubuntu想了一段時間, 最近有空終於把Linux distribution從Debian換成Ubuntu, 安裝完成重開後, Ubuntu給我第一個印象當然就是介面相當友善, 且感覺Ubuntu蠻棒的, 不愧是風評相當棒的Distribution.
言歸正傳, 今年四月在OSDC.TW 2007遇到Yuren, 聽Yuren說Ubuntu在安裝與設定Beryl相當容易, 前陣子索性安裝Beryl,. 如Yuren所說, apt-get一下, 使用ATI open source drvier, 外加簡單設定, Linux 3D就大功告成!
底下為我的xorg.conf片段 (顯卡為 ATI Technologies Inc RV370 [Sapphire X550 Silent]
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection
Section "ServerLayout"
Option "AIGLX" "true"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
Section "Device"
Identifier "ATI Technologies Inc RV370 [Sapphire X550 Silent]"
Driver "radeon"
BusID "PCI:1:0:0"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
言歸正傳, 今年四月在OSDC.TW 2007遇到Yuren, 聽Yuren說Ubuntu在安裝與設定Beryl相當容易, 前陣子索性安裝Beryl,. 如Yuren所說, apt-get一下, 使用ATI open source drvier, 外加簡單設定, Linux 3D就大功告成!
底下為我的xorg.conf片段 (顯卡為 ATI Technologies Inc RV370 [Sapphire X550 Silent]
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection
Section "ServerLayout"
Option "AIGLX" "true"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
Section "Device"
Identifier "ATI Technologies Inc RV370 [Sapphire X550 Silent]"
Driver "radeon"
BusID "PCI:1:0:0"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
2007年4月27日 星期五
天殺的"texlive-base-bin"
最近將Debain從lenny升級到sid遇到一個天殺的問題. 系統在設定texlive-base-bin這支程式的時候, 居然把我1G的RAM吃完, 連同我2G的Swap也全部被它給用它, 導致整個OS一直忙碌地做swap, 其設定訊息如下所示:
Setting up texlive-base-bin (2007-5)
Running mktexlsr. This may take some time...done
Building format(s) --all This may take some time.
結果光build format就花了4、5個小時還是沒做完. 因此, 索性將RAM升級到2G, 結果還是一樣, 2G RM吃完, 接著再把2G swap也用完, 且讓它跑了一整個晚上 (將近12小時), 結果還是沒build完. So, you don't just take some time. You certainly take a long long time! Goddamned!
哀....現在我的debian已經被我搞爛. 看來現在是轉戰Ubuntu的時候了, 之前看到[Yuren]在玩Ubuntu, 想說有時間一定要玩玩看, 反正都要重灌了, 乾脆完Ubuntu看看好了!
Setting up texlive-base-bin (2007-5)
Running mktexlsr. This may take some time...done
Building format(s) --all This may take some time.
結果光build format就花了4、5個小時還是沒做完. 因此, 索性將RAM升級到2G, 結果還是一樣, 2G RM吃完, 接著再把2G swap也用完, 且讓它跑了一整個晚上 (將近12小時), 結果還是沒build完. So, you don't just take some time. You certainly take a long long time! Goddamned!
哀....現在我的debian已經被我搞爛. 看來現在是轉戰Ubuntu的時候了, 之前看到[Yuren]在玩Ubuntu, 想說有時間一定要玩玩看, 反正都要重灌了, 乾脆完Ubuntu看看好了!
2007年4月26日 星期四
debian NO_PUBKEY error
Debian或Unbuntu使用者在更新套件往往都會出現類似NO_PUBKEY xxxxxxxxxxxx的錯誤訊息, 此代表使用的public key已逾期或有新加入 apt 的 source 但未下載該對應之公開金鑰, 目前的解法是利用gpg程式到key server下載該key, 例如:
$ sudo gpg --keyserver hkp://wwwkeys.eu.pgp.net --recv-keys xxxxxxxxxxxxxxxx
$ sudo gpg --armor --export xxxxxxxxxxxxxxxx | apt-key add -
如此便解決該問題, 但就小弟所上班公司的網路只能從port 80出去, 上面之方法似乎沒辦法解決 (被firewall擋掉, 底下提供一簡單的方法:
1. 首先, 先到key server網站[SURFnet Public Key Infrastructure]下載公開金鑰, 例如:欲搜尋 公開金鑰為A70DAF536070D3A1, 因此就在"Search String"文字方塊鍵入"0xA70DAF536070D3A1", 並下載存為key.txt
2. 使用apt-key程式手動加入A70DAF536070D3A1之公開金鑰
$ sudo apt-key add key.txt
3. 大功告成
$ sudo apt-get update --> 應該就可以了!!
[參考文獻]
APT 系統的金鑰管理機制簡介
$ sudo gpg --keyserver hkp://wwwkeys.eu.pgp.net --recv-keys xxxxxxxxxxxxxxxx
$ sudo gpg --armor --export xxxxxxxxxxxxxxxx | apt-key add -
如此便解決該問題, 但就小弟所上班公司的網路只能從port 80出去, 上面之方法似乎沒辦法解決 (被firewall擋掉, 底下提供一簡單的方法:
1. 首先, 先到key server網站[SURFnet Public Key Infrastructure]下載公開金鑰, 例如:欲搜尋 公開金鑰為A70DAF536070D3A1, 因此就在"Search String"文字方塊鍵入"0xA70DAF536070D3A1", 並下載存為key.txt
2. 使用apt-key程式手動加入A70DAF536070D3A1之公開金鑰
$ sudo apt-key add key.txt
3. 大功告成
$ sudo apt-get update --> 應該就可以了!!
[參考文獻]
APT 系統的金鑰管理機制簡介
2007年4月9日 星期一
基於Linux平台的智慧型手機
最近看到一支以Linux(採用OpenMoko)為平台的smartphone手機, 其手機由大眾電腦所開發, 型號為Neo 1973, 感覺介面還蠻friendly, 且又號稱hackable. 讚!!!
參考:
LinuxDevices
Jollen大Blog
訂閱:
文章 (Atom)
