顯示具有 Ubuntu 標籤的文章。 顯示所有文章
顯示具有 Ubuntu 標籤的文章。 顯示所有文章

2010年2月24日 星期三

[Linux] 為Ubuntu 新增標楷體

只要一個指令就好:sudo apt-get install ttf-linux-libertine ttf-mscorefonts-installer msttcorefonts

然後重新登入即可。

2010年2月7日 星期日

[Linux] psnup:Linux下多頁列印好工具。

Linux下也有類似fineprinter之類的列印好幫手。讓我慢慢解說怎麼使用...

2009年7月28日 星期二

[Linux] 編譯2.6.30-020630rc3-generic Kernel

聽說2.6.28以後的核心,對於Intel 內建顯示晶片顯示效能有顯著的提升,事不疑遲,Compile下去...

聲明:我大部份都是從Ref(1) 看來的,建議看這篇的同時,不妨去該作者的Blog看看,有很多東西喔。

1. 先去http://mirrors.kernel.org/ubuntu/pool/main/w/wireless-crda/wireless-crda_1.7_i386.deb

下載wireless-crda套件。

2.linux~#] sudo apt-get install kernel-package libncurses5-dev fakeroot

下載 kernel-package libncurses5-dev fakeroot 等套件。

3.再到http://www.kernel.org/pub/linux/kernel/v2.6/ 下載linux-2.6.30.tar.gz

4.linux~#] tar xzvf  linux-2.6.30.tar.gz

5.linux~#] cd linux-2.6.30

[Kernel設定]

6. linux~#] sudo cp /boot/config-`uname -r` .config   (載入你的設定檔)

7 .linux~#] sudo make menuconfig (設定要編譯進去的模組或是哪些東西要編入核心的。)

[開始編譯kernel] (要等很久很久喔,大概一兩個小時跑不掉吧。)
8. linux~#] sudo make-kpkg clean
9. linux~#] sudo make-kpkg --initrd kernel_image kernel_headers

[安裝kernel]
10. linux~#] mv linux-image* linux-headers-* /usr/src/ ; cd /usr/src
11. src~#]  sudo dpkg -i linux-image-2.6.30-020630rc3-generic_2.6.30-020630rc3_i386.deb
12. src~#]  sudo dpkg -i linux-headers-2.6.30-020630rc3-generic_2.6.30-020630rc3_i386.deb

如果遇到Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.28.postinst line 1181.
就把/etc/kernel/postinst.d底下的檔案砍掉,之後再嘗試安裝就ok了

新的Kernel使用心得:

超棒!用PCManX看BBS,再也不會讓畫面慢慢刷新了。果然值得阿。

Ref:

(1) 米歐的學習筆記http://miox.cc/2009/01/kernel.html

(2) Ubuntu-tw 論壇 http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?topic_id=13971

2008年4月5日 星期六

Ubuntu 印表機設定方法 (以Canon IP1700為例)

1.  請先到 http://www.linuxprinting.org/driver_list.cgi

抓取ip1700的driver

2.  解壓縮剛剛抓好的driver,並將rpm轉成deb形式 (要執行轉換動作,請先利用 sudo apt-get install alien,以安裝alien轉換程式。)

輸入   alien -d cnijfilter-common-2.60-1.i386.rpm

alien -d cnijfilter-ip2200-2.60-1.i386.rpm

alien -d cnijfilter-ip2200-lprng-2.60-1.i386.rpm

3. 輸入   sudo dpkg -i cnijfilter-common_2.60-2_i386.deb cnijfilter-ip2200_2.60-2_i386.deb  cnijfilter-ip2200-lprng_2.60-2_i386.deb  (每個file以空格聯接)

4. sudo /etc/init.d/cupsys start (開啟cups 服務)

5. 開啟 firefox ,輸入網址 http://localhost:631 ,進入cups設定

6.

A. Screen "Add New Printer"
-Name, Location, Description
[Continue]

B. Screen "Device for <Name>"
-Device: Canon iP1700 USB #1 (Canon iP1700)
[Continue]

C. Screen "Model/Driver for <Name>"
-Model: Canon iP2200 ver.2.60 (en)
[Add Printer]

D. Provide root password

E. Screen "<Name>: General"
[Set Printer Options]

F. Final screen
<Name>
Description: <Description>
Location: <Location>
Make and Model: Canon iP2200 Ver.2.60
Printer State: idle, accepting jobs, published.

Device URI: usb://Canon/iP1700

G. Press [Print Test Page]

refer:

http://www.freestandards.org/en/OpenPrinting

http://www.linuxunion.net/index/desk/view.htm?t=desk&id=128

http://johnchao0712.blogspot.com/2007/08/linux-ubuntu-rpm-in-ubuntu.html

2008年4月2日 星期三