Chromium: Difference between revisions
m Adjust the position of page translation tags |
Restructure, remove MV2 section and improve grammar |
||
| Line 10: | Line 10: | ||
== Updating browser policies == | == Updating browser policies == | ||
In Chromium | In Chromium, policy settings are accessible via {{Ic|chrome://policy}}. They allow the user to change enterprise policies affecting things like | ||
* Creating webapps when the browser is installed | * Creating webapps when the browser is installed | ||
| Line 17: | Line 17: | ||
* Disable screenshots to be taken with browser extensions | * Disable screenshots to be taken with browser extensions | ||
* Block all downloads from the browser (if you want to do that for some reason) | * Block all downloads from the browser (if you want to do that for some reason) | ||
* and | * and more! | ||
A full list of policies can be found at [https://chromeenterprise.google/policies/ Chrome Enterprise Policy List & Management]. | |||
=== Natively Supported Policies === | === Natively Supported Policies === | ||
| Line 55: | Line 57: | ||
=== Non-natively Supported Policies === | === Non-natively Supported Policies === | ||
There are hundreds of policies in Chromium based browsers, and not all have direct methods to set them. The {{Ic|extraOpts}} option allows for the declaration of all the other policies. | |||
There is no | There is no single place to find all Chromium policies, but these are some places to look; | ||
* | * Commonly used policies are present and documented within {{Ic|man configuration.nix}} under {{Ic|programs.chromium}}. | ||
* | * You can navigate to {{Ic|chrome://policy}} and enable "Show policies with no value set" to see all available keys. Clicking a policy name opens its specific definition and usage details. | ||
* The most up to date policies for Chromium are available in the [https://source.chromium.org/chromium/chromium/src/+/main:chrome/common/pref_names.h source code.] | |||
* | |||
== Accelerated video playback == | == Accelerated video playback == | ||
Make sure [[Special:MyLanguage/Accelerated Video Playback|Accelerated Video Playback]] is setup on the system properly. Check {{ic|chrome://gpu}} to see if Chromium has enabled hardware acceleration. | Make sure [[Special:MyLanguage/Accelerated Video Playback|Accelerated Video Playback]] is setup on the system properly. Check {{ic|chrome://gpu}} to see if Chromium has enabled hardware acceleration. | ||
If accelerated video playback is not working, check relevant flags at {{ic|chrome://flags}}, or enable them using the | If accelerated video playback is not working, check relevant flags at {{ic|chrome://flags}}, or enable them using the CLI: | ||
</translate> | </translate> | ||
| Line 88: | Line 87: | ||
<translate> | <translate> | ||
In some cases, {{ic|chrome://gpu}} will show Video Decode as enabled, but Video Acceleration Information as blank, with {{ic|chrome://media-internals}} using FFmpeg Video Decoder (software decoding). If this happens, try to enable the following features: | In some cases, {{ic|chrome://gpu}} will show Video Decode as enabled, but Video Acceleration Information as blank, with {{ic|chrome://media-internals}} using the FFmpeg Video Decoder (software decoding). If this happens, try to enable the following features: | ||
</translate> | </translate> | ||
| Line 110: | Line 109: | ||
== Enabling native Wayland support == | == Enabling native Wayland support == | ||
You can | You can enable native Wayland support in all Chromium based and most Electron apps by setting the `NIXOS_OZONE_WL` environment variable to `1`. | ||
== Enabling DRM (Widevine support) == | == Enabling DRM (Widevine support) == | ||
By default, {{nixos:package|chromium}} does not support playing DRM protected media. However, there is a build time flag to include the | By default, {{nixos:package|chromium}} does not support playing DRM protected media. However, there is a build time flag to include the proprietary Widevine blob from Nixpkgs: | ||
</translate> | </translate> | ||