Skip to content

Commit

Permalink
Add "new window" action to code.desktop
Browse files Browse the repository at this point in the history
In Gnome and Unity desktop (and maybe some others) this can be used to open a new Code window through right click on the launcher icon and then on "New Window".
  • Loading branch information
xaverh committed Apr 4, 2016
1 parent a420458 commit 5852199
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion resources/linux/code.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,13 @@ Exec=/usr/bin/@@NAME@@ %U
Icon=@@NAME@@
Type=Application
StartupNotify=true
StartupWMClass=@@NAME@@
Categories=Utility;TextEditor;Development;IDE;
MimeType=text/plain;
MimeType=text/plain;
Actions=new-window;

[Desktop Action new-window]
Name=New Window
Name[de]=Neues Fenster
Exec=/usr/bin/@@NAME@@ --new-window %U
Icon=@@NAME@@

0 comments on commit 5852199

Please sign in to comment.