<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>lancetw的新天地 &#187; 軟體</title>
	<atom:link href="http://blochy.com/lancetw/blog/archives/category/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://blochy.com/lancetw/blog</link>
	<description>“You know what I’d like to be? I mean if I had my goddam choice, I’d just be the catcher in the rye and all.”</description>
	<pubDate>Mon, 23 Apr 2007 11:18:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>如何用 Quod Libet 收聽 big5 網路電台</title>
		<link>http://blochy.com/lancetw/blog/archives/2006/08/16/127/</link>
		<comments>http://blochy.com/lancetw/blog/archives/2006/08/16/127/#comments</comments>
		<pubDate>Wed, 16 Aug 2006 13:03:23 +0000</pubDate>
		<dc:creator>lancetw</dc:creator>
		
		<category><![CDATA[GNU/Linux]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[分享]]></category>

		<category><![CDATA[筆記]]></category>

		<category><![CDATA[編碼]]></category>

		<category><![CDATA[軟體]]></category>

		<guid isPermaLink="false">http://blochy.com/lancetw/blog/archives/2006/08/16/127/</guid>
		<description><![CDATA[ 因為 id3v2 標籤的因素，目前台灣絕大多數的網路電台都是使用 big5 碼，造成在 UTF-8 環境下的播放軟體就會接收到亂碼，我們可以用 zh_TW.big5 來啟動播放軟體，便能輕鬆治標。這裡以 Ubuntu 6.06 為例。:P
首先檢查你的系統上是否有 zh_TW.big5 locale：

locale -a

通常是沒有的，現在我們來生一個：

編輯 /var/lib/locales/supported.d/zh
加入：
zh_TW.Big5 Big5
接著執行：
sudo locale-gen
系統上就有 zh_TW.Big5 了。

有了 zh_TW.Big5 可用後，最後弄個會以 big5 啟動程式的執行檔，這裡檔名取作 quodlibet-big5：
&#19979;&#36733;: quodlibet-big5#!/bin/sh
LANG=&#34;zh_TW.big5&#34; quodlibet &#38;
存檔後放到 /usr/local/bin 底下，並加上執行權限：

sudo cp quodlibet-big5 /usr/local/bin/
sudo chmod +x /usr/local/bin/quodlibet-big5

執行 quodlibet-big5 就可以聽 big5 電台了。
參考：
MacBlog2 - Ubuntu 雜記
]]></description>
		<wfw:commentRss>http://blochy.com/lancetw/blog/archives/2006/08/16/127/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Quod Libet 0.23 繁體中文化</title>
		<link>http://blochy.com/lancetw/blog/archives/2006/08/16/126/</link>
		<comments>http://blochy.com/lancetw/blog/archives/2006/08/16/126/#comments</comments>
		<pubDate>Wed, 16 Aug 2006 12:41:28 +0000</pubDate>
		<dc:creator>lancetw</dc:creator>
		
		<category><![CDATA[GNU/Linux]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[分享]]></category>

		<category><![CDATA[翻譯]]></category>

		<category><![CDATA[聽音樂]]></category>

		<category><![CDATA[螢幕攝]]></category>

		<category><![CDATA[軟體]]></category>

		<guid isPermaLink="false">http://blochy.com/lancetw/blog/archives/2006/08/16/126/</guid>
		<description><![CDATA[ 我為 Quod Libet 作了繁體中文化，從 0.23 版開始。 
如有有翻譯字句上的問題，請不吝指教。
Quod Libet 是一個音樂資料庫與播放器，並附有名為 Ex Falso 的音訊標籤編輯器。
http://www.sacredchao.net/quodlibet/



]]></description>
		<wfw:commentRss>http://blochy.com/lancetw/blog/archives/2006/08/16/126/feed/</wfw:commentRss>
		</item>
		<item>
		<title>我的 gmplayer 設定 (~/.mplayer/gui.conf)</title>
		<link>http://blochy.com/lancetw/blog/archives/2006/08/12/124/</link>
		<comments>http://blochy.com/lancetw/blog/archives/2006/08/12/124/#comments</comments>
		<pubDate>Sat, 12 Aug 2006 12:02:02 +0000</pubDate>
		<dc:creator>lancetw</dc:creator>
		
		<category><![CDATA[GNU/Linux]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[分享]]></category>

		<category><![CDATA[影片]]></category>

		<category><![CDATA[未分類]]></category>

		<category><![CDATA[筆記]]></category>

		<category><![CDATA[螢幕攝]]></category>

		<category><![CDATA[軟體]]></category>

		<guid isPermaLink="false">http://blochy.com/lancetw/blog/archives/2006/08/12/124/</guid>
		<description><![CDATA[ 僅僅設定 mplayer 的 config 檔案似乎還是不夠，下面是我的 ~/.mplayer/gui.conf 片段，請自行斟酌修改。
&#19979;&#36733;: gui.confvo_driver = &#34;xv&#34;
#doublebuffering 除去 DVD 的掃瞄線
vo_doublebuffering = &#34;yes&#34;
#有DRI者請打開 direct render，檢查方法：glxinfo &#124; grep direct
vo_direct_render = &#34;yes&#34;
#看片會延遲請打開 framedrop
v_framedrop = &#34;1&#34;
ao_driver = &#34;alsa&#34;
dvd_device = &#34;/dev/dvd&#34;
cdrom_device = &#34;/dev/cdrom&#34;
osd_level = &#34;1&#34;
sub_auto_load = &#34;yes&#34;
sub_unicode = &#34;yes&#34;
sub_cp = &#34;utf8&#34;
font_name = &#34;/usr/local/share/fonts/DFU_HMD.TTF&#34;
font_text_scale = &#34;3.000000&#34;
font_osd_scale = &#34;6.000000&#34;
font_autoscale = &#34;3&#34;
stopxscreensaver = &#34;yes&#34;
]]></description>
		<wfw:commentRss>http://blochy.com/lancetw/blog/archives/2006/08/12/124/feed/</wfw:commentRss>
		</item>
		<item>
		<title>我的 gvim 設定檔</title>
		<link>http://blochy.com/lancetw/blog/archives/2006/08/12/123/</link>
		<comments>http://blochy.com/lancetw/blog/archives/2006/08/12/123/#comments</comments>
		<pubDate>Sat, 12 Aug 2006 09:58:41 +0000</pubDate>
		<dc:creator>lancetw</dc:creator>
		
		<category><![CDATA[GNU/Linux]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[分享]]></category>

		<category><![CDATA[筆記]]></category>

		<category><![CDATA[螢幕攝]]></category>

		<category><![CDATA[軟體]]></category>

		<guid isPermaLink="false">http://blochy.com/lancetw/blog/archives/2006/08/12/123/</guid>
		<description><![CDATA[ 放在 ~/
&#19979;&#36733;: .vimrcset fileencodings=utf-8
set termencoding=utf-8
set enc=utf-8
set tenc=utf8
set gfn=Courier\ 11 
set gfw=AR\ PL\ ShanHeiSun\ Uni\ 12
set nobackup
set nowritebackup
set cindent
set tabstop=4
set shiftwidth=4
set expandtab
set wrap
set number
set hls
set ic
set ai
set ambiwidth=double
syntax on
colorscheme darkblue
請不要問我每行設定的意義，請詳閱說明文件或是搜尋相關文章。(其實是忘光了XD)

]]></description>
		<wfw:commentRss>http://blochy.com/lancetw/blog/archives/2006/08/12/123/feed/</wfw:commentRss>
		</item>
		<item>
		<title>我的 mplayer 設定檔</title>
		<link>http://blochy.com/lancetw/blog/archives/2006/08/12/122/</link>
		<comments>http://blochy.com/lancetw/blog/archives/2006/08/12/122/#comments</comments>
		<pubDate>Sat, 12 Aug 2006 09:45:36 +0000</pubDate>
		<dc:creator>lancetw</dc:creator>
		
		<category><![CDATA[GNU/Linux]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[分享]]></category>

		<category><![CDATA[影片]]></category>

		<category><![CDATA[筆記]]></category>

		<category><![CDATA[螢幕攝]]></category>

		<category><![CDATA[軟體]]></category>

		<guid isPermaLink="false">http://blochy.com/lancetw/blog/archives/2006/08/12/122/</guid>
		<description><![CDATA[ 放在 ~/.mplayer
&#19979;&#36733;: config# Write your default config options here!
font=/usr/local/share/fonts/DFU_HMD.TTF
unicode=yes
subcp=utf8
subfont-text-scale=3
subfont-autoscale=3
zoom=yes
vf=pp=lb
請把 font=/usr/local/share/fonts/DFU_HMD.TTF 換成你的字型位置，字幕檔請先轉換成 utf8 便可正常播放。


在 2006/08/12 19:42 作了第二次修正。

]]></description>
		<wfw:commentRss>http://blochy.com/lancetw/blog/archives/2006/08/12/122/feed/</wfw:commentRss>
		</item>
		<item>
		<title>加速 linux 版 firefox - 使用 swiftfox + 停用 pango</title>
		<link>http://blochy.com/lancetw/blog/archives/2006/08/12/121/</link>
		<comments>http://blochy.com/lancetw/blog/archives/2006/08/12/121/#comments</comments>
		<pubDate>Sat, 12 Aug 2006 04:07:27 +0000</pubDate>
		<dc:creator>lancetw</dc:creator>
		
		<category><![CDATA[GNU/Linux]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[分享]]></category>

		<category><![CDATA[火狐]]></category>

		<category><![CDATA[筆記]]></category>

		<category><![CDATA[軟體]]></category>

		<guid isPermaLink="false">http://blochy.com/lancetw/blog/archives/2006/08/12/121/</guid>
		<description><![CDATA[ Swiftfox 是專為 linux 版本最佳化的 firefox，請選擇適合你的 CPU 的版本下載。
http://getswiftfox.com/ubuntu.htm
上面的連結是給 Ubuntu 用的 deb 包。
安裝：

sudo dpkg -i swiftfox_1.5.0.6-1ubuntu_cpu_version.deb

編輯 ~/.mozilla/firefox/rc 加上下面這段來停用 pango，可以加速 firefox：
&#19979;&#36733;: rcMOZ_DISABLE_PANGO=1
現在執行 firefox 吧。firefox (swiftfox) 會重新偵測套件相容性，可能會出現找不到繁體中文語系套件的訊息，再重開時你會發現是英文介面。沒關係，接下來我們自行安裝繁體中文語系套件就可以了。
首先得安裝 Locale-Switcher 這個擴充套件，這個套件能讓我們自行安裝各種語系檔。
安裝 Locale-Switcher：http://benjamin.smedbergs.us/switch-locales/
安裝完成後重開 firefox，接下來到 moziila 官方抓繁體中文語系檔案安裝便大功告成：

目前我的版本是 1.5.0.6，往後出新版本時請自行下載合適的版本安裝。
到這裡下載 zh-TW.xpi。

若是想加快載入網頁的速度，可以試試 Fasterfox 這個套件。

本文在 20060824 重新編輯過

]]></description>
		<wfw:commentRss>http://blochy.com/lancetw/blog/archives/2006/08/12/121/feed/</wfw:commentRss>
		</item>
		<item>
		<title>彩色的 grep、man</title>
		<link>http://blochy.com/lancetw/blog/archives/2006/08/09/120/</link>
		<comments>http://blochy.com/lancetw/blog/archives/2006/08/09/120/#comments</comments>
		<pubDate>Wed, 09 Aug 2006 15:16:25 +0000</pubDate>
		<dc:creator>lancetw</dc:creator>
		
		<category><![CDATA[GNU/Linux]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[筆記]]></category>

		<category><![CDATA[軟體]]></category>

		<guid isPermaLink="false">http://blochy.com/lancetw/blog/archives/2006/08/09/120/</guid>
		<description><![CDATA[ 參考自Tsung's Blog：grep、man 顏色設定

為 grep 上顏色：
編輯 ~/.bashrc
加上這行顏色設定：
alias grep='grep --color'
如此一來以後使用 grep 時就會以顏色標出搜尋字串了。


彩色的 man：
編輯 ~/.bashrc
加上顏色設定：

	#For colourful man pages (CLUG-Wiki style)
        export LESS_TERMCAP_mb=$'\E[01;31m'
        export LESS_TERMCAP_md=$'\E[01;31m'
        export LESS_TERMCAP_me=$'\E[0m'
        export LESS_TERMCAP_se=$'\E[0m'
  [...]]]></description>
		<wfw:commentRss>http://blochy.com/lancetw/blog/archives/2006/08/09/120/feed/</wfw:commentRss>
		</item>
		<item>
		<title>關於 Stellarium 的中文字型顯示問題</title>
		<link>http://blochy.com/lancetw/blog/archives/2006/08/07/115/</link>
		<comments>http://blochy.com/lancetw/blog/archives/2006/08/07/115/#comments</comments>
		<pubDate>Mon, 07 Aug 2006 03:15:54 +0000</pubDate>
		<dc:creator>lancetw</dc:creator>
		
		<category><![CDATA[GNU/Linux]]></category>

		<category><![CDATA[ubuntu]]></category>

		<category><![CDATA[字型]]></category>

		<category><![CDATA[星象]]></category>

		<category><![CDATA[筆記]]></category>

		<category><![CDATA[編碼]]></category>

		<category><![CDATA[螢幕攝]]></category>

		<category><![CDATA[軟體]]></category>

		<guid isPermaLink="false">http://blochy.com/lancetw/blog/archives/2006_08_07/115/</guid>
		<description><![CDATA[ 如你是用開放源碼的作業系統，又有安裝 Stellarium 這個超棒的星象軟體，你可能會發現，整個畫面都是框框字，你可能會懷疑該軟體壞掉了。
其實不是，真正的原因是該軟體做了i18n，卻不包含字體的緣故，才導致滿畫面框框字。下面為官方的說明：

為了避免下載的檔案過大，您在(官方)這裡下載的Stellarium並沒有包含中文字型。要正確顯示正體中文，請到cwTeX TrueType 字型區下載 cwTeX 圓體，複製到 C:\Program Files\Stellarium\data 然後在您的 config.ini 修改 base_font_name 成 cwyen.ttf 。
cwTeX 圓體經過測試是適合用在本軟體的字型，此字型以GPL授權故下載與散布一切合法。




以下教你如何用一些些技巧和暴力改出如上圖中的美妙中文界面，觀察優美的星空，以 Ubuntu，Stellarium 0.8.x 版為例。
首先你需要一個適合小字型顯示的CJK字型，你可以到這裡下載你喜歡的中文字型，或是用官方推薦的 cwTeX 圓體。
這裡我下載了HanWangHeiLight (wt011.ttf)，王漢宗細黑體來作為 Stellarium 的顯示字型。
下載好後，用管理者權限 (sudo) 複製到 /usr/share/stellarium/data 或是你安裝 stellarium 的位置下， data 資料夾中。
編輯 data/fontmap.dat，將語系預設使用的字型改成剛抓的 wt011.ttf：

zh_HK   ukai.ttf        1.2     wt011.ttf    [...]]]></description>
		<wfw:commentRss>http://blochy.com/lancetw/blog/archives/2006/08/07/115/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
