From bcf7466f957354f0953d44f57fee9a2d0949d675 Mon Sep 17 00:00:00 2001 From: Michael Trip Date: Wed, 31 May 2023 16:26:31 +0200 Subject: [PATCH] fixed for mate --- mate/Dockerfile | 34 +++++++++++++++++++++++----------- 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/mate/Dockerfile b/mate/Dockerfile index eaee7cb..ee6ebda 100644 --- a/mate/Dockerfile +++ b/mate/Dockerfile @@ -25,17 +25,29 @@ RUN \ thunderbird \ firefox \ code && \ - echo "**** application tweaks ****" && \ - sed -i \ - 's#^Exec=.*#Exec=/usr/local/bin/wrapped-chromium#g' \ - /usr/share/applications/chromium-browser.desktop && \ - mv /usr/bin/exo-open /usr/bin/exo-open-real && \ - echo "**** cleanup ****" && \ - dnf autoremove -y && \ - dnf clean all && \ - rm -rf \ - /config/.cache \ - /tmp/* + echo "**** application tweaks ****" && \ + sed -i \ + 's#^Exec=.*#Exec=/usr/local/bin/wrapped-chromium#g' \ + /usr/share/applications/chromium-browser.desktop && \ + echo "**** mate tweaks ****" && \ + rm -f \ + /etc/xdg/autostart/at-spi-dbus-bus.desktop \ + /etc/xdg/autostart/gnome-keyring-pkcs11.desktop \ + /etc/xdg/autostart/gnome-keyring-secrets.desktop \ + /etc/xdg/autostart/gnome-keyring-ssh.desktop \ + /etc/xdg/autostart/mate-power-manager.desktop \ + /etc/xdg/autostart/mate-screensaver.desktop \ + /etc/xdg/autostart/polkit-mate-authentication-agent-1.desktop && \ + sed -i \ + '/compositing-manager/{n;s/.*/ false<\/default>/}' \ + /usr/share/glib-2.0/schemas/org.mate.marco.gschema.xml && \ + glib-compile-schemas /usr/share/glib-2.0/schemas/ && \ + echo "**** cleanup ****" && \ + dnf autoremove -y && \ + dnf clean all && \ + rm -rf \ + /config/.cache \ + /tmp/* # add local files