Cannot add custom launcher to Dock (*Add to Favorites*)Eclipse launcher shortcut in Ubuntu 18.04How to Pin Firefox Development Version to Ubuntu Dock on Ubuntu 18.04?18.04 pin and unpin entries in dockCan't add Custom .desktop files to Ubuntu dockDuplicate applications icons in Ubuntu dockFirefox profiles with different icons in Ubuntu dockAdding an icon for Spyder in Favourites bar in Ubuntu 18.04How to customize Ubuntu DockWhy can't I add some applications to favourites?Cannot lock Mellow Player application to favourites barHow do you create a custom application launcher in Gnome Shell? Can't add Custom .desktop files to Ubuntu dockApplication entry disappearedHow do I have desktop always display favorites bar (Ubuntu Dock) on left?

Other database besides UTXO?

I don't want my ls command in my script to print results on screen

Conveying the idea of "tricky"

How can I seal 8 inch round holes in my siding?

What exactly is meant by "partial function" in functional programming?

How would a race of humanoids with tails design [vehicle] seats?

UK inheritance: partner, sibling, child

Given a fibonacci number , find just next fibonacci number

Should we increase saturation and brightness on CMYK colors?

Are my triangles similar?

Who inspired the character Geordi La Forge?

Modeling the Round (Nearest Integer) function

Making a pikuach nefesh phone call on Yom Kippur - mitsva or something to be avoided?

How to write a whole LaTeX document in bf?

Compress .hex file for micro-controller

Do neurons of a neural network model a linear relationship?

Was Switzerland pressured either by Allies or Axis to take part in World War 2 at any time?

A toy model in 0-d QFT

What would a chair for a Human with a Tail look like?

Is it really better for the environment if I take the stairs as opposed to a lift?

Why didn't Aboriginal Australians discover agriculture?

Why is 1.e4 c5 2.Nf3 b6 so unpopular?

What are the advantages to banks being located in the City of London (the Square Mile)?

What is the white square near the viewfinder of the Fujica GW690?



Cannot add custom launcher to Dock (*Add to Favorites*)


Eclipse launcher shortcut in Ubuntu 18.04How to Pin Firefox Development Version to Ubuntu Dock on Ubuntu 18.04?18.04 pin and unpin entries in dockCan't add Custom .desktop files to Ubuntu dockDuplicate applications icons in Ubuntu dockFirefox profiles with different icons in Ubuntu dockAdding an icon for Spyder in Favourites bar in Ubuntu 18.04How to customize Ubuntu DockWhy can't I add some applications to favourites?Cannot lock Mellow Player application to favourites barHow do you create a custom application launcher in Gnome Shell? Can't add Custom .desktop files to Ubuntu dockApplication entry disappearedHow do I have desktop always display favorites bar (Ubuntu Dock) on left?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









21

















I have a custom .desktop file:



[Desktop Entry]
Type=Application
Terminal=false
Icon[en_US]=/home/alex/bin/idea-IC-173.4127.27/bin/idea.png
Name[en_US]=IntelliJ
Exec=/home/alex/bin/idea-IC-173.4127.27/bin/idea.sh
Name=IntelliJ
Icon=/home/alex/bin/idea-IC-173.4127.27/bin/idea.png


Output of ls -lha .local/share/applications/intellij.desktop:



-rwx--x--x 1 alex alex 248 Dez 30 10:54 .local/share/applications/intellij.desktop


I can find this launcher in Activities and I can double click on that file and IntelliJ will start. Nevertheless, I cannot add this launcher as a favorite to the dock. The option does not show up.



