FlossDoc: 請協力 GPLv3 的中文翻譯工作。

使用 dpkg 套件 (*.deb) 安裝 Flash Player

FlossDoc,自由中文開源知識庫

Jump to: navigation, search

現時有大量網頁都有使用 Adobe Flash 加入炫麗的動畫和多媒體效果以及加強互動性。要瀏覽如 YouTube 和這些大量使用 Flash 的網站,Flash Player 少不得。由於 Flash 屬 Adobe 專利格式 (原屬 Macromedia,但 Macromedia 在 1995 年被 Adobe 收講。[1][2]),自由/開放原始碼軟件對其支援只屬一般。仲有自由的 Flash 播放程式 Glash,但未必能播放所有最新的 Flash 網頁。Adobe 有免費的 GNU/Linux 版 Flash Player,可以瀏覽任何最新的 Flash 網頁,不過礙於授權証問題,大部 GNU/Linux distribution 都沒有預裝。[3] 然而 Ubuntu/Kubuntu//Xubuntu 8.04 LTS (Hardy) 或以上 (包括最新版本 11.04 (Natty Narwhal))的使用者仍可以由 Adobe 網頁下載 Adobe Flash Player 的 dpkg 套件 (*.deb) 輕鬆地安裝。

目录

下載及安裝 Flash Player

先訪問 Adobe Flash Player 下載網頁,網頁會偵測您的作業系統和瀏覽器並讓您下載您系統的 Flash Player。確定它讓您下載 Linux 版的 Adobe Flash Player,否則,按 “Different operating system or browser?” 選擇正確的作業系統和瀏覽器。然後選擇 “.deb for Ubuntu” 並按 Agree and install now 按鈕下載 Adobe Flash Player 的 dpkg 套件 (install_flash_player_*_linux.deb)。

下載時,您可以在 開啟方式 選 GDebi 套件安裝程式 直接透過 gdebi 安裝套件。亦可以在下載後,雙擊下載了的 install_flash_player_*_linux.deb 套件檔透過 gdebi 安裝套件。彈出套件安裝程式對話框時,按『安裝套件』(Install Package) 安裝 Flash Player。當然,您仍可以在終端機 (Terminal) 使用以下命令安裝套件:

 sudo dpkg -i install_flash_player_*_linux.deb

安裝完成後,重新啟動 FirefoxEpiphany 並在位址欄輸入「about:plugins」確定 Shockware Flash 是否已被成功安裝和啟用。亦可以訪問一些有 Flash 的網站驗証。

修正顯示中文問題

如發現 Flash 不能顯示中文,可以按以下方法修正問題。

使用您喜愛的文字編輯器開啟檔案 /etc/fonts/conf.d/49-sansserif.conf (例如使用 vi) :

sudo vi /etc/fonts/conf.d/49-sansserif.conf

把檔案中的 <edit name="family" mode="append_last">...</edit> 裡的 sans-serif 改成 sans:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
	<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</string>
		</edit>
	</match>
</fontconfig>

儲存後執行命令 fc-cache -f 或重新登入使用者。

參考資料

  1. Wikipedia. Adobe Flash.
  2. 維基百科. Adobe Flash.
  3. Ubuntu Community. RestrictedFormats. Community Ubuntu Documentation. - 在 Ubuntu 播放受限制格式問題。

相關頁面

相關連結

Personal tools