#Flash, java, mp3 and mp4 and pdf support for Chromium OS builds by hexxeh This script downloads. Download chromium-pdf-plugin-17.0.0.134-1.el7.R.x8664.rpm for CentOS 7 from Russian Fedora Nonfree Updates repository.
Chromium OS
|
Chromium is an open-source graphical web browser based on the Blink rendering engine. It is the basis for the proprietary Google Chrome browser.
Google Chrome has following notable built-in features over Chromium:
- Widevine EME for e.g. Netflix, also available via chromium-widevineAUR.
- Flash player, also available via pepper-flash. (will be removed in December 2020)
- Native client (NaCl). (will be removed in June 2021)
See these two articles [1][2] for an explanation of the differences between Chromium and Chrome.
See List of applications/Internet#Blink-based for other browsers based on Chromium.
- 2Configuration
- 4Troubleshooting
- 4.1Fonts
Installation
There are several packages available to install Chromium with:
- chromium – stable release.
- chromium-devAUR – development release.
- chromium-snapshot-binAUR – nightly build.
- chromium-vaapiAUR – patched stable release with VA-API.
- chromium-vaapi-binAUR – patched stable release with VA-API, pre-compiled.
- chromium-ozoneAUR – stable release compiled with wayland support via ozone
Google Chrome packages:
- google-chromeAUR – stable release.
- google-chrome-betaAUR – beta release.
- google-chrome-devAUR – development release.
Configuration
Default applications
To set Chromium as the default browser and to change which applications Chromium launches when opening downloaded files, see default applications.
Certificates
Chromium uses Network Security Services for certificate management. Certificates can be managed in chrome://settings/certificates
.
Widevine Content Decryption Module plugin
Widevine is Google's Encrypted Media Extensions (EME) Content Decryption Module (CDM). It is used to watch premium video content such as Netflix. It is automatically installed when using Google Chrome.
To install it for Chromium, install the chromium-widevineAUR package. Make sure Allow sites to play protected content is checked in chrome://settings/content/protectedContent
.
Force GPU acceleration
chrome://gpu
for details.By default Chromium on Linux doesn't use any GPU acceleration. To force GPU acceleration, append the following flags to persistent configuration:
Additionally the flag --disable-gpu-driver-bug-workarounds
may need to be passed to prevent GPU workaround from being used. Flags in chrome://gpu
should state 'Hardware accelerated' when configured and available.
Hardware video acceleration
Accelerated video decoding using VA-API can be used with community made patches [3], packages are available in AUR as chromium-vaapiAUR or chromium-vaapi-binAUR.
Be sure to install correct VA-API driver for your video card and verify VA-API has been enabled and working correctly, see Hardware video acceleration#Verifying VA-API.
To enable video acceleration, append the --ignore-gpu-blacklist
flag to persistent configuration
--disable-gpu-driver-bug-workarounds
to remove video freezes (especially when watching in fullscreen).If you keep seeing some issues during playback, try to set also --use-gl=egl
option.
To check if it's working play a video which is using a codec supported by your VA-API driver (vainfo tell you which codecs are supported) go to chrome://media-internals/ and check video_decoder :
- Hardware acceleration: MojoVideoDecoder, GpuVideoDecoder
- Software acceleration: VpxVideoDecoder, FFmpegVideoDecoder (some say it's Hardware acceleration?)
Also chrome://gpu should read Video Decode: Hardware accelerated
PDF viewer plugin
Chromium and Google Chrome are bundled with the Chromium PDF Viewer plugin. If you don't want to use this plugin, check Open PDFs using a different application in chrome://settings/content/pdfDocuments
.
Flash Player plugin
Flash Player is automatically installed when using Google Chrome.
To install it for Chromium, install the pepper-flash package.
Make sure Flash is allowed to run in chrome://settings/content/flash
.
Tips and tricks
See the main article: Chromium/Tips and tricks.
Troubleshooting
Fonts
Font rendering issues in PDF plugin
To fix the font rendering in some PDFs one has to install the ttf-liberation package, otherwise the substituted font causes text to run into other text. This was reported on the chromium bug tracker by an Arch user.
Font rendering issues of UTF characters
UTF characters may render as boxes (e.g. simplified Chinese characters). Installing ttf-liberation will allow for the characters to be rendered as expected.
Tab font size is too large
Chromium will use the GTK settings as described in GTK#Configuration. When configured, Chromium will use the gtk-font-name
setting for tabs (which may mismatch window font size). To override these settings, use --force-device-scale-factor=1.0
.
WebGL
There is the possibility that your graphics card has been blacklisted by Chromium. See #Force GPU acceleration.
If you are using Chromium with Bumblebee, WebGL might crash due to GPU sandboxing. In this case, you can disable GPU sandboxing with optirun chromium --disable-gpu-sandbox
.
Visit chrome://gpu/
Verbatim store n go windows 98 drivers for mac. for debugging information about WebGL support.
Chromium can save incorrect data about your GPU in your user profile (e.g. if you use switch between an Nvidia card using Optimus and Intel, it will show the Nvidia card in chrome://gpu
even when you're not using it or primusrun/optirun). Running using a different user directory, e.g, chromium --user-data-dir=$(mktemp -d)
may solve this issue. For a persistent solution you can reset the GPU information by deleting ~/.config/chromium/Local State
.
Incorrect HiDPI rendering
Chromium will automatically scale for a HiDPI display, however this may cause an incorrect renderend GUI.
The flag --force-device-scale-factor=1
may be used to overrule the automatic scaling factor.
On Wayland, the chromium-ozoneAUR package will automatically scale based on the configured scale of each monitor.
Password prompt on every start with GNOME Keyring
See GNOME/Keyring#Passwords are not remembered.
Chromecasts in the network are not discovered
You will need to enable the Media Router Component Extension in chrome://flags/#load-media-router-component-extension
.
Losing cookies and passwords when switching between desktop environments
If you see the message Failed to decrypt token for service AccountId-*
in the terminal when you start Chromium, it might try to use the wrong password storage backend. This might happen when you switch between Desktop Environments.
See Chromium/Tips and tricks#Force a password store.
Hang on startup when Google Sync enabled
Try launching Chrome with --password-store=basic
or another appropriate password store.
See Chromium/Tips and tricks#Force a password store.
Shortcuts are not getting created
This article or section needs expansion.
Install xdg-utils.