Answers posted to a previous question (Can't add Custom .desktop files to dock 17.10) don't work for me.










share|improve this question


































    21

















    I have a custom .desktop file:



    [Desktop Entry]
    Type=Application
    Terminal=false
    Icon[en_US]=/home/alex/bin/idea-IC-173.4127.27/bin/idea.png
    Name[en_US]=IntelliJ
    Exec=/home/alex/bin/idea-IC-173.4127.27/bin/idea.sh
    Name=IntelliJ
    Icon=/home/alex/bin/idea-IC-173.4127.27/bin/idea.png


    Output of ls -lha .local/share/applications/intellij.desktop:



    -rwx--x--x 1 alex alex 248 Dez 30 10:54 .local/share/applications/intellij.desktop


    I can find this launcher in Activities and I can double click on that file and IntelliJ will start. Nevertheless, I cannot add this launcher as a favorite to the dock. The option does not show up.



    Answers posted to a previous question (Can't add Custom .desktop files to dock 17.10) don't work for me.










    share|improve this question






























      21












      21








      21


      7






      I have a custom .desktop file:



      [Desktop Entry]
      Type=Application
      Terminal=false
      Icon[en_US]=/home/alex/bin/idea-IC-173.4127.27/bin/idea.png
      Name[en_US]=IntelliJ
      Exec=/home/alex/bin/idea-IC-173.4127.27/bin/idea.sh
      Name=IntelliJ
      Icon=/home/alex/bin/idea-IC-173.4127.27/bin/idea.png


      Output of ls -lha .local/share/applications/intellij.desktop:



      -rwx--x--x 1 alex alex 248 Dez 30 10:54 .local/share/applications/intellij.desktop


      I can find this launcher in Activities and I can double click on that file and IntelliJ will start. Nevertheless, I cannot add this launcher as a favorite to the dock. The option does not show up.



      Answers posted to a previous question (Can't add Custom .desktop files to dock 17.10) don't work for me.










      share|improve this question

















      I have a custom .desktop file:



      [Desktop Entry]
      Type=Application
      Terminal=false
      Icon[en_US]=/home/alex/bin/idea-IC-173.4127.27/bin/idea.png
      Name[en_US]=IntelliJ
      Exec=/home/alex/bin/idea-IC-173.4127.27/bin/idea.sh
      Name=IntelliJ
      Icon=/home/alex/bin/idea-IC-173.4127.27/bin/idea.png


      Output of ls -lha .local/share/applications/intellij.desktop:



      -rwx--x--x 1 alex alex 248 Dez 30 10:54 .local/share/applications/intellij.desktop


      I can find this launcher in Activities and I can double click on that file and IntelliJ will start. Nevertheless, I cannot add this launcher as a favorite to the dock. The option does not show up.



      Answers posted to a previous question (Can't add Custom .desktop files to dock 17.10) don't work for me.







      17.10 gnome-shell ubuntu-dock favorites






      share|improve this question
















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 17 at 15:30









      pomsky

      40.4k12 gold badges133 silver badges160 bronze badges




      40.4k12 gold badges133 silver badges160 bronze badges










      asked Dec 30 '17 at 15:04









      kerner1000kerner1000

      8192 gold badges10 silver badges23 bronze badges




      8192 gold badges10 silver badges23 bronze badges























          3 Answers
          3






          active

          oldest

          votes


















          25


















          Open Terminal and run



          gsettings get org.gnome.shell favorite-apps


          You should get the list of .desktop files associated to the apps pinned to Ubuntu dock in order, something like the following:



          ['appname-1.desktop', 'appname-2.desktop', 'appname-3.desktop', 'appname-4.desktop', 'appname-5.desktop']


          Suppose you want to pin the app associated to the intellij.desktop file as the second item in the dock. In that case, run



          gsettings set org.gnome.shell favorite-apps "['appname-1.desktop', 'intellij.desktop', 'appname-2.desktop', 'appname-3.desktop', 'appname-4.desktop', 'appname-5.desktop']"





          share|improve this answer


























          • This works! But when I start the app, another app icon appears. imgur.com/a/8GZ7j

            – kerner1000
            Jan 4 '18 at 18:06







          • 3





            @kerner1000 Try this: askubuntu.com/a/975230/480481 from step 4 onwards

            – pomsky
            Jan 4 '18 at 18:15







          • 2





            Works! Thanks a lot! I got acutally two strings back from xprop, I used the second one (jetbrains-idea-ce).

            – kerner1000
            Jan 4 '18 at 18:43












          • It may be more user-friendly to put it this way: wherever you put a .desktop file, make it executable and trustable when clicking to open it, then right-click on the icon in the dock and add to the favourites.

            – funicorn
            Jan 6 '18 at 3:39






          • 1





            @funicorn As per OP, the others methods (e.g. Add to favourites) mentioned in older questions are not working for them. That's why they asked a new question.

            – pomsky
            Jan 6 '18 at 7:04


















          9


















          The answer from @pomsky is correct, but there is an easier way: use



          dconf-editor 


          (install it with sudo apt-get install dconf-editor if not installed) and navigate to



          org/gnome/shell/favorite-apps.



          There it is possible to edit and rearrange the Launcher.






          share|improve this answer



































            0


















            The Dash-to-Dock extension for gnome3 allows adding the program to your favourites from the context menu.



            1. Install the latest version of Dash-To-Dock

            2. Start the application from command line

            3. Right click the application on the dock and select "Add to favourites"

            4. Close the application and launch it from the dock

            Worked for me with PyCharm Pro.






            share|improve this answer


























            • Favorite button does not appear here

              – JonLord
              Sep 27 at 15:34












            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            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: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            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/4.0/"u003ecc by-sa 4.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%2faskubuntu.com%2fquestions%2f990833%2fcannot-add-custom-launcher-to-dock-add-to-favorites%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown


























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            25


















            Open Terminal and run



            gsettings get org.gnome.shell favorite-apps


            You should get the list of .desktop files associated to the apps pinned to Ubuntu dock in order, something like the following:



            ['appname-1.desktop', 'appname-2.desktop', 'appname-3.desktop', 'appname-4.desktop', 'appname-5.desktop']


            Suppose you want to pin the app associated to the intellij.desktop file as the second item in the dock. In that case, run



            gsettings set org.gnome.shell favorite-apps "['appname-1.desktop', 'intellij.desktop', 'appname-2.desktop', 'appname-3.desktop', 'appname-4.desktop', 'appname-5.desktop']"





            share|improve this answer


























            • This works! But when I start the app, another app icon appears. imgur.com/a/8GZ7j

              – kerner1000
              Jan 4 '18 at 18:06







            • 3





              @kerner1000 Try this: askubuntu.com/a/975230/480481 from step 4 onwards

              – pomsky
              Jan 4 '18 at 18:15







            • 2





              Works! Thanks a lot! I got acutally two strings back from xprop, I used the second one (jetbrains-idea-ce).

              – kerner1000
              Jan 4 '18 at 18:43












            • It may be more user-friendly to put it this way: wherever you put a .desktop file, make it executable and trustable when clicking to open it, then right-click on the icon in the dock and add to the favourites.

              – funicorn
              Jan 6 '18 at 3:39






            • 1





              @funicorn As per OP, the others methods (e.g. Add to favourites) mentioned in older questions are not working for them. That's why they asked a new question.

              – pomsky
              Jan 6 '18 at 7:04















            25


















            Open Terminal and run



            gsettings get org.gnome.shell favorite-apps


            You should get the list of .desktop files associated to the apps pinned to Ubuntu dock in order, something like the following:



            ['appname-1.desktop', 'appname-2.desktop', 'appname-3.desktop', 'appname-4.desktop', 'appname-5.desktop']


            Suppose you want to pin the app associated to the intellij.desktop file as the second item in the dock. In that case, run



            gsettings set org.gnome.shell favorite-apps "['appname-1.desktop', 'intellij.desktop', 'appname-2.desktop', 'appname-3.desktop', 'appname-4.desktop', 'appname-5.desktop']"





            share|improve this answer


























            • This works! But when I start the app, another app icon appears. imgur.com/a/8GZ7j

              – kerner1000
              Jan 4 '18 at 18:06







            • 3





              @kerner1000 Try this: askubuntu.com/a/975230/480481 from step 4 onwards

              – pomsky
              Jan 4 '18 at 18:15







            • 2





              Works! Thanks a lot! I got acutally two strings back from xprop, I used the second one (jetbrains-idea-ce).

              – kerner1000
              Jan 4 '18 at 18:43












            • It may be more user-friendly to put it this way: wherever you put a .desktop file, make it executable and trustable when clicking to open it, then right-click on the icon in the dock and add to the favourites.

              – funicorn
              Jan 6 '18 at 3:39






            • 1





              @funicorn As per OP, the others methods (e.g. Add to favourites) mentioned in older questions are not working for them. That's why they asked a new question.

              – pomsky
              Jan 6 '18 at 7:04













            25














            25










            25









            Open Terminal and run



            gsettings get org.gnome.shell favorite-apps


            You should get the list of .desktop files associated to the apps pinned to Ubuntu dock in order, something like the following:



            ['appname-1.desktop', 'appname-2.desktop', 'appname-3.desktop', 'appname-4.desktop', 'appname-5.desktop']


            Suppose you want to pin the app associated to the intellij.desktop file as the second item in the dock. In that case, run



            gsettings set org.gnome.shell favorite-apps "['appname-1.desktop', 'intellij.desktop', 'appname-2.desktop', 'appname-3.desktop', 'appname-4.desktop', 'appname-5.desktop']"





            share|improve this answer














            Open Terminal and run



            gsettings get org.gnome.shell favorite-apps


            You should get the list of .desktop files associated to the apps pinned to Ubuntu dock in order, something like the following:



            ['appname-1.desktop', 'appname-2.desktop', 'appname-3.desktop', 'appname-4.desktop', 'appname-5.desktop']


            Suppose you want to pin the app associated to the intellij.desktop file as the second item in the dock. In that case, run



            gsettings set org.gnome.shell favorite-apps "['appname-1.desktop', 'intellij.desktop', 'appname-2.desktop', 'appname-3.desktop', 'appname-4.desktop', 'appname-5.desktop']"






            share|improve this answer













            share|improve this answer




            share|improve this answer










            answered Jan 4 '18 at 17:54









            pomskypomsky

            40.4k12 gold badges133 silver badges160 bronze badges




            40.4k12 gold badges133 silver badges160 bronze badges















            • This works! But when I start the app, another app icon appears. imgur.com/a/8GZ7j

              – kerner1000
              Jan 4 '18 at 18:06







            • 3





              @kerner1000 Try this: askubuntu.com/a/975230/480481 from step 4 onwards

              – pomsky
              Jan 4 '18 at 18:15







            • 2





              Works! Thanks a lot! I got acutally two strings back from xprop, I used the second one (jetbrains-idea-ce).

              – kerner1000
              Jan 4 '18 at 18:43












            • It may be more user-friendly to put it this way: wherever you put a .desktop file, make it executable and trustable when clicking to open it, then right-click on the icon in the dock and add to the favourites.

              – funicorn
              Jan 6 '18 at 3:39






            • 1





              @funicorn As per OP, the others methods (e.g. Add to favourites) mentioned in older questions are not working for them. That's why they asked a new question.

              – pomsky
              Jan 6 '18 at 7:04

















            • This works! But when I start the app, another app icon appears. imgur.com/a/8GZ7j

              – kerner1000
              Jan 4 '18 at 18:06







            • 3





              @kerner1000 Try this: askubuntu.com/a/975230/480481 from step 4 onwards

              – pomsky
              Jan 4 '18 at 18:15







            • 2





              Works! Thanks a lot! I got acutally two strings back from xprop, I used the second one (jetbrains-idea-ce).

              – kerner1000
              Jan 4 '18 at 18:43












            • It may be more user-friendly to put it this way: wherever you put a .desktop file, make it executable and trustable when clicking to open it, then right-click on the icon in the dock and add to the favourites.

              – funicorn
              Jan 6 '18 at 3:39






            • 1





              @funicorn As per OP, the others methods (e.g. Add to favourites) mentioned in older questions are not working for them. That's why they asked a new question.

              – pomsky
              Jan 6 '18 at 7:04
















            This works! But when I start the app, another app icon appears. imgur.com/a/8GZ7j

            – kerner1000
            Jan 4 '18 at 18:06






            This works! But when I start the app, another app icon appears. imgur.com/a/8GZ7j

            – kerner1000
            Jan 4 '18 at 18:06





            3




            3





            @kerner1000 Try this: askubuntu.com/a/975230/480481 from step 4 onwards

            – pomsky
            Jan 4 '18 at 18:15






            @kerner1000 Try this: askubuntu.com/a/975230/480481 from step 4 onwards

            – pomsky
            Jan 4 '18 at 18:15





            2




            2





            Works! Thanks a lot! I got acutally two strings back from xprop, I used the second one (jetbrains-idea-ce).

            – kerner1000
            Jan 4 '18 at 18:43






            Works! Thanks a lot! I got acutally two strings back from xprop, I used the second one (jetbrains-idea-ce).

            – kerner1000
            Jan 4 '18 at 18:43














            It may be more user-friendly to put it this way: wherever you put a .desktop file, make it executable and trustable when clicking to open it, then right-click on the icon in the dock and add to the favourites.

            – funicorn
            Jan 6 '18 at 3:39





            It may be more user-friendly to put it this way: wherever you put a .desktop file, make it executable and trustable when clicking to open it, then right-click on the icon in the dock and add to the favourites.

            – funicorn
            Jan 6 '18 at 3:39




            1




            1





            @funicorn As per OP, the others methods (e.g. Add to favourites) mentioned in older questions are not working for them. That's why they asked a new question.

            – pomsky
            Jan 6 '18 at 7:04





            @funicorn As per OP, the others methods (e.g. Add to favourites) mentioned in older questions are not working for them. That's why they asked a new question.

            – pomsky
            Jan 6 '18 at 7:04













            9


















            The answer from @pomsky is correct, but there is an easier way: use



            dconf-editor 


            (install it with sudo apt-get install dconf-editor if not installed) and navigate to



            org/gnome/shell/favorite-apps.



            There it is possible to edit and rearrange the Launcher.






            share|improve this answer
































              9


















              The answer from @pomsky is correct, but there is an easier way: use



              dconf-editor 


              (install it with sudo apt-get install dconf-editor if not installed) and navigate to



              org/gnome/shell/favorite-apps.



              There it is possible to edit and rearrange the Launcher.






              share|improve this answer






























                9














                9










                9









                The answer from @pomsky is correct, but there is an easier way: use



                dconf-editor 


                (install it with sudo apt-get install dconf-editor if not installed) and navigate to



                org/gnome/shell/favorite-apps.



                There it is possible to edit and rearrange the Launcher.






                share|improve this answer
















                The answer from @pomsky is correct, but there is an easier way: use



                dconf-editor 


                (install it with sudo apt-get install dconf-editor if not installed) and navigate to



                org/gnome/shell/favorite-apps.



                There it is possible to edit and rearrange the Launcher.







                share|improve this answer















                share|improve this answer




                share|improve this answer








                edited Sep 2 '18 at 15:28









                abu_bua

                5,0288 gold badges19 silver badges37 bronze badges




                5,0288 gold badges19 silver badges37 bronze badges










                answered Aug 31 '18 at 16:23









                user866381user866381

                961 silver badge4 bronze badges




                961 silver badge4 bronze badges
























                    0


















                    The Dash-to-Dock extension for gnome3 allows adding the program to your favourites from the context menu.



                    1. Install the latest version of Dash-To-Dock

                    2. Start the application from command line

                    3. Right click the application on the dock and select "Add to favourites"

                    4. Close the application and launch it from the dock

                    Worked for me with PyCharm Pro.






                    share|improve this answer


























                    • Favorite button does not appear here

                      – JonLord
                      Sep 27 at 15:34















                    0


















                    The Dash-to-Dock extension for gnome3 allows adding the program to your favourites from the context menu.



                    1. Install the latest version of Dash-To-Dock

                    2. Start the application from command line

                    3. Right click the application on the dock and select "Add to favourites"

                    4. Close the application and launch it from the dock

                    Worked for me with PyCharm Pro.






                    share|improve this answer


























                    • Favorite button does not appear here

                      – JonLord
                      Sep 27 at 15:34













                    0














                    0










                    0









                    The Dash-to-Dock extension for gnome3 allows adding the program to your favourites from the context menu.



                    1. Install the latest version of Dash-To-Dock

                    2. Start the application from command line

                    3. Right click the application on the dock and select "Add to favourites"

                    4. Close the application and launch it from the dock

                    Worked for me with PyCharm Pro.






                    share|improve this answer














                    The Dash-to-Dock extension for gnome3 allows adding the program to your favourites from the context menu.



                    1. Install the latest version of Dash-To-Dock

                    2. Start the application from command line

                    3. Right click the application on the dock and select "Add to favourites"

                    4. Close the application and launch it from the dock

                    Worked for me with PyCharm Pro.







                    share|improve this answer













                    share|improve this answer




                    share|improve this answer










                    answered May 27 at 22:08









                    domihdomih

                    1658 bronze badges




                    1658 bronze badges















                    • Favorite button does not appear here

                      – JonLord
                      Sep 27 at 15:34

















                    • Favorite button does not appear here

                      – JonLord
                      Sep 27 at 15:34
















                    Favorite button does not appear here

                    – JonLord
                    Sep 27 at 15:34





                    Favorite button does not appear here

                    – JonLord
                    Sep 27 at 15:34


















                    draft saved

                    draft discarded















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • 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%2faskubuntu.com%2fquestions%2f990833%2fcannot-add-custom-launcher-to-dock-add-to-favorites%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

                    Tamil (spriik) Luke uk diar | Nawigatjuun

                    Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                    Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?