Package: chromium Version: 55.0.2883.75-5 Followup-For: Bug #851692 Hi!
The attached patch to the chromium launcher script allows enabling extensions by adding a file to /etc/chromium.d/ with the line: CHROME_ENABLE_REMOTE_EXTENSIONS=1 Currently, it is really difficult to enable extensions, so my adblock extensions is disabled :-( Thanks, -- System Information: Debian Release: 9.0 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages chromium depends on: ii libasound2 1.1.2-1 ii libatk1.0-0 2.22.0-1 ii libavcodec-extra57 7:3.2.2-1 ii libavformat57 7:3.2.2-1 ii libavutil55 7:3.2.2-1 ii libc6 2.24-9 ii libcairo2 1.14.8-1 ii libcups2 2.2.1-6 ii libdbus-1-3 1.10.14-1 ii libevent-2.0-5 2.0.21-stable-2.1 ii libexpat1 2.2.0-2 ii libflac8 1.3.2-1 ii libfontconfig1 2.11.0-6.7 ii libfreetype6 2.6.3-3+b1 ii libgcc1 1:6.3.0-3 ii libgdk-pixbuf2.0-0 2.36.4-1 ii libglib2.0-0 2.50.2-2 ii libgtk2.0-0 2.24.31-1 ii libharfbuzz0b 1.2.7-1+b1 ii libicu57 57.1-5 ii libjpeg62-turbo 1:1.5.1-2 ii libminizip1 1.1-8 ii libnspr4 2:4.12-6 ii libnss3 2:3.26.2-1 ii libpango-1.0-0 1.40.3-3 ii libpangocairo-1.0-0 1.40.3-3 ii libpng16-16 1.6.28-1 ii libpulse0 10.0-1 ii libre2-3 20170101+dfsg-1 ii libsnappy1v5 1.1.3-3 ii libstdc++6 6.3.0-3 ii libvpx4 1.6.1-2 ii libwebp6 0.5.2-1 ii libwebpdemux2 0.5.2-1 ii libx11-6 2:1.6.4-2 ii libx11-xcb1 2:1.6.4-2 ii libxcb1 1.12-1 ii libxcomposite1 1:0.4.4-2 ii libxcursor1 1:1.1.14-1+b1 ii libxdamage1 1:1.1.4-2+b1 ii libxext6 2:1.3.3-1 ii libxfixes3 1:5.0.3-1 ii libxi6 2:1.7.8-2 ii libxml2 2.9.4+dfsg1-2.1 ii libxrandr2 2:1.5.1-1 ii libxrender1 1:0.9.10-1 ii libxslt1.1 1.1.29-2 ii libxss1 1:1.2.2-1 ii libxtst6 2:1.2.3-1 ii x11-utils 7.7+3 ii xdg-utils 1.1.1-1 ii zlib1g 1:1.2.8.dfsg-4 Versions of packages chromium recommends: ii fonts-liberation 1:1.07.4-2 Versions of packages chromium suggests: pn chromium-driver <none> ii chromium-l10n 55.0.2883.75-5 pn chromium-shell <none> ii chromium-widevine 55.0.2883.75-5 -- no debconf information
--- chromium.orig 2017-01-21 19:57:28.782389670 -0300 +++ chromium 2017-01-21 19:56:28.017972885 -0300 @@ -41,6 +41,9 @@ ;; esac +# Initial settings +CHROME_ENABLE_REMOTE_EXTENSIONS=0 + # Source additional settings for file in /etc/chromium.d/*; do test $file = /etc/chromium.d/README || expr $file : .*\.dpkg > /dev/null || . $file @@ -60,7 +63,6 @@ want_debug=0 want_temp_profile=0 -want_remote_extensions=0 while [ $# -gt 0 ]; do case "$1" in -h | --help | -help ) @@ -73,7 +75,7 @@ want_temp_profile=1 shift ;; --enable-remote-extensions ) - want_remote_extensions=1 + CHROME_ENABLE_REMOTE_EXTENSIONS=1 shift ;; -- ) # Stop option prcessing shift @@ -84,7 +86,7 @@ done # Whitelist installed extensions that are specified via --load-extension -if [ $want_remote_extensions -eq 0 ]; then +if [ $CHROME_ENABLE_REMOTE_EXTENSIONS -eq 0 ]; then export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --disable-extensions-except=$(echo $CHROMIUM_FLAGS | tr ' ' \\n | grep \\-\\-load-extension | cut -d= -f2 | tr \\n ,)" fi