Install MoreWaita icon pack from GitHub and apply the icon theme via dconf via dconf and remove temporary files Add flatpak-first-boot service to install Flathub apps on first boot and enable it Use system-wide Flathub remote with tolerant remote-add
This commit is contained in:
+12
-4
@@ -81,6 +81,12 @@ RUN echo "LANG=fr_FR.UTF-8" > /etc/locale.conf \
|
|||||||
&& ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime \
|
&& ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime \
|
||||||
&& echo "user.max_user_namespaces=28633" > /etc/sysctl.d/userns.conf
|
&& echo "user.max_user_namespaces=28633" > /etc/sysctl.d/userns.conf
|
||||||
|
|
||||||
|
# Installation du pack d'icones MoreWaita
|
||||||
|
RUN git clone https://github.com/somepaulo/MoreWaita.git && cd MoreWaita && ./install.sh && \
|
||||||
|
rm -rf MoreWaita && \
|
||||||
|
printf "[org/gnome/desktop/interface]\nicon-theme='MoreWaita'\n" > /etc/dconf/db/local.d/02-icon-theme && \
|
||||||
|
dconf update 2>/dev/null || true
|
||||||
|
|
||||||
#Configuration des fenêtres gnome pour avoir les btns style windows
|
#Configuration des fenêtres gnome pour avoir les btns style windows
|
||||||
RUN mkdir -p /etc/dconf/db/local.d /etc/dconf/profile && \
|
RUN mkdir -p /etc/dconf/db/local.d /etc/dconf/profile && \
|
||||||
printf "[org/gnome/desktop/wm/preferences]\nbutton-layout=':minimize,maximize,close'\n" > /etc/dconf/db/local.d/02-window-buttons && \
|
printf "[org/gnome/desktop/wm/preferences]\nbutton-layout=':minimize,maximize,close'\n" > /etc/dconf/db/local.d/02-window-buttons && \
|
||||||
@@ -90,10 +96,12 @@ RUN mkdir -p /etc/dconf/db/local.d /etc/dconf/profile && \
|
|||||||
#Activation du module xpad pour support manette xbox
|
#Activation du module xpad pour support manette xbox
|
||||||
RUN echo "xpad" > /etc/modules-load.d/xpad.conf
|
RUN echo "xpad" > /etc/modules-load.d/xpad.conf
|
||||||
|
|
||||||
# Ajout de flathub avec des apps par défaut
|
#Ajout de flathub
|
||||||
# RUN flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo \
|
RUN flatpak remote-add --if-not-exists --system flathub https://dl.flathub.org/repo/flathub.flatpakrepo || true
|
||||||
# && flatpak install -y --system flathub runtime/org.gnome.Platform/x86_64/49 \
|
|
||||||
# && flatpak install -y --system flathub io.github.kolunmi.Bazaar
|
#Activation du service flatpak-first-boot
|
||||||
|
COPY services/flatpak-first-boot.service /etc/systemd/system/flatpak-first-boot.service
|
||||||
|
RUN systemctl enable flatpak-first-boot.service
|
||||||
|
|
||||||
#Définir le target graphique par défaut
|
#Définir le target graphique par défaut
|
||||||
RUN systemctl set-default graphical.target
|
RUN systemctl set-default graphical.target
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Installation des Flatpaks au premier démarrage
|
||||||
|
After=network-online.target flatpak-system-helper.service
|
||||||
|
Wants=network-online.target
|
||||||
|
ConditionPathExists=!/var/lib/flatpak/.firstboot-done
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
RemainAfterExit=yes
|
||||||
|
ExecStart=/bin/bash -c '\
|
||||||
|
flatpak install -y --system flathub runtime/org.gnome.Platform/x86_64/49 && \
|
||||||
|
flatpak install -y --system flathub io.github.kolunmi.Bazaar && \
|
||||||
|
touch /var/lib/flatpak/.firstboot-done'
|
||||||
|
StandardOutput=journal
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
Reference in New Issue
Block a user