Skip to content

Instantly share code, notes, and snippets.

@Alexander-Barth
Last active April 26, 2019 14:39
Show Gist options
  • Save Alexander-Barth/d07c20746f77c607de5a2f71f5ba4e6b to your computer and use it in GitHub Desktop.
Save Alexander-Barth/d07c20746f77c607de5a2f71f5ba4e6b to your computer and use it in GitHub Desktop.
jupyter notebook desktop launcher
mkdir ~/.local/share/applications
cd ~/.local/share/applications
cat > jupyter.desktop <<EOF
[Desktop Entry]
Name=Jupyter
Exec=jupyter-notebook
Terminal=false
Type=Application
Icon=jupyter.svg
Categories=GNOME;GTK;
EOF
chmod +x jupyter.desktop
mkdir ~/.local/share/icons
cd ~/.local/share/icons
wget -O jupyter.svg https://upload.wikimedia.org/wikipedia/commons/3/38/Jupyter_logo.svg
cd ~/.local/share/applications
cat > julia.desktop <<EOF
[Desktop Entry]
Name=Julia
Exec=julia
Terminal=true
Type=Application
Icon=julia-dark.png
Categories=GNOME;GTK;
EOF
chmod +x julia.desktop
cd ~/.local/share/icons
wget -O julia-dark.png https://raw.githubusercontent.com/JuliaGraphics/julia-logo-graphics/master/images/julia-logo-dark-mode.png
# check also default terminal
# sudo update-alternatives --config x-terminal-emulator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment