Skip to content

Commit

Permalink
Add dconf to fix terminal font display
Browse files Browse the repository at this point in the history
  • Loading branch information
manics committed Feb 5, 2024
1 parent a0f7620 commit 01a4737
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Binary file added dconf/user
Binary file not shown.

0 comments on commit 01a4737

Please sign in to comment.