Last active
June 24, 2024 17:26
-
-
Save infosec-intern/542d39e16f46ff472803a42bc50f3b4f to your computer and use it in GitHub Desktop.
A simple .desktop file for Visual Studio Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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; |
Thanks lad.
Thanks bro
Thanks!
Thanks 👍
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
Thanks ;)