I installed Eclipse, how do I make it searchable?












0














I downloaded the installer and installed Eclipse to my Downloads directory. I also added the path to my Path variable so when I open a terminal and type eclipse, it runs. However, when I open the menu in Linux Mint and search for Eclipse it doesn't show up. I read here that in Ubuntu that should be enough, but I suppose in Mint it's not: What should I do so Ubuntu finds a new application when pressing Alt+F2?



I created a .desktop file under ~/.local/share/applications but that didn't fix the problem, not sure if it should have--I'm not super clear on what these files do.



[Edit: The .desktop file is eclipse.desktop and contains



[Desktop Entry]
Type=Application
Name=Eclipse
Exec=/home/user/Downloads/eclipse
Terminal=false
Categories=Development;IDE;Java;


]










share|improve this question
























  • What does your "eclipse.desktop" file look like? What did you add to it?
    – bgregs
    Dec 17 at 20:16










  • @bgregs I added the info to the post.
    – Addem
    Dec 17 at 20:34










  • Try adding the file to /usr/share/applications/ . See this for reference: community.linuxmint.com/tutorial/view/1504
    – bgregs
    Dec 17 at 20:38
















0














I downloaded the installer and installed Eclipse to my Downloads directory. I also added the path to my Path variable so when I open a terminal and type eclipse, it runs. However, when I open the menu in Linux Mint and search for Eclipse it doesn't show up. I read here that in Ubuntu that should be enough, but I suppose in Mint it's not: What should I do so Ubuntu finds a new application when pressing Alt+F2?



I created a .desktop file under ~/.local/share/applications but that didn't fix the problem, not sure if it should have--I'm not super clear on what these files do.



[Edit: The .desktop file is eclipse.desktop and contains



[Desktop Entry]
Type=Application
Name=Eclipse
Exec=/home/user/Downloads/eclipse
Terminal=false
Categories=Development;IDE;Java;


]










share|improve this question
























  • What does your "eclipse.desktop" file look like? What did you add to it?
    – bgregs
    Dec 17 at 20:16










  • @bgregs I added the info to the post.
    – Addem
    Dec 17 at 20:34










  • Try adding the file to /usr/share/applications/ . See this for reference: community.linuxmint.com/tutorial/view/1504
    – bgregs
    Dec 17 at 20:38














0












0








0







I downloaded the installer and installed Eclipse to my Downloads directory. I also added the path to my Path variable so when I open a terminal and type eclipse, it runs. However, when I open the menu in Linux Mint and search for Eclipse it doesn't show up. I read here that in Ubuntu that should be enough, but I suppose in Mint it's not: What should I do so Ubuntu finds a new application when pressing Alt+F2?



I created a .desktop file under ~/.local/share/applications but that didn't fix the problem, not sure if it should have--I'm not super clear on what these files do.



[Edit: The .desktop file is eclipse.desktop and contains



[Desktop Entry]
Type=Application
Name=Eclipse
Exec=/home/user/Downloads/eclipse
Terminal=false
Categories=Development;IDE;Java;


]










share|improve this question















I downloaded the installer and installed Eclipse to my Downloads directory. I also added the path to my Path variable so when I open a terminal and type eclipse, it runs. However, when I open the menu in Linux Mint and search for Eclipse it doesn't show up. I read here that in Ubuntu that should be enough, but I suppose in Mint it's not: What should I do so Ubuntu finds a new application when pressing Alt+F2?



I created a .desktop file under ~/.local/share/applications but that didn't fix the problem, not sure if it should have--I'm not super clear on what these files do.



[Edit: The .desktop file is eclipse.desktop and contains



[Desktop Entry]
Type=Application
Name=Eclipse
Exec=/home/user/Downloads/eclipse
Terminal=false
Categories=Development;IDE;Java;


]







linux-mint menu .desktop






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 17 at 20:34

























asked Dec 17 at 19:52









Addem

11318




11318












  • What does your "eclipse.desktop" file look like? What did you add to it?
    – bgregs
    Dec 17 at 20:16










  • @bgregs I added the info to the post.
    – Addem
    Dec 17 at 20:34










  • Try adding the file to /usr/share/applications/ . See this for reference: community.linuxmint.com/tutorial/view/1504
    – bgregs
    Dec 17 at 20:38


















  • What does your "eclipse.desktop" file look like? What did you add to it?
    – bgregs
    Dec 17 at 20:16










  • @bgregs I added the info to the post.
    – Addem
    Dec 17 at 20:34










  • Try adding the file to /usr/share/applications/ . See this for reference: community.linuxmint.com/tutorial/view/1504
    – bgregs
    Dec 17 at 20:38
















What does your "eclipse.desktop" file look like? What did you add to it?
– bgregs
Dec 17 at 20:16




What does your "eclipse.desktop" file look like? What did you add to it?
– bgregs
Dec 17 at 20:16












@bgregs I added the info to the post.
– Addem
Dec 17 at 20:34




@bgregs I added the info to the post.
– Addem
Dec 17 at 20:34












Try adding the file to /usr/share/applications/ . See this for reference: community.linuxmint.com/tutorial/view/1504
– bgregs
Dec 17 at 20:38




Try adding the file to /usr/share/applications/ . See this for reference: community.linuxmint.com/tutorial/view/1504
– bgregs
Dec 17 at 20:38










1 Answer
1






active

oldest

votes


















0














Using @bgregs suggestion, I moved the eclipse.desktop file to /usr/share/applications. It still didn't work but then I realize that you need to not just point the .desktop file to the folder containing the binary, but to the binary itself. So rather than



Exec=/home/user/Downloads/eclipse


I needed



Exec=/home/user/Downloads/eclipse/eclipse





share|improve this answer





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f489555%2fi-installed-eclipse-how-do-i-make-it-searchable%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Using @bgregs suggestion, I moved the eclipse.desktop file to /usr/share/applications. It still didn't work but then I realize that you need to not just point the .desktop file to the folder containing the binary, but to the binary itself. So rather than



    Exec=/home/user/Downloads/eclipse


    I needed



    Exec=/home/user/Downloads/eclipse/eclipse





    share|improve this answer


























      0














      Using @bgregs suggestion, I moved the eclipse.desktop file to /usr/share/applications. It still didn't work but then I realize that you need to not just point the .desktop file to the folder containing the binary, but to the binary itself. So rather than



      Exec=/home/user/Downloads/eclipse


      I needed



      Exec=/home/user/Downloads/eclipse/eclipse





      share|improve this answer
























        0












        0








        0






        Using @bgregs suggestion, I moved the eclipse.desktop file to /usr/share/applications. It still didn't work but then I realize that you need to not just point the .desktop file to the folder containing the binary, but to the binary itself. So rather than



        Exec=/home/user/Downloads/eclipse


        I needed



        Exec=/home/user/Downloads/eclipse/eclipse





        share|improve this answer












        Using @bgregs suggestion, I moved the eclipse.desktop file to /usr/share/applications. It still didn't work but then I realize that you need to not just point the .desktop file to the folder containing the binary, but to the binary itself. So rather than



        Exec=/home/user/Downloads/eclipse


        I needed



        Exec=/home/user/Downloads/eclipse/eclipse






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 17 at 22:42









        Addem

        11318




        11318






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f489555%2fi-installed-eclipse-how-do-i-make-it-searchable%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Morgemoulin

            Scott Moir

            Souastre