How to add website (URL) shortcut to Ubuntu dock on Ubuntu 18.04

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
2
down vote

favorite












I have created a shortcut to a website using this guide. Now I can see the shortcut on my desktop and it works fine. But I would like to add the shortcut on the side dock.



I can't seem to do it by drag and dropping, and there is no right-click option to "add to favourites".







share|improve this question

























    up vote
    2
    down vote

    favorite












    I have created a shortcut to a website using this guide. Now I can see the shortcut on my desktop and it works fine. But I would like to add the shortcut on the side dock.



    I can't seem to do it by drag and dropping, and there is no right-click option to "add to favourites".







    share|improve this question























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      I have created a shortcut to a website using this guide. Now I can see the shortcut on my desktop and it works fine. But I would like to add the shortcut on the side dock.



      I can't seem to do it by drag and dropping, and there is no right-click option to "add to favourites".







      share|improve this question













      I have created a shortcut to a website using this guide. Now I can see the shortcut on my desktop and it works fine. But I would like to add the shortcut on the side dock.



      I can't seem to do it by drag and dropping, and there is no right-click option to "add to favourites".









      share|improve this question












      share|improve this question




      share|improve this question








      edited Jun 11 at 21:34









      pomsky

      21.2k76392




      21.2k76392









      asked Jun 11 at 20:54









      Ddddddd

      132




      132




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          Try the following to create a launcher to open a website with Firefox and add it to Ubuntu dock.




          1. Create a new file, say MyWebsite.desktop in your ~/.local/share/applications/ directory. You can do that by running the following in Terminal



            touch ~/.local/share/applications/MyWebsite.desktop



          2. Open this file with a text-editor, for example by running



            gedit ~/.local/share/applications/MyWebsite.desktop



          3. Add the following lines to this file and save the file



            [Desktop Entry]
            Comment=Open XYZ website
            Terminal=false
            Name=XYZ website
            Exec=firefox website-URL
            Type=Application
            Icon=applications-internet
            NoDisplay=false


            In place of website-URL put the address you want to visit, for example https://askubuntu.com for Ask Ubuntu. Also edit the the Comment= and Name= fields accordingly.



          4. Click on "Activities" at the top bar or "Show Applications" in the dock and search for "XYZ website". It should appear.


          5. Right click on it and select "Add to favourites".






          share|improve this answer





















            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',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            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%2f1045723%2fhow-to-add-website-url-shortcut-to-ubuntu-dock-on-ubuntu-18-04%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote



            accepted










            Try the following to create a launcher to open a website with Firefox and add it to Ubuntu dock.




            1. Create a new file, say MyWebsite.desktop in your ~/.local/share/applications/ directory. You can do that by running the following in Terminal



              touch ~/.local/share/applications/MyWebsite.desktop



            2. Open this file with a text-editor, for example by running



              gedit ~/.local/share/applications/MyWebsite.desktop



            3. Add the following lines to this file and save the file



              [Desktop Entry]
              Comment=Open XYZ website
              Terminal=false
              Name=XYZ website
              Exec=firefox website-URL
              Type=Application
              Icon=applications-internet
              NoDisplay=false


              In place of website-URL put the address you want to visit, for example https://askubuntu.com for Ask Ubuntu. Also edit the the Comment= and Name= fields accordingly.



            4. Click on "Activities" at the top bar or "Show Applications" in the dock and search for "XYZ website". It should appear.


            5. Right click on it and select "Add to favourites".






            share|improve this answer

























              up vote
              0
              down vote



              accepted










              Try the following to create a launcher to open a website with Firefox and add it to Ubuntu dock.




              1. Create a new file, say MyWebsite.desktop in your ~/.local/share/applications/ directory. You can do that by running the following in Terminal



                touch ~/.local/share/applications/MyWebsite.desktop



              2. Open this file with a text-editor, for example by running



                gedit ~/.local/share/applications/MyWebsite.desktop



              3. Add the following lines to this file and save the file



                [Desktop Entry]
                Comment=Open XYZ website
                Terminal=false
                Name=XYZ website
                Exec=firefox website-URL
                Type=Application
                Icon=applications-internet
                NoDisplay=false


                In place of website-URL put the address you want to visit, for example https://askubuntu.com for Ask Ubuntu. Also edit the the Comment= and Name= fields accordingly.



              4. Click on "Activities" at the top bar or "Show Applications" in the dock and search for "XYZ website". It should appear.


              5. Right click on it and select "Add to favourites".






              share|improve this answer























                up vote
                0
                down vote



                accepted







                up vote
                0
                down vote



                accepted






                Try the following to create a launcher to open a website with Firefox and add it to Ubuntu dock.




                1. Create a new file, say MyWebsite.desktop in your ~/.local/share/applications/ directory. You can do that by running the following in Terminal



                  touch ~/.local/share/applications/MyWebsite.desktop



                2. Open this file with a text-editor, for example by running



                  gedit ~/.local/share/applications/MyWebsite.desktop



                3. Add the following lines to this file and save the file



                  [Desktop Entry]
                  Comment=Open XYZ website
                  Terminal=false
                  Name=XYZ website
                  Exec=firefox website-URL
                  Type=Application
                  Icon=applications-internet
                  NoDisplay=false


                  In place of website-URL put the address you want to visit, for example https://askubuntu.com for Ask Ubuntu. Also edit the the Comment= and Name= fields accordingly.



                4. Click on "Activities" at the top bar or "Show Applications" in the dock and search for "XYZ website". It should appear.


                5. Right click on it and select "Add to favourites".






                share|improve this answer













                Try the following to create a launcher to open a website with Firefox and add it to Ubuntu dock.




                1. Create a new file, say MyWebsite.desktop in your ~/.local/share/applications/ directory. You can do that by running the following in Terminal



                  touch ~/.local/share/applications/MyWebsite.desktop



                2. Open this file with a text-editor, for example by running



                  gedit ~/.local/share/applications/MyWebsite.desktop



                3. Add the following lines to this file and save the file



                  [Desktop Entry]
                  Comment=Open XYZ website
                  Terminal=false
                  Name=XYZ website
                  Exec=firefox website-URL
                  Type=Application
                  Icon=applications-internet
                  NoDisplay=false


                  In place of website-URL put the address you want to visit, for example https://askubuntu.com for Ask Ubuntu. Also edit the the Comment= and Name= fields accordingly.



                4. Click on "Activities" at the top bar or "Show Applications" in the dock and search for "XYZ website". It should appear.


                5. Right click on it and select "Add to favourites".







                share|improve this answer













                share|improve this answer



                share|improve this answer











                answered Jun 12 at 16:00









                pomsky

                21.2k76392




                21.2k76392






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1045723%2fhow-to-add-website-url-shortcut-to-ubuntu-dock-on-ubuntu-18-04%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    pylint3 and pip3 broken

                    Missing snmpget and snmpwalk

                    How to enroll fingerprints to Ubuntu 17.10 with VFS491