From c501b108de944d0ddb68f7a62aaed95f6b9c2882 Mon Sep 17 00:00:00 2001 From: m1k1o Date: Sat, 3 Apr 2021 14:18:38 +0200 Subject: [PATCH] fix chromium path. --- .m1k1o/chromium/Dockerfile.arm | 1 + .m1k1o/chromium/supervisord.conf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.m1k1o/chromium/Dockerfile.arm b/.m1k1o/chromium/Dockerfile.arm index 4cbb4ac7..6ac2e04f 100644 --- a/.m1k1o/chromium/Dockerfile.arm +++ b/.m1k1o/chromium/Dockerfile.arm @@ -5,6 +5,7 @@ FROM $BASE_IMAGE # install neko chromium RUN set -eux; apt-get update; \ apt-get install -y --no-install-recommends unzip chromium-browser openbox libwidevinecdm0; \ + ln -s /usr/bin/chromium-browser /usr/bin/chromium; \ # # clean up apt-get --purge autoremove -y unzip; \ diff --git a/.m1k1o/chromium/supervisord.conf b/.m1k1o/chromium/supervisord.conf index 635fb03f..a9720173 100644 --- a/.m1k1o/chromium/supervisord.conf +++ b/.m1k1o/chromium/supervisord.conf @@ -1,6 +1,6 @@ [program:chromium] environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY="%(ENV_DISPLAY)s" -command=/usr/bin/chromium-browser --window-position=0,0 --display=%(ENV_DISPLAY)s --user-data-dir=/home/neko/.config/chromium --no-first-run --start-maximized --bwsi --force-dark-mode --disable-file-system --disable-gpu --disable-software-rasterizer --disable-dev-shm-usage +command=/usr/bin/chromium --window-position=0,0 --display=%(ENV_DISPLAY)s --user-data-dir=/home/neko/.config/chromium --no-first-run --start-maximized --bwsi --force-dark-mode --disable-file-system --disable-gpu --disable-software-rasterizer --disable-dev-shm-usage autorestart=true priority=800 user=%(ENV_USER)s