Skip to content

Commit

Permalink
Add desktop file and icon for it (jupyterlab#14277)
Browse files Browse the repository at this point in the history
* Add desktop file and icon for it

Related: jupyterlab#7619

* Ignore jupyterlab.desktop file

---------

Co-authored-by: Frédéric Collonval <[email protected]>
  • Loading branch information
frenzymadness and fcollonval authored Mar 29, 2023
1 parent ed0e0eb commit 5779b1c
Show file tree
Hide file tree
Showing 4 changed files with 181 additions and 1 deletion.
1 change: 1 addition & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ header:
- 'dev_mode/style.js'
- 'examples/federated/example.cert'
- 'galata/test/jupyterlab/notebooks/'
- 'jupyterlab.desktop'
- 'jupyterlab/staging'
- 'packages/codemirror/test/foo.grammar'
- 'packages/extensionmanager-extension/examples/listings/settings/@jupyterlab/extensionmanager-extension/plugin.jupyterlab-settings'
Expand Down
11 changes: 11 additions & 0 deletions jupyterlab.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[Desktop Entry]
Name=JupyterLab
Comment=Run JupyterLab
Exec=jupyter-lab %f
Terminal=true
Type=Application
Icon=jupyterlab
StartupNotify=true
MimeType=application/x-ipynb+json;
Categories=Development;Education;
Keywords=python;
164 changes: 164 additions & 0 deletions jupyterlab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ source = "code"
"jupyterlab/schemas" = "share/jupyter/lab/schemas"
"jupyterlab/themes" = "share/jupyter/lab/themes"
"jupyter-config" = "etc/jupyter"
"jupyterlab.svg" = "share/icons/hicolor/scalable/apps/jupyterlab.svg"
"jupyterlab.desktop" = "share/applications/jupyterlab.desktop"

[tool.hatch.build]
ignore-vcs = true
Expand All @@ -147,7 +149,9 @@ include = [
"/galata",
"/jupyter-config",
"/jupyterlab",
"/package.json"
"/package.json",
"jupyterlab.svg",
"jupyterlab.desktop"
]
exclude = [
"/.github",
Expand Down

0 comments on commit 5779b1c

Please sign in to comment.