Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

Commit

Permalink
Disable GNOME welcome dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
amezin committed Aug 27, 2023
1 parent c4e8c9d commit f1712df
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 5 deletions.
5 changes: 3 additions & 2 deletions archlinux.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM archlinux:latest@sha256:e21266b93a65192313d3857651abf2b5a194bad9438b3d8a565
RUN pacman -Syu --noconfirm gnome-shell vte3 xorg-server-xvfb xorg-xinit mesa packagekit gdm && \
pacman -Scc --noconfirm

COPY common /
COPY common archlinux /

RUN systemctl set-default gnome-session-x11.target && \
systemctl mask systemd-oomd low-memory-monitor rtkit-daemon udisks2 && \
Expand All @@ -14,7 +14,8 @@ RUN systemctl set-default gnome-session-x11.target && \
mkdir -p $HOME/.config/systemd/user/sockets.target.wants/ && \
ln -s /etc/xdg/systemd/user/[email protected] $HOME/.config/systemd/user/sockets.target.wants/[email protected] \
' && \
truncate --size 0 /etc/machine-id
truncate --size 0 /etc/machine-id && \
dconf update

# dbus port
EXPOSE 1234
Expand Down
2 changes: 2 additions & 0 deletions archlinux/etc/dconf/profile/user
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
user-db:user
system-db:local
2 changes: 2 additions & 0 deletions common/etc/dconf/db/local.d/00-disable-welcome-dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[org/gnome/shell]
welcome-dialog-last-shown-version='99.0'
5 changes: 3 additions & 2 deletions debian.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN apt-get update -y && \
gnome-session gjs dbus-user-session gdm3 gir1.2-vte-2.91 xvfb \
packagekit gir1.2-packagekitglib-1.0

COPY common /
COPY common debian /

RUN systemctl set-default gnome-session-x11.target && \
systemctl mask systemd-oomd low-memory-monitor rtkit-daemon udisks2 && \
Expand All @@ -24,7 +24,8 @@ RUN systemctl set-default gnome-session-x11.target && \
mkdir -p $HOME/.config/systemd/user/sockets.target.wants/ && \
ln -s /etc/xdg/systemd/user/[email protected] $HOME/.config/systemd/user/sockets.target.wants/[email protected] \
' && \
truncate --size 0 /etc/machine-id
truncate --size 0 /etc/machine-id && \
dconf update

# dbus port
EXPOSE 1234
Expand Down
2 changes: 2 additions & 0 deletions debian/etc/dconf/profile/user
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
user-db:user
system-db:local
3 changes: 2 additions & 1 deletion fedora.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ RUN systemctl set-default gnome-session-x11.target && \
mkdir -p $HOME/.config/systemd/user/sockets.target.wants/ && \
ln -s /etc/xdg/systemd/user/[email protected] $HOME/.config/systemd/user/sockets.target.wants/[email protected] \
' && \
truncate --size 0 /etc/machine-id
truncate --size 0 /etc/machine-id && \
dconf update

# dbus port
EXPOSE 1234
Expand Down

0 comments on commit f1712df

Please sign in to comment.