fixed chromium

This commit is contained in:
Michael Trip 2023-05-31 16:07:11 +02:00
parent cd2ed14750
commit a7d719c547
2 changed files with 30 additions and 11 deletions

View file

@ -13,6 +13,7 @@ RUN \
dnf install -y --setopt=install_weak_deps=False --best \
terminator \
tilix \
chromium \
kubernetes-client \
libreoffice \
pluma \
@ -23,12 +24,20 @@ RUN \
thunderbird \
firefox \
code && \
echo "**** cleanup ****" && \
dnf autoremove -y && \
dnf clean all && \
rm -rf \
/tmp/*
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 "**** xfce tweaks ****" && \
rm -f \
/etc/xdg/autostart/xfce-polkit.desktop && \
echo "**** cleanup ****" && \
dnf autoremove -y && \
dnf clean all && \
rm -rf \
/config/.cache \
/tmp/*
# Remove this due to errors
RUN dnf -y remove xfce4-power-manager && rm -rf /etc/xdg/autostart/xfce-polkit.desktop && dnf clean all