commit: c8c48fb7e10f91a254994908479898a76685adab Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> AuthorDate: Fri Feb 17 18:57:24 2023 +0000 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> CommitDate: Fri Feb 17 18:57:24 2023 +0000 URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=c8c48fb7
livegui/fsscript: adjust how we set firefox as default Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> releases/specs/amd64/livegui/files/fsscript-stage2.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/releases/specs/amd64/livegui/files/fsscript-stage2.sh b/releases/specs/amd64/livegui/files/fsscript-stage2.sh index 013f4d65..d1e3d944 100755 --- a/releases/specs/amd64/livegui/files/fsscript-stage2.sh +++ b/releases/specs/amd64/livegui/files/fsscript-stage2.sh @@ -29,8 +29,17 @@ echo "[Daemon] Autolock=false" > .config/kscreenlockerrc # Firefox as default browser -echo "[Default Applications] -text/html=firefox.desktop" > .config/mimeapps.list +echo \ +"[Added Associations] +inode/directory=org.kde.dolphin.desktop; +x-scheme-handler/http=firefox-esr.desktop;chromium-browser-chromium.desktop; +x-scheme-handler/https=firefox-esr.desktop;chromium-browser-chromium.desktop; + +[Default Applications] +inode/directory=org.kde.dolphin.desktop; +x-scheme-handler/http=firefox-esr.desktop; +x-scheme-handler/https=firefox-esr.desktop;" \ + > .config/mimeapps.list # Customize taskbar pinned apps wget "https://dev.gentoo.org/~bkohler/livegui/plasma-org.kde.plasma.desktop-appletsrc" -O \
