browsers - nurmi-labs/blogger GitHub Wiki

Chrome

108.0.5359.98

Policies

$ cat /etc/opt/chrome/policies/managed/policies.json   
{
  "BlockExternalExtensions": true,
  "DefaultBrowserSettingEnabled": false,
  "DefaultSearchProviderEnabled": false
}
$ 

User startup

$ cat ~/.local/share/applications/google-chrome.desktop
[Desktop Entry]
Version=1.0
Name=Google Chrome
GenericName=Web Browser
Exec=LANG=da_DK.utf8 /usr/bin/google-chrome-stable %U
StartupNotify=true
Terminal=false
Icon=/opt/google/chrome/product_logo_256.png
Type=Application
Categories=Network;WebBrowser;
MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/http;x-scheme-handler/https;
Actions=new-window;new-private-window;

[Desktop Action new-window]
Name=New Window
Exec=/usr/bin/google-chrome-stable

[Desktop Action new-private-window]
Name=New Incognito Window
Exec=/usr/bin/google-chrome-stable --incognito
$ 

Edge

108.0.1462.42

Policies

$ cat /etc/opt/edge/policies/managed/policies.json
{
  "DefaultBrowserSettingEnabled": false
}
$ 

Profile

$ cat ~/.local/share/applications/edge-danish.desktop
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Name=Edge (Danish)
GenericName=Web Browser
Exec=LANG=da_DK.utf8 /usr/bin/microsoft-edge-stable --user-data-dir=$HOME/.config/edge-danish %U
StartupNotify=true
Terminal=false
Icon=/opt/microsoft/msedge/product_logo_256.png
Type=Application
Categories=Network;WebBrowser;
MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/http;x-scheme-handler/https;
Actions=new-window;new-private-window;

[Desktop Action new-window]
Name=New Window
Exec=/usr/bin/microsoft-edge-stable

[Desktop Action new-private-window]
Name=New InPrivate Window
Exec=/usr/bin/microsoft-edge-stable --inprivate
$ 

KWallet

Disable opening a kwallet window on browser startup.

$ awk 'NR==5' ~/.local/share/applications/chromium.desktop
Exec=env DBUS_SESSION_BUS_ADDRESS=none /usr/bin/chromium %U
$ 

Yandex

23.7.1.1215

Policies

# mkdir -p /etc/opt/yandex/browser/policies/managed
# cat <<EOF > /etc/opt/yandex/browser/policies/managed/policies.json
> {
>   "BlockExternalExtensions": true,
>   "DefaultBrowserSettingEnabled": false
> }
> EOF
# 

User startup

Open the Yandex search engine page in a tab on startup of the browser.

Interface

Tabs and groups
☑ Restore tabs and groups at startup
     ☑ If there aren't any tabs, open a different website ⌄ https://yandex.com
     ☑ Restore tabs and open a new tab
     ☑ Restore tabs in web application windows

⚠️ **GitHub.com Fallback** ⚠️