Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit b8ff081

Browse files
committed
Sample .desktop files for URL handling on local build
1 parent 0dfc7a6 commit b8ff081

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[Desktop Entry]
2+
Name=Code - OSS - URL Handler
3+
Comment=Code Editing. Redefined.
4+
GenericName=Text Editor
5+
Exec=/home/ghost_000/github/codestory/ide/.build/electron/code-oss --open-url %U
6+
Icon=vscode
7+
Type=Application
8+
NoDisplay=true
9+
StartupNotify=true
10+
Categories=Utility;TextEditor;Development;IDE;
11+
MimeType=x-scheme-handler/code-oss;
12+
Keywords=vscode;

linux-local/code-oss.desktop

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[Desktop Entry]
2+
Name=Code - OSS
3+
Comment=Code Editing. Redefined.
4+
GenericName=Text Editor
5+
Exec=/home/ghost_000/github/codestory/ide/.build/electron/code-oss %F
6+
Icon=vscode
7+
Type=Application
8+
StartupNotify=false
9+
StartupWMClass=Code - OSS
10+
Categories=TextEditor;Development;IDE;
11+
MimeType=application/x-code-oss-workspace;
12+
Actions=new-empty-window;
13+
Keywords=vscode;
14+
15+
[Desktop Action new-empty-window]
16+
Name=New Empty Window
17+
Name[de]=Neues leeres Fenster
18+
Name[es]=Nueva ventana vacía
19+
Name[fr]=Nouvelle fenêtre vide
20+
Name[it]=Nuova finestra vuota
21+
Name[ja]=新しい空のウィンドウ
22+
Name[ko]=새 빈 창
23+
Name[ru]=Новое пустое окно
24+
Name[zh_CN]=新建空窗口
25+
Name[zh_TW]=開新空視窗
26+
Exec=@@EXEC@@ --new-window %F
27+
Icon=@@ICON@@

0 commit comments

Comments
 (0)