Skip to content

Instantly share code, notes, and snippets.

@infosec-intern
Last active June 24, 2024 17:26
Show Gist options
  • Save infosec-intern/542d39e16f46ff472803a42bc50f3b4f to your computer and use it in GitHub Desktop.
Save infosec-intern/542d39e16f46ff472803a42bc50f3b4f to your computer and use it in GitHub Desktop.
A simple .desktop file for Visual Studio Code
[Desktop Entry]
Name=Visual Studio Code
Comment=Programming Text Editor
Exec=/usr/local/src/VSCode-linux-x64/code
Icon=/usr/local/src/VSCode-linux-x64/resources/app/resources/linux/code.png
Terminal=false
Type=Application
Categories=Programming;
@janis-ax
Copy link

Thanks 👍

Copy link

ghost commented Jul 1, 2021

Thanks ;)

@MatveyM11
Copy link

Thanks lad.

@ellanik1304
Copy link

Thanks bro

@tpimh
Copy link

tpimh commented Jul 6, 2023

Thanks!

@lNaymonl
Copy link

Thanks 👍

@telenieko
Copy link

desktop-file-validate vscode.desktop 
vscode.desktop: error: value "Programming;" for key "Categories" in group "Desktop Entry" contains an unregistered value "Programming"; values extending the format should start with "X-"
vscode.desktop: hint: value "Programming;" for key "Categories" in group "Desktop Entry" does not contain a registered main category; application might only show up in a "catch-all" section of the application menu

You can change it for "Development", see the specification

It will pass validation! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment