Skip to content

Instantly share code, notes, and snippets.

@andramalech
Forked from egormkn/jupyter-lab-icon.md
Created March 31, 2021 02:35
Show Gist options
  • Save andramalech/2e8ea1183cdd91172adb643978575a8d to your computer and use it in GitHub Desktop.
Save andramalech/2e8ea1183cdd91172adb643978575a8d to your computer and use it in GitHub Desktop.
Running JupyterLab as a desktop application on Linux

GNOME Desktop icon for Jupyter Lab

Installation

  1. Copy jupyter-lab.desktop to ~/.local/share/applications
  2. Copy jupyter-lab.svg to ~/.local/share/icons
  3. Restart gnome-desktop session (Alt+F2 -> restart)
[Desktop Entry]
Name=Jupyter Lab
Comment=Start Jupyter Lab server
Comment[ru_RU]=Запуск сервера Jupyter Lab
Exec=gnome-terminal --class jupyter-lab -x jupyter lab --port 8888
Icon=jupyter-lab
Type=Application
Categories=Development;
StartupNotify=true
StartupWMClass=jupyter-lab
Actions=open-browser
[Desktop Action open-browser]
Name=Open in browser
Name[ru_RU]=Открыть в браузере
Exec=xdg-open http://localhost:8888/lab
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment