Skip to content

Commit

Permalink
Set XDG_CURRENT_DESKTOP everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
amezin committed Jan 2, 2025
1 parent b141c8e commit 48373df
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions alpine.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@ RUN sed -i '/getty/d' /etc/inittab && \
rc-update add elogind && \
rc-update add polkit

ENV XDG_CURRENT_DESKTOP=GNOME

CMD [ "/sbin/init" ]
2 changes: 2 additions & 0 deletions archlinux.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ RUN systemctl set-default multi-user.target && \
systemctl mask systemd-oomd low-memory-monitor rtkit-daemon udisks2 && \
truncate --size 0 /etc/machine-id

ENV XDG_CURRENT_DESKTOP=GNOME

CMD [ "/sbin/init" ]
2 changes: 2 additions & 0 deletions debian.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@ RUN systemctl set-default multi-user.target && \
systemctl mask systemd-oomd low-memory-monitor rtkit-daemon udisks2 && \
truncate --size 0 /etc/machine-id

ENV XDG_CURRENT_DESKTOP=GNOME

CMD [ "/sbin/init" ]
2 changes: 2 additions & 0 deletions fedora.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,6 @@ RUN systemctl set-default multi-user.target && \
chmod u+rw /etc/shadow && \
truncate --size 0 /etc/machine-id

ENV XDG_CURRENT_DESKTOP=GNOME

CMD [ "/sbin/init" ]
2 changes: 2 additions & 0 deletions suse.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@ RUN systemctl set-default multi-user.target && \
systemctl mask systemd-oomd low-memory-monitor rtkit-daemon udisks2 && \
truncate --size 0 /etc/machine-id

ENV XDG_CURRENT_DESKTOP=GNOME

CMD [ "/sbin/init" ]

0 comments on commit 48373df

Please sign in to comment.