• 3 Posts
  • 49 Comments
Joined 3 years ago
cake
Cake day: January 13th, 2022

help-circle





  • Hmm, why the bold?

    to distinguish the quote from my reply

    Maybe try https://stackoverflow.com/questions/47235022/add-a-custom-option-in-nautilus-right-click-menu ?

    Will do, i’ll reply if it’ll work or not.

    What did you put in the .desktop file?

    I put the following:-

    [Desktop Entry]
    Name=IntelliJ Idea
    Comment=IDE
    Exec=/home/user/Programs/IntelliJ\ Idea/bin/idea.sh
    Icon=/home/user/Programs/IntelliJ Idea/bin/idea.svg
    Type=Application
    Categories=Development;
    

    basically

    [Desktop Entry]
    Name=<Name that will be seen in the start menu for whatever DE>
    Comment=<Just write anything here>
    Exec=<Your executable or shell application location goes here>
    Icon=<Any icon you want to use>
    Type=Application <this is default, no change here>
    Categories=Development; <There are many categories, they go here>
    

    For ‘Exec’ and ‘Icon’, type the absolute path for both em like the example. As for categories, here they are below:

    • Audio
    • Video
    • Development
    • Education
    • Game
    • Graphics
    • Network
    • Office
    • Science
    • Settings
    • System
    • Utility
    • Other