From 01a47374283c0d0dee7eeb14032ffe437fcb7ab4 Mon Sep 17 00:00:00 2001 From: Simon Li Date: Mon, 5 Feb 2024 19:13:55 +0000 Subject: [PATCH] Add dconf to fix terminal font display --- Dockerfile | 8 ++++++++ dconf/user | Bin 0 -> 448 bytes 2 files changed, 8 insertions(+) create mode 100644 dconf/user diff --git a/Dockerfile b/Dockerfile index 87a8c9fd..b00a680f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,3 +33,11 @@ COPY --chown=$NB_UID:$NB_GID . /opt/install RUN . /opt/conda/bin/activate && \ pip install -e /opt/install && \ jupyter server extension enable jupyter_remote_desktop_proxy + +RUN mkdir -p /home/$NB_USER/.config/dconf/ +# The default terminal font displays poorly in XFCE4 +# The dconf CLI requires the dconf-service so can't be run at build time +# To recreate this file run: +# dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/font "'Liberation Mono 12'" +# dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/use-system-font false +COPY --chown=$NB_UID:$NB_GID dconf/user /home/$NB_USER/.config/dconf diff --git a/dconf/user b/dconf/user new file mode 100644 index 0000000000000000000000000000000000000000..e825f8fe81e58c1c9c75dcd3a3a5b0204b1a6a42 GIT binary patch literal 448 zcmYk2y-UMD7{;$PwpIsM5r+;^I(Wp!nkL0TClM>h9{| z)Ikx^!9T*?#o0mJ^?5@E4}Lt)J$LVWANwbE8rn(D%CQ1ns}z%Vqs(Yp1@r%?!!MM) zd|M{1Q(c1%SR1+l4u{hvsv)l+--LF->}j2B;cLiuFxdsx*UzVdocuByu_5#rtQyvY z&LiK#{&VOBcz>+2UkvgUxVb#=sSkMteWuVmT5IiH)1ApLV*d>K06uP??-3Wi zj{Ftb8^}c(hlw4jSfe_b1}eQXNMtN1#5l_Y&&F9UV(!c08=bz>@m$yRJie{z8t;0B z$8AI3;;v!#gzlL=(=n;M2Ic^H9LK1^Aaq1(=b=oRM>3Jkj>cGano2*6MAldF9>yXO K*zQs literal 0 HcmV?d00001