網誌文章封存

解決Ubuntu中, Firefox的Flash插件顯示中文為「口口口」的問題

在Ubuntu中,使用Firefox時,總會使用到Flash插件的時候。可是Firefox in Ubuntu直到現在還沒有解決到一個問題:Flash插件中的中文顯示為”口口口口”,看不到完整的中文。
其實解決辨法很簡單,只需要修改一下Firefox預設字型檔就可以了。

打開終端機,輸入:
$sudo gedit /etc/fonts/conf.d/49-sansserif.conf

然後找到以下代碼。

<match target="pattern">
<test qual=""all" name="family" compare="not_eq">
<string>sans-serif</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>serif</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>monospace</string>
</test>
<edit name="family" mode="append_last">
<string>sans-serif</string>
</edit>
</match>

將紅色字部分中間的 “-" 以空格取代,變成:

<match target="pattern">
<test qual="all" name="family" compare="not_eq">
<string>sans serif</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>serif</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>monospace</string>
</test>
<edit name="family" mode="append_last">
<string>sans serif</string>
</edit>
</match>

接著重新開啟Firefox,再隨便打開一個Flash,你就會發現它變得正常了。
其實這也算不上是Bug,可能是開發人員字型的名稱與我們的有少許不同而已。稍作修改即可。

看過的在下方回覆一下嘛。

Ubuntu輸入法(1) Gcin – 最接近Windows的輸入法

相信各位用過Windows的人,首次轉去uBuntu的懷抱時,總有很多東西不習慣。而其中一樣,莫過於是輸入法了。

各位通常都會使用內置的iBus輸入法,可是這個輸入法有很多問題:沒有符號表、快捷鍵不同、輸入界面不同等等。

符號方面雖然可是利用下表來解決,可是對於沒有或不常使用這方法的人來說,要記這麼多無意義的倉頡碼總有一件麻煩的事。

▼可以利用輸入符號的倉頡碼解決,但過於複雜。

其它方面也可以使用一些軟件去解決,但是卻很麻煩。

今天經Bottle兄介紹使用了Gcin,感覺上和Windows的輸入法很相似,也很方便。

按一下繼續閱讀查看教學

續讀本篇全文

Follow

Get every new post delivered to your Inbox.

Join 43 other followers