From 985689d3c255f19a5e68329f348dcd5557b264e0 Mon Sep 17 00:00:00 2001 From: Mace Muilman Date: Fri, 15 May 2020 14:31:35 +0200 Subject: [PATCH 1/4] Allow google-chrome access to the custom flags files in ~/.config. --- etc/profile-a-l/google-chrome.profile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/profile-a-l/google-chrome.profile b/etc/profile-a-l/google-chrome.profile index c69e98271f9..8de02712213 100644 --- a/etc/profile-a-l/google-chrome.profile +++ b/etc/profile-a-l/google-chrome.profile @@ -13,5 +13,8 @@ mkdir ${HOME}/.config/google-chrome whitelist ${HOME}/.cache/google-chrome whitelist ${HOME}/.config/google-chrome +whitelist ${HOME}/.config/chrome-flags.conf +whitelist ${HOME}/.config/chrome-flags.config + # Redirect include chromium-common.profile From 69ab58c61019bdab7e9189dd08259725f6c29a31 Mon Sep 17 00:00:00 2001 From: Mace Muilman Date: Fri, 15 May 2020 23:49:01 +0200 Subject: [PATCH 2/4] Added noblacklist for the custom flag files for google-chrome-stable. --- etc/profile-a-l/google-chrome.profile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/profile-a-l/google-chrome.profile b/etc/profile-a-l/google-chrome.profile index 8de02712213..66f76caa0f0 100644 --- a/etc/profile-a-l/google-chrome.profile +++ b/etc/profile-a-l/google-chrome.profile @@ -8,6 +8,9 @@ include globals.local noblacklist ${HOME}/.cache/google-chrome noblacklist ${HOME}/.config/google-chrome +noblacklist ${HOME}/.config/chrome-flags.conf +noblacklist ${HOME}/.config/chrome-flags.config + mkdir ${HOME}/.cache/google-chrome mkdir ${HOME}/.config/google-chrome whitelist ${HOME}/.cache/google-chrome From bf5265b3b2d48d4194a0036f586651914329e6d0 Mon Sep 17 00:00:00 2001 From: Mace Muilman Date: Fri, 15 May 2020 23:50:03 +0200 Subject: [PATCH 3/4] Allow read access to the custom flag files for both google-chrome-beta and google-chrome-unstable. --- etc/profile-a-l/google-chrome-beta.profile | 6 ++++++ etc/profile-a-l/google-chrome-unstable.profile | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/etc/profile-a-l/google-chrome-beta.profile b/etc/profile-a-l/google-chrome-beta.profile index 73101f5098d..a62e4cf7458 100644 --- a/etc/profile-a-l/google-chrome-beta.profile +++ b/etc/profile-a-l/google-chrome-beta.profile @@ -8,10 +8,16 @@ include globals.local noblacklist ${HOME}/.cache/google-chrome-beta noblacklist ${HOME}/.config/google-chrome-beta +noblacklist ${HOME}/.config/chrome-beta-flags.conf +noblacklist ${HOME}/.config/chrome-beta-flags.config + mkdir ${HOME}/.cache/google-chrome-beta mkdir ${HOME}/.config/google-chrome-beta whitelist ${HOME}/.cache/google-chrome-beta whitelist ${HOME}/.config/google-chrome-beta +whitelist ${HOME}/.config/chrome-beta-flags.conf +whitelist ${HOME}/.config/chrome-beta-flags.config + # Redirect include chromium-common.profile diff --git a/etc/profile-a-l/google-chrome-unstable.profile b/etc/profile-a-l/google-chrome-unstable.profile index 50e9923aaf3..14547eab25d 100644 --- a/etc/profile-a-l/google-chrome-unstable.profile +++ b/etc/profile-a-l/google-chrome-unstable.profile @@ -8,10 +8,16 @@ include globals.local noblacklist ${HOME}/.cache/google-chrome-unstable noblacklist ${HOME}/.config/google-chrome-unstable +noblacklist ${HOME}/.config/chrome-unstable-flags.conf +noblacklist ${HOME}/.config/chrome-unstable-flags.config + mkdir ${HOME}/.cache/google-chrome-unstable mkdir ${HOME}/.config/google-chrome-unstable whitelist ${HOME}/.cache/google-chrome-unstable whitelist ${HOME}/.config/google-chrome-unstable +whitelist ${HOME}/.config/chrome-unstable-flags.conf +whitelist ${HOME}/.config/chrome-unstable-flags.config + # Redirect include chromium-common.profile From e1a413dfa29cebc9f5c287210792cd8bb1a491bd Mon Sep 17 00:00:00 2001 From: Mace Muilman Date: Fri, 15 May 2020 23:51:10 +0200 Subject: [PATCH 4/4] Added the custom flag files for google-chrome stable, beta and unstable to the disable-programs.inc list. --- etc/inc/disable-programs.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 2c6ffb287b4..30685761705 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc @@ -161,6 +161,12 @@ blacklist ${HOME}/.config/cantata blacklist ${HOME}/.config/catfish blacklist ${HOME}/.config/celluloid blacklist ${HOME}/.config/cherrytree +blacklist ${HOME}/.config/chrome-flags.conf +blacklist ${HOME}/.config/chrome-flags.config +blacklist ${HOME}/.config/chrome-beta-flags.conf +blacklist ${HOME}/.config/chrome-beta-flags.config +blacklist ${HOME}/.config/chrome-unstable-flags.conf +blacklist ${HOME}/.config/chrome-unstable-flags.config blacklist ${HOME}/.config/chromium blacklist ${HOME}/.config/chromium-dev blacklist ${HOME}/.config/chromium-flags.conf