星期二, 六月 23, 2009

Google Chrome 於 Ubuntu Linux 安裝 (unstable 版)

這是幾個星期前的舊新聞了, 只是之前安裝後, 完全不能跑, 出現的訊息像這篇形容的: Google Chrome出Linux的不穩定版本啦!

今天裝裝看, 網頁也都可以顯示, 雖然中文都是方塊, 不過, 重點是可以動了. XD

安裝步驟

  1. 到此處下載 deb 檔: Early Access Release Channels ‎(Chromium Developer Documentation)‎
  2. 或於此下載
  3. dpkg -i google-chrome-unstable_current_i386.deb
  4. 即安裝完成.

另一種安裝方式可見: Install Chromium (Google chrome) web browser in Ubuntu (下述摘錄安裝步驟)

  1. vim /etc/apt/sources.list
    deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty main
    deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty main
  2. sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xfbef0d696de1c72ba5a835fe5a9bf3bb4e5e17b5
  3. sudo apt-get update
  4. sudo apt-get install chromium-browser

Google Chrome 顯示中文

後來找到 Google Chrome 顯示中文解法, 但是看起來與: Ubuntu 9.04 的 Firefox Flash 中文無法顯示修復 相互衝突 

  1. vim /etc/fonts/conf.d/49-sansserif.conf
    將所有 sans serif 改成 sans-serif
  2. 這樣子 Google Chrome 就可以正常顯示中文, 但是 Firefox 的 Flash 中文就變方塊了.
  3. 先暫時這樣用, 等找到更好解法再修正~ :)

感謝 swyear 的解法(解決 Firefox Flash 中文變方塊的問題)

  1. 將 49-sansserif.conf 都改回原狀
  2. vim /etc/fonts/conf.d/69-language-selector-zh-tw.conf
  3. 拿掉 sans-serif 的 binding="strong" 即可.

若想看 Google Chrome for Linux 的每日進度, 可於: /buildbot/snapshots/chromium-rel-linux 此處看到

延伸閱讀

相關標籤

this is comment icon [回覆]

你好

如果是sans-serif與sans serif的問題的話兩邊就都可以用了
可以直接改成字型的名稱,兩邊就都可以用了

Comment by shoting (06/23/2009 13:58)

this is comment icon 回 shoting [回覆]

字型的名稱指的是? 請問您用的是?
我剛剛試過幾個 DejaVu Serif, 中文字型.. Google Chrome 都不吃耶.

Comment by Tsung (06/23/2009 14:45)

this is comment icon [回覆]

Hi,

我來胡亂猜猜~ XD

如果第一個 sans-serif 整個移除,然後最後的 ... 改成 sans-serifsans serif 這樣呢?

Comment by Wen-chien Jesse Sung (06/23/2009 19:09)

this is comment icon [回覆]

err... tag 被濾掉了... orz

"如果第一個 <test...><string>sans-serif</string></test> 整個移除,然後最後的 <edit...>...</edit> 改成 <edit...><string>sans-serif</string><string>sans serif</string></edit> 這樣呢?"

Comment by Wen-chien Jesse Sung (06/23/2009 19:12)

this is comment icon 回 Wen-chien Jesse Sung [回覆]

不行耶, 分開新的區塊, 多個去設也不行 :(

Comment by Tsung (06/23/2009 20:13)

this is comment icon [回覆]

將 language-selector-zh-tw.conf 中的
binding="strong"
去掉

Comment by swyear (06/23/2009 21:22)

this is comment icon 回 swyear [回覆]

感恩, 一次全部解決了, 只是字變細了. :P

Comment by Tsung (06/23/2009 22:28)

this is comment icon [回覆]

如果有圖和 ubuntu 的字型設定
說不定可以研究看看

Comment by swyear (06/24/2009 00:48)

this is comment icon 回 swyear [回覆]

圖? 字型設定 都是照 9.04 剛灌好時得狀態, 都沒有動.
Sans, Sans, Sans, Sans Bold, Monospace.
不知道您指的是這個嗎?

Comment by Tsung (06/24/2009 08:57)

this is comment icon [回覆]

我是修改

49-sansserif.conf

LiHei Pro
---------

這樣在flash跟chrome都是正常的

Comment by shoting (06/24/2009 16:44)

this is comment icon 回 shoting [回覆]

厄, 我試這個, flash 正常, chrome 還是一樣無法顯示耶. :(

Comment by Tsung (06/24/2009 17:29)

this is comment icon [回覆]

這個問題我看倒好幾種解法了

我是用WenQuanYi Zen Hei

可以看我的解法http://www.renn999.twbbs.org/wordpress/archives/291

我的我的環境是在ubuntu9.04

真希望他們趕快把不能輸入中文個問題解決...Orz

Comment by renn999 (07/06/2009 21:26)

this is comment icon 回 renn999 [回覆]

我發現最後一種拿掉 strong 那種是最快又最簡單的~ :P

Comment by Tsung (07/06/2009 22:21)

this is comment icon 部份網站可以、部份不行? [回覆]

想請教一下,我目前是看得到諸如 Google 分析、奇美博物館等 Flash 內的中文字了,但 dotSub 及 YouTube 字幕等等還是看不到… 原因不明

請試試看: http://dotsub.com/media/dc75c2e2-ef81-4851-8353-a877aac9fe3c/e/l/cht_hant

不曉得有哪些路徑可以 debug 呢?

Comment by BobChao (09/18/2009 06:53)

this is comment icon 回 BobChao [回覆]

怪, 我的 Chrome 壞了, 現在沒辦法測試.. @.@a..
我也不曉得有哪些路徑可以 debug 耶.. Orz..

Comment by Tsung (09/18/2009 13:27)
Add this page to del.icio.us

發表迴響

標題

內容 (限制 1000 字)

暱稱

電子郵件

個人網頁


 authimage


PS: 若無法留言, 請先確認是否有打開 JavaScript, 造成您的困擾, 實在萬分對不起 Orz...(如果無法留言, 勞煩可以發信給我好嗎? 謝謝.)
PS2: 若您的留言被誤判, 我都會再自行看過, 不需要一直重覆張貼~