Skip to content

Latest commit

History

History
58 lines (44 loc) 路 1.44 KB

File metadata and controls

58 lines (44 loc) 路 1.44 KB

Frequently Asked Questions

How to disable an extension?

As documented, run the following command to disable one specific plugin or extension.

# https://github.com/jupyterlab/jupyterlab/blob/d6c3857ac6ff27811f49fd63fcd529b763024f1f/packages/application-extension/src/index.tsx#L956-L972
jupyter labextension disable @jupyterlab/application-extension:logo

You should see the configuration persisted in page_config.json.

cat $(dirname $(which jupyter))/../etc/jupyter/labconfig/page_config.json

You can also deactivate a complete extension or a specific plugin with a definition in package.json.

   ...
  "jupyterlab": {
    "disabledExtensions": [
      "@jupyterlab/application-extension:logo"
    ],
  }
  ...

How to launch with a theme?

See https://jupyterlab.readthedocs.io/en/stable/user/directories.html#overridesjson

cat << EOF >>~/.jupyter/lab/user-settings/overrides.json
{
  "@jupyterlab/apputils-extension:themes": {
    "theme": "Christmas"
  }
}
EOF

Optionally.

mkdir -p ~/.jupyter/lab/user-settings/\@jupyterlab/apputils-extension && \
  CONF="{ \"theme\": \"JupyterLab Christmas\" }" && \
  cat > ~/.jupyter/lab/user-settings/\@jupyterlab/apputils-extension/themes.jupyterlab-settings  <<EOF
${CONF}
EOF

Check now that JupyterLab starts with the defined theme.

jupyter lab