From b54f55a1bc9557cef933f35cbe8be1b758f89c2e Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 29 Apr 2024 12:37:48 +0300 Subject: [PATCH] document Microsoft Edge recommended policy --- etc/opt/edge/policies/recommended/.gitignore | 1 + etc/opt/edge/policies/recommended/managed | 1 + .../recommended/recommended/.gitignore | 4 ++ .../recommended/recommended/README.md | 37 +++++++++++++++++++ .../recommended/apps-as-homepage-edge.json | 4 ++ .../recommended/recommended/brave-search.json | 1 + .../disable-default-browser-check.json | 1 + .../recommended/recommended/duckduckgo.json | 1 + .../recommended/recommended/enable-home.json | 1 + 9 files changed, 51 insertions(+) create mode 100644 etc/opt/edge/policies/recommended/.gitignore create mode 120000 etc/opt/edge/policies/recommended/managed create mode 100644 etc/opt/edge/policies/recommended/recommended/.gitignore create mode 100644 etc/opt/edge/policies/recommended/recommended/README.md create mode 100644 etc/opt/edge/policies/recommended/recommended/apps-as-homepage-edge.json create mode 120000 etc/opt/edge/policies/recommended/recommended/brave-search.json create mode 120000 etc/opt/edge/policies/recommended/recommended/disable-default-browser-check.json create mode 120000 etc/opt/edge/policies/recommended/recommended/duckduckgo.json create mode 120000 etc/opt/edge/policies/recommended/recommended/enable-home.json diff --git a/etc/opt/edge/policies/recommended/.gitignore b/etc/opt/edge/policies/recommended/.gitignore new file mode 100644 index 00000000..2d0f4af8 --- /dev/null +++ b/etc/opt/edge/policies/recommended/.gitignore @@ -0,0 +1 @@ +managed diff --git a/etc/opt/edge/policies/recommended/managed b/etc/opt/edge/policies/recommended/managed new file mode 120000 index 00000000..a1da89f7 --- /dev/null +++ b/etc/opt/edge/policies/recommended/managed @@ -0,0 +1 @@ +../../../chromium/policies/managed \ No newline at end of file diff --git a/etc/opt/edge/policies/recommended/recommended/.gitignore b/etc/opt/edge/policies/recommended/recommended/.gitignore new file mode 100644 index 00000000..9d48ea38 --- /dev/null +++ b/etc/opt/edge/policies/recommended/recommended/.gitignore @@ -0,0 +1,4 @@ +brave-search.json +disable-default-browser-check.json +duckduckgo.json +enable-home.json diff --git a/etc/opt/edge/policies/recommended/recommended/README.md b/etc/opt/edge/policies/recommended/recommended/README.md new file mode 100644 index 00000000..cdcbb5ac --- /dev/null +++ b/etc/opt/edge/policies/recommended/recommended/README.md @@ -0,0 +1,37 @@ +# Microsoft Edge recommended policies + + + + + + + +- [Fedora?](#fedora) + + + + + + +Because apparently Microsoft is so allergic to Chrome, despite being based on +Chromium that they have to rewrite `chrome://` into `edge://` without handling +automatic redirect from the former, so my policy for apps as new page breaks +and suggests opening _Firefox Developer Edition_ for whatever reason. + +Thus separate recommended profiles for Microsoft Edge, just so this one is +fixed. + +**_Don't expect this directory to be updated, I will probably forget it +myself._** + +## Fedora? + +```bash +# Removes all three versions of Microsoft Edge from the system. +sudo dnf remove -y microsoft-edge-{stable,beta,dev} +# Remove all three Microsoft Edge repositories +rm -rv /etc/yum.repos.d/microsoft-edge{,-beta,-dev}.repo +# Removes the crontab entries to restore the above, if they didn't get removed +# already. +rm -v /etc/cron.daily/microsoft-edge{,-beta,-dev} +``` diff --git a/etc/opt/edge/policies/recommended/recommended/apps-as-homepage-edge.json b/etc/opt/edge/policies/recommended/recommended/apps-as-homepage-edge.json new file mode 100644 index 00000000..70b2425f --- /dev/null +++ b/etc/opt/edge/policies/recommended/recommended/apps-as-homepage-edge.json @@ -0,0 +1,4 @@ +{ + "HomepageIsNewTabPage": true, + "NewTabPageLocation": "edge://apps" +} diff --git a/etc/opt/edge/policies/recommended/recommended/brave-search.json b/etc/opt/edge/policies/recommended/recommended/brave-search.json new file mode 120000 index 00000000..9d76c12b --- /dev/null +++ b/etc/opt/edge/policies/recommended/recommended/brave-search.json @@ -0,0 +1 @@ +../../../../chromium/policies/recommended/brave-search.json \ No newline at end of file diff --git a/etc/opt/edge/policies/recommended/recommended/disable-default-browser-check.json b/etc/opt/edge/policies/recommended/recommended/disable-default-browser-check.json new file mode 120000 index 00000000..239402ff --- /dev/null +++ b/etc/opt/edge/policies/recommended/recommended/disable-default-browser-check.json @@ -0,0 +1 @@ +../../../../chromium/policies/recommended/disable-default-browser-check.json \ No newline at end of file diff --git a/etc/opt/edge/policies/recommended/recommended/duckduckgo.json b/etc/opt/edge/policies/recommended/recommended/duckduckgo.json new file mode 120000 index 00000000..a290d7a2 --- /dev/null +++ b/etc/opt/edge/policies/recommended/recommended/duckduckgo.json @@ -0,0 +1 @@ +../../../../chromium/policies/recommended/duckduckgo.json \ No newline at end of file diff --git a/etc/opt/edge/policies/recommended/recommended/enable-home.json b/etc/opt/edge/policies/recommended/recommended/enable-home.json new file mode 120000 index 00000000..98a53a1a --- /dev/null +++ b/etc/opt/edge/policies/recommended/recommended/enable-home.json @@ -0,0 +1 @@ +../../../../chromium/policies/recommended/enable-home.json \ No newline at end of file