Chromium (简体中文)

翻译状态: 本文是英文页面 Chromium翻译,最后翻译时间:2015-03-10,点击这里可以查看翻译后英文页面的改动。

Chromium 是一款来自Google的开源图形网络浏览器,基于 WebKit渲染引擎。

安装

稳定版的 Chromium 位于 官方源 可以直接安装 chromium

AUR中可以找到

注意: 完整的编译 Chromium-devAUR 至少要花费编译Linux内核一样长的时间。

AUR中还有包含 Flash Player 的二进制版的google-chromeAUR

Chromium 与 Chrome 比较 可以查看Chromium vs Chrome和版本号的区别。

配置

设置成默认浏览器

默认浏览器通过xdg-open设置,详情请参阅xdg-open#set the default browserDefault applications

更多信息请阅读 Xdg-open

文件关联

Chromium 依赖xdg-open打开文件和链接,详情参阅xdg-open#Configuration默认程序.

Flash播放器

注意: Chromium 不再支持 Netscape plugin API (NPAPI),flashplugin 已经无法工作。

可以使用 Google Chrome (新Pepper API)提供的 Flash.

可以通过AUR中提供的软件包进行安装:

请在chrome://plugins中启用 /usr/lib/PepperFlash/libpepflashplayer.so.

在Chromium中打开pdf文件

有多种方法可以实现:

libpdf

libpdf是谷歌自己的 pdf 查看工具,从 Chromium V37 中开始包含。

PDF.js

请参考 Browser plugins#PDF.js

证书管理

Chromium 使用 NSS 管理证书,可以通过SettingsShow advanced settings...Manage Certificates... 设置。

疑难解答

杂音

如果在使用 HDMI 的时候出现杂音,可以试下增大声音缓存的大小:

$ chromium --audio-buffer-size=2048

PDF 插件中的字体问题

安装软件包 ttf-liberation 可以解决一些 PDF 的字体显示问题,不然的话替代字体会显示成其他的文字。reported on the chromium bug 报告.

Force 3D acceleration in Flash Player and the browser

Warning: Disabling the rendering list may cause unstable behaviour, including crashes of the host. See the bug reports in chrome://gpu.

First, make sure you have all the required packages as explained in VDPAU. Then, to force 3D rendering enable the flag "Override software rendering list" in chrome://flags. Check if it is working in chrome://gpu. This may also alleviate tearing issues with the radeon driver.

代理设置

许多情况下代理设置无法正常工作,尤其是在 KDE 界面中。解决方法是使用Chromium的命令行选项例如--proxy-pac-url--proxy-server进行代理设置。

WebGL

有时 Chromium 会在某些显卡配置中禁用 WebGL,可以通过URL中输入about:flags,然后启用 WebGL. 通过命令行 --enable-webgl 选项也能启用它。

有可能 Chromium 把你的显卡列入了黑名单,如果是这样,可以通过--ignore-gpu-blacklist选项禁用黑名单。或者在about:flags 中启用 Override software rendering list.

Google Play and Flash

DRM content on Flash still requires HAL to play. This is readily apparent with Google Play Movies. If one attempts to play a Google Play movie without HAL, they will receive a YouTube-like screen, but the video will not play. See Flash DRM content for more information.

Force 3D acceleration in Pepper Flash Player and i.g. the browser with radeon driver

First, make sure you have all the required packages as explained in VDPAU. Then, to force 3D rendering enable the flag "Override software rendering list" in chrome://flags. Check if it is working in chrome://gpu.

Asian characters not displayed with language set to English

This is a known issue with all Chromium versions up to v42. [1] As a workaround, install fonts separately: ttf-arphic-ukai, ttf-arphic-uming and ttf-unfonts-coreAUR. [2]

资源