Search Google

Friday, November 17, 2006

重新回頭玩ubuntu...

不錯的手札,尤其可以參考字型的部份.

雖然找不到locale.gen,但是使用locale-gen zh_TW即可直接產生big5的locale.

mount samba drive (windows的共享目錄):
編輯/etc/fstab -->
[network folder] [mount point] [file type] [mount at startup],[use as root],[remote username],[remote password],[file access rights],[directory access rights] 0 0

eg.
//rookery/storage /mnt/rookery smbfs auto,uid="root",username=guest,password="",fmask=777,dmask=777 0 0

當然,要使用smbfs之前要先裝... --> apt-get install smbfs

如果想要透過samba把Linux下的folder與windows機器分享,要記得在
/etc/samba/smb.conf的[global]下面加上以下三行:

display charset = BIG5
unix charset = BIG5
dos charset = CP950

這樣子windows的網路磁碟機連線後才能看到中文檔名,想看到中文內容的話應該要把locale設為zh_TW.BIG5

No comments: