Ungoogled Chromium template and builds for Void Linux, based on the void-packages chromium template.
Note
Due to a rather stupid mistake on my part (wiping my ssd clean with no backup :c) the signing key for the ropository will have to be changed.
The new key 91:aa:05:51:81:3f:38:b6:6a:74:af:3f:40:2d:08:c3.plist will be imported on the first update.
To cleanup the old key remove:
the file: /var/db/xbps/keys/88:ac:8f:99:4d:b0:20:8f:6b:f0:8f:49:b9:13:fb:17.plist
and
the directory: /var/db/xbps/https___github_com_DAINRA_ungoogled-chromium-void_releases_latest_download_
Note
Consult void-packages documentation for more information about setting it up.
Clone and setup the void-packages repository in a work directory and:
git clone --depth=1 https://github.com/DAINRA/ungoogled-chromium-void.git
[[ -d void-packages/srcpkgs/ungoogled-chromium ]] && rm -r void-packages/srcpkgs/ungoogled-chromium
cp -r ungoogled-chromium-void/void-packages/srcpkgs/ungoogled-chromium void-packages/srcpkgs/
cd void-packages
./xbps-src pkg ungoogled-chromium
./xbps-src show-options ungoogled-chromium
=> ungoogled-chromium-120.0.6099.109_1: the following build options are set:
clang: Use clang to build (ON)
libcxx: Use bundled libc++ (ON)
pipewire: Enable support for screen sharing for WebRTC via PipeWire (ON)
pulseaudio: Enable support for the PulseAudio sound server (ON)
vaapi: Enable support for VA-API (ON)
debug: Build with debug symbols (OFF)
sndio: Enable support for the sndio sound server (OFF)
You can check the workflow file for the available builds:
ungoogled-chromium-void/.github/workflows/create-release.yml
Lines 35 to 40 in 17c6b58
and the Actions tab for current build progress.
Download the xbps
package from the releases page, index and install the package:
xbps-rindex -a *.xbps
sudo xbps-install -vR $PWD ungoogled-chromium
Add the releases page as a repository:
cat << EOF > /etc/xbps.d/20-ungoogled-chromium.conf
repository=https://github.com/DAINRA/ungoogled-chromium-void/releases/latest/download/
EOF
xbps-install -Su ungoogled-chromium
First xbps-install -S
run it will ask to import the repository key, same as 91:aa:05:51:81:3f:38:b6:6a:74:af:3f:40:2d:08:c3.plist.
- Although it is not included in the run dependencies,
gtk+3
package must be installed. - To enable VAAPI add
--enable-features=VaapiVideoDecoder
toCHROME_FLAGS
environment variable.
More info vaapi.md. Also check Void Handbook in case of problems. - For VAAPI
--disable-features=UseChromeOSDirectVideoDecoder
might also be needed.
Check inchrome://gpu
ifVideo Decode: Hardware accelerated
.
- Make sure you have
dbus
running (on glibc it doesn't matter).
Symptoms: crashes, pages stalling and refusing to load until browser restart, plugin crashes. - Try adding
--js-flags=--jitless
toCHROME_FLAGS
. If nothing else, it's a security hardening option.
- Lower ram usage:
--renderer-process-limit=2
renderer-process-limit. - Reduce disk activity:
--disk-cache-size=1 --v8-cache-options=none
disk-cache-size, v8-cache-options. - Dark Mode:
chrome://flags/#enable-force-dark
. - Global media controls can cause crashes either by opening or closing it, as described in this issue.
Either avoid using the feature or disable it completely (--disable-features=GlobalMediaControls
).