Why do I have two docks in Ubuntu 17.10 desktop?












11















What's going on here? I've installed the Dash to Dock extension on Ubuntu 17.10. Everything was cool, and as I was trying to hone and tweak the look of my desktop, at some point the shortcuts bar (dock?) on the left is duplicated. The default, which normally disappears with Dash to Dock, is there underneath the one that usually shows up when I install Dash to Dock. Why?



IMG:
(Click image to enlarge)



I've tried to go through the options for Dash to Dock, the GNOME Tweak Tool, and the regular Ubuntu settings, but I can't figure it out.










share|improve this question

























  • Once you have Dash to Dock installed, you can just sudo apt remove gnome-shell-extension-ubuntu-dock. That's what I ended up doing to resolve issues like this. Bye bye!

    – Shibumi
    Dec 13 '17 at 15:42
















11















What's going on here? I've installed the Dash to Dock extension on Ubuntu 17.10. Everything was cool, and as I was trying to hone and tweak the look of my desktop, at some point the shortcuts bar (dock?) on the left is duplicated. The default, which normally disappears with Dash to Dock, is there underneath the one that usually shows up when I install Dash to Dock. Why?



IMG:
(Click image to enlarge)



I've tried to go through the options for Dash to Dock, the GNOME Tweak Tool, and the regular Ubuntu settings, but I can't figure it out.










share|improve this question

























  • Once you have Dash to Dock installed, you can just sudo apt remove gnome-shell-extension-ubuntu-dock. That's what I ended up doing to resolve issues like this. Bye bye!

    – Shibumi
    Dec 13 '17 at 15:42














11












11








11


5






What's going on here? I've installed the Dash to Dock extension on Ubuntu 17.10. Everything was cool, and as I was trying to hone and tweak the look of my desktop, at some point the shortcuts bar (dock?) on the left is duplicated. The default, which normally disappears with Dash to Dock, is there underneath the one that usually shows up when I install Dash to Dock. Why?



IMG:
(Click image to enlarge)



I've tried to go through the options for Dash to Dock, the GNOME Tweak Tool, and the regular Ubuntu settings, but I can't figure it out.










share|improve this question
















What's going on here? I've installed the Dash to Dock extension on Ubuntu 17.10. Everything was cool, and as I was trying to hone and tweak the look of my desktop, at some point the shortcuts bar (dock?) on the left is duplicated. The default, which normally disappears with Dash to Dock, is there underneath the one that usually shows up when I install Dash to Dock. Why?



IMG:
(Click image to enlarge)



I've tried to go through the options for Dash to Dock, the GNOME Tweak Tool, and the regular Ubuntu settings, but I can't figure it out.







17.10 gnome-shell ubuntu-dock gnome-shell-extension dock






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 28 at 14:53









pomsky

31.2k1194127




31.2k1194127










asked Nov 11 '17 at 12:37









Andrew IsomAndrew Isom

5614




5614













  • Once you have Dash to Dock installed, you can just sudo apt remove gnome-shell-extension-ubuntu-dock. That's what I ended up doing to resolve issues like this. Bye bye!

    – Shibumi
    Dec 13 '17 at 15:42



















  • Once you have Dash to Dock installed, you can just sudo apt remove gnome-shell-extension-ubuntu-dock. That's what I ended up doing to resolve issues like this. Bye bye!

    – Shibumi
    Dec 13 '17 at 15:42

















Once you have Dash to Dock installed, you can just sudo apt remove gnome-shell-extension-ubuntu-dock. That's what I ended up doing to resolve issues like this. Bye bye!

– Shibumi
Dec 13 '17 at 15:42





Once you have Dash to Dock installed, you can just sudo apt remove gnome-shell-extension-ubuntu-dock. That's what I ended up doing to resolve issues like this. Bye bye!

– Shibumi
Dec 13 '17 at 15:42










5 Answers
5






active

oldest

votes


















10














Running Dash to Dock along with the default Ubuntu Dock is not a good idea. As Ubuntu Dock is a fork of Dash to Dock (and hence they share many same schemas), issue like this is not really surprising.



Disable one of the two extensions (Ubuntu Dock and Dash to Dock) using Tweaks.






share|improve this answer


























  • Pomsky is right, I had the same issue with 17.10, for me Dash to Dock was causing the problem

    – Doudou
    Nov 11 '17 at 12:53











  • I have the same problem and DID disable the ubuntu dock before installing dock to dash. So I don't know about others, but this is not working for me.

    – verpfeilt
    Nov 19 '17 at 17:48











  • @verpfeilt It's not easy to disable Ubuntu Dock in the default Ubuntu session. The safest option is to install vanilla GNOME, Ubuntu Dock is disabled by default there. You may also consider leoperbo's answer to this question. A potentially unsafe option is to remove the folder for the dock from /usr/share/gnome-shell/extensions.

    – pomsky
    Nov 19 '17 at 18:29











  • Okay, I assumed with "Tweaks" you meant gnome-tweak-tool. This is what did not work for me.

    – verpfeilt
    Nov 19 '17 at 18:47








  • 1





    To remove it I've done sudo apt remove gnome-shell-extension-ubuntu-dock. Then log out / log in and Dash to Dock was working properly :)

    – Jérémy Pouyet
    Oct 18 '18 at 7:48



















5














I did the following steps:




  • Open Dash to Dock settings

  • Got to the 'Poistion and size' tab

  • Check the option 'Show on all monitors'


This fixed the problem for me. Hopefully it works for you too. Also make sure Ubuntu dock is disabled.






share|improve this answer
























  • This worked for me! Any idea how this setting influences dock behavior on activities screen?

    – everton
    Jul 30 '18 at 18:49











  • I can only make educated guesses as to why it worked. Unfortunately i cant provide you with anything concrete.

    – chai_and_kaapi
    Oct 11 '18 at 7:31











  • Worked for me on Ubuntu 18.10, although it does not make sense.

    – andreas
    Feb 2 at 0:59



















4














I have been playing with similar issues: Gnome favorites bar was showing in activities view and dock was showing on lockscreen; as pomsky says, all of this issues are associated with the combination of Ubuntu Dock and Dash to Dock.



I found this workaround for customize the dock with almost all the options that Dash to Dock offers:




  1. Install Dash to Dock.

  2. Make all your customization.

  3. Remove Dash to Dock (from https://extensions.gnome.org/local/).

  4. Logout and login.


Although Dash to Dock was removed, the customization (position, size, behavior, appearance) persist on Ubuntu Dock and the issues (docks overlapped, dock shows on lockscreen and favorites shows on activities view) are not present any more.



Notes: with this method, the only thing that you lost from Dash to Dock is the "Dash to Dock settings" menu from the applications icon, and of course, the Dash to Dock settings entry in Gnome Tweak Tool. I haven't tried yet, but I think that if you make a change from Dock entry in Ubuntu settings, may be some customization realized with Dash to Dock settings will be lost.






share|improve this answer
























  • This did not work for me, unfortunately. The Ubuntu Dock is now just like before. I read that canonical promised that people would be able to use the normal Dash to Dock extension if they want, so I really wonder why this problem exists.

    – verpfeilt
    Nov 19 '17 at 18:45





















3














The following is working for me:




  1. Install and configure the "dash to dock" extension


  2. Edit the following file:



    sudo vi /usr/share/gnome-shell/extensions/ubuntu-dock@ubuntu.com/extension.js



  3. In the following code block, change the let to_enable = true; to let to_enable = false:



    function conditionallyenabledock() {
    let to_enable = false;
    runningExtensions = ExtensionSystem.extensionOrder;
    for (let i = 0; i < runningExtensions.length; i++) {
    if (runningExtensions[i] === "dash-to-dock@micxgx.gmail.com") {
    to_enable = false;
    }
    }

    // enable or disable dock depending on dock status and to_enable state
    if (to_enable && !dockManager) {
    dockManager = new Docking.DockManager();
    } else if (!to_enable && dockManager) {
    dockManager.destroy();
    dockManager = null;
    }
    }


  4. Restart your session or do Alt + F2 and type restart


That's it.






share|improve this answer

































    0














    I was facing the same problem, then I found this nxadm cluadio. It really did the trick.




    1. Remove Dash to Dock extension in case that you have installed.


    2. Use dconf as explained in the link. The text in this step was copied from the same link.



      To prevent Ubuntu Dock to take all the vertical space (i.e. most of it is just an empty bar):



      dconf write /org/gnome/shell/extensions/dash-to-dock/extend-height false


      A neat Dock trick: when hovering over a icon on the dock, cycle through windows of the application while scrolling (or using two fingers). Way faster than click + select:



      dconf write /org/gnome/shell/extensions/dash-to-dock/scroll-action "'cycle-windows'"


      I set the dock to autohide in the regular “Settings” application. An extension is needed to do the same for the Top Bar (you need to log out, and the enable it through the “Tweaks” application):



      sudo apt install gnome-shell-extension-autohidetopbar


      Just to be safe (e.g. in case you broke something), you can reset all the GNOME settings with:



      dconf reset -f /



    Optional: You can install dconf-editor and explore other settings.






    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',
      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/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%2faskubuntu.com%2fquestions%2f975387%2fwhy-do-i-have-two-docks-in-ubuntu-17-10-desktop%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      5 Answers
      5






      active

      oldest

      votes








      5 Answers
      5






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      10














      Running Dash to Dock along with the default Ubuntu Dock is not a good idea. As Ubuntu Dock is a fork of Dash to Dock (and hence they share many same schemas), issue like this is not really surprising.



      Disable one of the two extensions (Ubuntu Dock and Dash to Dock) using Tweaks.






      share|improve this answer


























      • Pomsky is right, I had the same issue with 17.10, for me Dash to Dock was causing the problem

        – Doudou
        Nov 11 '17 at 12:53











      • I have the same problem and DID disable the ubuntu dock before installing dock to dash. So I don't know about others, but this is not working for me.

        – verpfeilt
        Nov 19 '17 at 17:48











      • @verpfeilt It's not easy to disable Ubuntu Dock in the default Ubuntu session. The safest option is to install vanilla GNOME, Ubuntu Dock is disabled by default there. You may also consider leoperbo's answer to this question. A potentially unsafe option is to remove the folder for the dock from /usr/share/gnome-shell/extensions.

        – pomsky
        Nov 19 '17 at 18:29











      • Okay, I assumed with "Tweaks" you meant gnome-tweak-tool. This is what did not work for me.

        – verpfeilt
        Nov 19 '17 at 18:47








      • 1





        To remove it I've done sudo apt remove gnome-shell-extension-ubuntu-dock. Then log out / log in and Dash to Dock was working properly :)

        – Jérémy Pouyet
        Oct 18 '18 at 7:48
















      10














      Running Dash to Dock along with the default Ubuntu Dock is not a good idea. As Ubuntu Dock is a fork of Dash to Dock (and hence they share many same schemas), issue like this is not really surprising.



      Disable one of the two extensions (Ubuntu Dock and Dash to Dock) using Tweaks.






      share|improve this answer


























      • Pomsky is right, I had the same issue with 17.10, for me Dash to Dock was causing the problem

        – Doudou
        Nov 11 '17 at 12:53











      • I have the same problem and DID disable the ubuntu dock before installing dock to dash. So I don't know about others, but this is not working for me.

        – verpfeilt
        Nov 19 '17 at 17:48











      • @verpfeilt It's not easy to disable Ubuntu Dock in the default Ubuntu session. The safest option is to install vanilla GNOME, Ubuntu Dock is disabled by default there. You may also consider leoperbo's answer to this question. A potentially unsafe option is to remove the folder for the dock from /usr/share/gnome-shell/extensions.

        – pomsky
        Nov 19 '17 at 18:29











      • Okay, I assumed with "Tweaks" you meant gnome-tweak-tool. This is what did not work for me.

        – verpfeilt
        Nov 19 '17 at 18:47








      • 1





        To remove it I've done sudo apt remove gnome-shell-extension-ubuntu-dock. Then log out / log in and Dash to Dock was working properly :)

        – Jérémy Pouyet
        Oct 18 '18 at 7:48














      10












      10








      10







      Running Dash to Dock along with the default Ubuntu Dock is not a good idea. As Ubuntu Dock is a fork of Dash to Dock (and hence they share many same schemas), issue like this is not really surprising.



      Disable one of the two extensions (Ubuntu Dock and Dash to Dock) using Tweaks.






      share|improve this answer















      Running Dash to Dock along with the default Ubuntu Dock is not a good idea. As Ubuntu Dock is a fork of Dash to Dock (and hence they share many same schemas), issue like this is not really surprising.



      Disable one of the two extensions (Ubuntu Dock and Dash to Dock) using Tweaks.







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Nov 11 '17 at 12:58

























      answered Nov 11 '17 at 12:42









      pomskypomsky

      31.2k1194127




      31.2k1194127













      • Pomsky is right, I had the same issue with 17.10, for me Dash to Dock was causing the problem

        – Doudou
        Nov 11 '17 at 12:53











      • I have the same problem and DID disable the ubuntu dock before installing dock to dash. So I don't know about others, but this is not working for me.

        – verpfeilt
        Nov 19 '17 at 17:48











      • @verpfeilt It's not easy to disable Ubuntu Dock in the default Ubuntu session. The safest option is to install vanilla GNOME, Ubuntu Dock is disabled by default there. You may also consider leoperbo's answer to this question. A potentially unsafe option is to remove the folder for the dock from /usr/share/gnome-shell/extensions.

        – pomsky
        Nov 19 '17 at 18:29











      • Okay, I assumed with "Tweaks" you meant gnome-tweak-tool. This is what did not work for me.

        – verpfeilt
        Nov 19 '17 at 18:47








      • 1





        To remove it I've done sudo apt remove gnome-shell-extension-ubuntu-dock. Then log out / log in and Dash to Dock was working properly :)

        – Jérémy Pouyet
        Oct 18 '18 at 7:48



















      • Pomsky is right, I had the same issue with 17.10, for me Dash to Dock was causing the problem

        – Doudou
        Nov 11 '17 at 12:53











      • I have the same problem and DID disable the ubuntu dock before installing dock to dash. So I don't know about others, but this is not working for me.

        – verpfeilt
        Nov 19 '17 at 17:48











      • @verpfeilt It's not easy to disable Ubuntu Dock in the default Ubuntu session. The safest option is to install vanilla GNOME, Ubuntu Dock is disabled by default there. You may also consider leoperbo's answer to this question. A potentially unsafe option is to remove the folder for the dock from /usr/share/gnome-shell/extensions.

        – pomsky
        Nov 19 '17 at 18:29











      • Okay, I assumed with "Tweaks" you meant gnome-tweak-tool. This is what did not work for me.

        – verpfeilt
        Nov 19 '17 at 18:47








      • 1





        To remove it I've done sudo apt remove gnome-shell-extension-ubuntu-dock. Then log out / log in and Dash to Dock was working properly :)

        – Jérémy Pouyet
        Oct 18 '18 at 7:48

















      Pomsky is right, I had the same issue with 17.10, for me Dash to Dock was causing the problem

      – Doudou
      Nov 11 '17 at 12:53





      Pomsky is right, I had the same issue with 17.10, for me Dash to Dock was causing the problem

      – Doudou
      Nov 11 '17 at 12:53













      I have the same problem and DID disable the ubuntu dock before installing dock to dash. So I don't know about others, but this is not working for me.

      – verpfeilt
      Nov 19 '17 at 17:48





      I have the same problem and DID disable the ubuntu dock before installing dock to dash. So I don't know about others, but this is not working for me.

      – verpfeilt
      Nov 19 '17 at 17:48













      @verpfeilt It's not easy to disable Ubuntu Dock in the default Ubuntu session. The safest option is to install vanilla GNOME, Ubuntu Dock is disabled by default there. You may also consider leoperbo's answer to this question. A potentially unsafe option is to remove the folder for the dock from /usr/share/gnome-shell/extensions.

      – pomsky
      Nov 19 '17 at 18:29





      @verpfeilt It's not easy to disable Ubuntu Dock in the default Ubuntu session. The safest option is to install vanilla GNOME, Ubuntu Dock is disabled by default there. You may also consider leoperbo's answer to this question. A potentially unsafe option is to remove the folder for the dock from /usr/share/gnome-shell/extensions.

      – pomsky
      Nov 19 '17 at 18:29













      Okay, I assumed with "Tweaks" you meant gnome-tweak-tool. This is what did not work for me.

      – verpfeilt
      Nov 19 '17 at 18:47







      Okay, I assumed with "Tweaks" you meant gnome-tweak-tool. This is what did not work for me.

      – verpfeilt
      Nov 19 '17 at 18:47






      1




      1





      To remove it I've done sudo apt remove gnome-shell-extension-ubuntu-dock. Then log out / log in and Dash to Dock was working properly :)

      – Jérémy Pouyet
      Oct 18 '18 at 7:48





      To remove it I've done sudo apt remove gnome-shell-extension-ubuntu-dock. Then log out / log in and Dash to Dock was working properly :)

      – Jérémy Pouyet
      Oct 18 '18 at 7:48













      5














      I did the following steps:




      • Open Dash to Dock settings

      • Got to the 'Poistion and size' tab

      • Check the option 'Show on all monitors'


      This fixed the problem for me. Hopefully it works for you too. Also make sure Ubuntu dock is disabled.






      share|improve this answer
























      • This worked for me! Any idea how this setting influences dock behavior on activities screen?

        – everton
        Jul 30 '18 at 18:49











      • I can only make educated guesses as to why it worked. Unfortunately i cant provide you with anything concrete.

        – chai_and_kaapi
        Oct 11 '18 at 7:31











      • Worked for me on Ubuntu 18.10, although it does not make sense.

        – andreas
        Feb 2 at 0:59
















      5














      I did the following steps:




      • Open Dash to Dock settings

      • Got to the 'Poistion and size' tab

      • Check the option 'Show on all monitors'


      This fixed the problem for me. Hopefully it works for you too. Also make sure Ubuntu dock is disabled.






      share|improve this answer
























      • This worked for me! Any idea how this setting influences dock behavior on activities screen?

        – everton
        Jul 30 '18 at 18:49











      • I can only make educated guesses as to why it worked. Unfortunately i cant provide you with anything concrete.

        – chai_and_kaapi
        Oct 11 '18 at 7:31











      • Worked for me on Ubuntu 18.10, although it does not make sense.

        – andreas
        Feb 2 at 0:59














      5












      5








      5







      I did the following steps:




      • Open Dash to Dock settings

      • Got to the 'Poistion and size' tab

      • Check the option 'Show on all monitors'


      This fixed the problem for me. Hopefully it works for you too. Also make sure Ubuntu dock is disabled.






      share|improve this answer













      I did the following steps:




      • Open Dash to Dock settings

      • Got to the 'Poistion and size' tab

      • Check the option 'Show on all monitors'


      This fixed the problem for me. Hopefully it works for you too. Also make sure Ubuntu dock is disabled.







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Nov 24 '17 at 5:40









      chai_and_kaapichai_and_kaapi

      512




      512













      • This worked for me! Any idea how this setting influences dock behavior on activities screen?

        – everton
        Jul 30 '18 at 18:49











      • I can only make educated guesses as to why it worked. Unfortunately i cant provide you with anything concrete.

        – chai_and_kaapi
        Oct 11 '18 at 7:31











      • Worked for me on Ubuntu 18.10, although it does not make sense.

        – andreas
        Feb 2 at 0:59



















      • This worked for me! Any idea how this setting influences dock behavior on activities screen?

        – everton
        Jul 30 '18 at 18:49











      • I can only make educated guesses as to why it worked. Unfortunately i cant provide you with anything concrete.

        – chai_and_kaapi
        Oct 11 '18 at 7:31











      • Worked for me on Ubuntu 18.10, although it does not make sense.

        – andreas
        Feb 2 at 0:59

















      This worked for me! Any idea how this setting influences dock behavior on activities screen?

      – everton
      Jul 30 '18 at 18:49





      This worked for me! Any idea how this setting influences dock behavior on activities screen?

      – everton
      Jul 30 '18 at 18:49













      I can only make educated guesses as to why it worked. Unfortunately i cant provide you with anything concrete.

      – chai_and_kaapi
      Oct 11 '18 at 7:31





      I can only make educated guesses as to why it worked. Unfortunately i cant provide you with anything concrete.

      – chai_and_kaapi
      Oct 11 '18 at 7:31













      Worked for me on Ubuntu 18.10, although it does not make sense.

      – andreas
      Feb 2 at 0:59





      Worked for me on Ubuntu 18.10, although it does not make sense.

      – andreas
      Feb 2 at 0:59











      4














      I have been playing with similar issues: Gnome favorites bar was showing in activities view and dock was showing on lockscreen; as pomsky says, all of this issues are associated with the combination of Ubuntu Dock and Dash to Dock.



      I found this workaround for customize the dock with almost all the options that Dash to Dock offers:




      1. Install Dash to Dock.

      2. Make all your customization.

      3. Remove Dash to Dock (from https://extensions.gnome.org/local/).

      4. Logout and login.


      Although Dash to Dock was removed, the customization (position, size, behavior, appearance) persist on Ubuntu Dock and the issues (docks overlapped, dock shows on lockscreen and favorites shows on activities view) are not present any more.



      Notes: with this method, the only thing that you lost from Dash to Dock is the "Dash to Dock settings" menu from the applications icon, and of course, the Dash to Dock settings entry in Gnome Tweak Tool. I haven't tried yet, but I think that if you make a change from Dock entry in Ubuntu settings, may be some customization realized with Dash to Dock settings will be lost.






      share|improve this answer
























      • This did not work for me, unfortunately. The Ubuntu Dock is now just like before. I read that canonical promised that people would be able to use the normal Dash to Dock extension if they want, so I really wonder why this problem exists.

        – verpfeilt
        Nov 19 '17 at 18:45


















      4














      I have been playing with similar issues: Gnome favorites bar was showing in activities view and dock was showing on lockscreen; as pomsky says, all of this issues are associated with the combination of Ubuntu Dock and Dash to Dock.



      I found this workaround for customize the dock with almost all the options that Dash to Dock offers:




      1. Install Dash to Dock.

      2. Make all your customization.

      3. Remove Dash to Dock (from https://extensions.gnome.org/local/).

      4. Logout and login.


      Although Dash to Dock was removed, the customization (position, size, behavior, appearance) persist on Ubuntu Dock and the issues (docks overlapped, dock shows on lockscreen and favorites shows on activities view) are not present any more.



      Notes: with this method, the only thing that you lost from Dash to Dock is the "Dash to Dock settings" menu from the applications icon, and of course, the Dash to Dock settings entry in Gnome Tweak Tool. I haven't tried yet, but I think that if you make a change from Dock entry in Ubuntu settings, may be some customization realized with Dash to Dock settings will be lost.






      share|improve this answer
























      • This did not work for me, unfortunately. The Ubuntu Dock is now just like before. I read that canonical promised that people would be able to use the normal Dash to Dock extension if they want, so I really wonder why this problem exists.

        – verpfeilt
        Nov 19 '17 at 18:45
















      4












      4








      4







      I have been playing with similar issues: Gnome favorites bar was showing in activities view and dock was showing on lockscreen; as pomsky says, all of this issues are associated with the combination of Ubuntu Dock and Dash to Dock.



      I found this workaround for customize the dock with almost all the options that Dash to Dock offers:




      1. Install Dash to Dock.

      2. Make all your customization.

      3. Remove Dash to Dock (from https://extensions.gnome.org/local/).

      4. Logout and login.


      Although Dash to Dock was removed, the customization (position, size, behavior, appearance) persist on Ubuntu Dock and the issues (docks overlapped, dock shows on lockscreen and favorites shows on activities view) are not present any more.



      Notes: with this method, the only thing that you lost from Dash to Dock is the "Dash to Dock settings" menu from the applications icon, and of course, the Dash to Dock settings entry in Gnome Tweak Tool. I haven't tried yet, but I think that if you make a change from Dock entry in Ubuntu settings, may be some customization realized with Dash to Dock settings will be lost.






      share|improve this answer













      I have been playing with similar issues: Gnome favorites bar was showing in activities view and dock was showing on lockscreen; as pomsky says, all of this issues are associated with the combination of Ubuntu Dock and Dash to Dock.



      I found this workaround for customize the dock with almost all the options that Dash to Dock offers:




      1. Install Dash to Dock.

      2. Make all your customization.

      3. Remove Dash to Dock (from https://extensions.gnome.org/local/).

      4. Logout and login.


      Although Dash to Dock was removed, the customization (position, size, behavior, appearance) persist on Ubuntu Dock and the issues (docks overlapped, dock shows on lockscreen and favorites shows on activities view) are not present any more.



      Notes: with this method, the only thing that you lost from Dash to Dock is the "Dash to Dock settings" menu from the applications icon, and of course, the Dash to Dock settings entry in Gnome Tweak Tool. I haven't tried yet, but I think that if you make a change from Dock entry in Ubuntu settings, may be some customization realized with Dash to Dock settings will be lost.







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Nov 15 '17 at 16:33









      leoperboleoperbo

      52559




      52559













      • This did not work for me, unfortunately. The Ubuntu Dock is now just like before. I read that canonical promised that people would be able to use the normal Dash to Dock extension if they want, so I really wonder why this problem exists.

        – verpfeilt
        Nov 19 '17 at 18:45





















      • This did not work for me, unfortunately. The Ubuntu Dock is now just like before. I read that canonical promised that people would be able to use the normal Dash to Dock extension if they want, so I really wonder why this problem exists.

        – verpfeilt
        Nov 19 '17 at 18:45



















      This did not work for me, unfortunately. The Ubuntu Dock is now just like before. I read that canonical promised that people would be able to use the normal Dash to Dock extension if they want, so I really wonder why this problem exists.

      – verpfeilt
      Nov 19 '17 at 18:45







      This did not work for me, unfortunately. The Ubuntu Dock is now just like before. I read that canonical promised that people would be able to use the normal Dash to Dock extension if they want, so I really wonder why this problem exists.

      – verpfeilt
      Nov 19 '17 at 18:45













      3














      The following is working for me:




      1. Install and configure the "dash to dock" extension


      2. Edit the following file:



        sudo vi /usr/share/gnome-shell/extensions/ubuntu-dock@ubuntu.com/extension.js



      3. In the following code block, change the let to_enable = true; to let to_enable = false:



        function conditionallyenabledock() {
        let to_enable = false;
        runningExtensions = ExtensionSystem.extensionOrder;
        for (let i = 0; i < runningExtensions.length; i++) {
        if (runningExtensions[i] === "dash-to-dock@micxgx.gmail.com") {
        to_enable = false;
        }
        }

        // enable or disable dock depending on dock status and to_enable state
        if (to_enable && !dockManager) {
        dockManager = new Docking.DockManager();
        } else if (!to_enable && dockManager) {
        dockManager.destroy();
        dockManager = null;
        }
        }


      4. Restart your session or do Alt + F2 and type restart


      That's it.






      share|improve this answer






























        3














        The following is working for me:




        1. Install and configure the "dash to dock" extension


        2. Edit the following file:



          sudo vi /usr/share/gnome-shell/extensions/ubuntu-dock@ubuntu.com/extension.js



        3. In the following code block, change the let to_enable = true; to let to_enable = false:



          function conditionallyenabledock() {
          let to_enable = false;
          runningExtensions = ExtensionSystem.extensionOrder;
          for (let i = 0; i < runningExtensions.length; i++) {
          if (runningExtensions[i] === "dash-to-dock@micxgx.gmail.com") {
          to_enable = false;
          }
          }

          // enable or disable dock depending on dock status and to_enable state
          if (to_enable && !dockManager) {
          dockManager = new Docking.DockManager();
          } else if (!to_enable && dockManager) {
          dockManager.destroy();
          dockManager = null;
          }
          }


        4. Restart your session or do Alt + F2 and type restart


        That's it.






        share|improve this answer




























          3












          3








          3







          The following is working for me:




          1. Install and configure the "dash to dock" extension


          2. Edit the following file:



            sudo vi /usr/share/gnome-shell/extensions/ubuntu-dock@ubuntu.com/extension.js



          3. In the following code block, change the let to_enable = true; to let to_enable = false:



            function conditionallyenabledock() {
            let to_enable = false;
            runningExtensions = ExtensionSystem.extensionOrder;
            for (let i = 0; i < runningExtensions.length; i++) {
            if (runningExtensions[i] === "dash-to-dock@micxgx.gmail.com") {
            to_enable = false;
            }
            }

            // enable or disable dock depending on dock status and to_enable state
            if (to_enable && !dockManager) {
            dockManager = new Docking.DockManager();
            } else if (!to_enable && dockManager) {
            dockManager.destroy();
            dockManager = null;
            }
            }


          4. Restart your session or do Alt + F2 and type restart


          That's it.






          share|improve this answer















          The following is working for me:




          1. Install and configure the "dash to dock" extension


          2. Edit the following file:



            sudo vi /usr/share/gnome-shell/extensions/ubuntu-dock@ubuntu.com/extension.js



          3. In the following code block, change the let to_enable = true; to let to_enable = false:



            function conditionallyenabledock() {
            let to_enable = false;
            runningExtensions = ExtensionSystem.extensionOrder;
            for (let i = 0; i < runningExtensions.length; i++) {
            if (runningExtensions[i] === "dash-to-dock@micxgx.gmail.com") {
            to_enable = false;
            }
            }

            // enable or disable dock depending on dock status and to_enable state
            if (to_enable && !dockManager) {
            dockManager = new Docking.DockManager();
            } else if (!to_enable && dockManager) {
            dockManager.destroy();
            dockManager = null;
            }
            }


          4. Restart your session or do Alt + F2 and type restart


          That's it.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 13 '18 at 12:19

























          answered Mar 13 '18 at 12:13









          David Astillero PérezDavid Astillero Pérez

          313




          313























              0














              I was facing the same problem, then I found this nxadm cluadio. It really did the trick.




              1. Remove Dash to Dock extension in case that you have installed.


              2. Use dconf as explained in the link. The text in this step was copied from the same link.



                To prevent Ubuntu Dock to take all the vertical space (i.e. most of it is just an empty bar):



                dconf write /org/gnome/shell/extensions/dash-to-dock/extend-height false


                A neat Dock trick: when hovering over a icon on the dock, cycle through windows of the application while scrolling (or using two fingers). Way faster than click + select:



                dconf write /org/gnome/shell/extensions/dash-to-dock/scroll-action "'cycle-windows'"


                I set the dock to autohide in the regular “Settings” application. An extension is needed to do the same for the Top Bar (you need to log out, and the enable it through the “Tweaks” application):



                sudo apt install gnome-shell-extension-autohidetopbar


                Just to be safe (e.g. in case you broke something), you can reset all the GNOME settings with:



                dconf reset -f /



              Optional: You can install dconf-editor and explore other settings.






              share|improve this answer






























                0














                I was facing the same problem, then I found this nxadm cluadio. It really did the trick.




                1. Remove Dash to Dock extension in case that you have installed.


                2. Use dconf as explained in the link. The text in this step was copied from the same link.



                  To prevent Ubuntu Dock to take all the vertical space (i.e. most of it is just an empty bar):



                  dconf write /org/gnome/shell/extensions/dash-to-dock/extend-height false


                  A neat Dock trick: when hovering over a icon on the dock, cycle through windows of the application while scrolling (or using two fingers). Way faster than click + select:



                  dconf write /org/gnome/shell/extensions/dash-to-dock/scroll-action "'cycle-windows'"


                  I set the dock to autohide in the regular “Settings” application. An extension is needed to do the same for the Top Bar (you need to log out, and the enable it through the “Tweaks” application):



                  sudo apt install gnome-shell-extension-autohidetopbar


                  Just to be safe (e.g. in case you broke something), you can reset all the GNOME settings with:



                  dconf reset -f /



                Optional: You can install dconf-editor and explore other settings.






                share|improve this answer




























                  0












                  0








                  0







                  I was facing the same problem, then I found this nxadm cluadio. It really did the trick.




                  1. Remove Dash to Dock extension in case that you have installed.


                  2. Use dconf as explained in the link. The text in this step was copied from the same link.



                    To prevent Ubuntu Dock to take all the vertical space (i.e. most of it is just an empty bar):



                    dconf write /org/gnome/shell/extensions/dash-to-dock/extend-height false


                    A neat Dock trick: when hovering over a icon on the dock, cycle through windows of the application while scrolling (or using two fingers). Way faster than click + select:



                    dconf write /org/gnome/shell/extensions/dash-to-dock/scroll-action "'cycle-windows'"


                    I set the dock to autohide in the regular “Settings” application. An extension is needed to do the same for the Top Bar (you need to log out, and the enable it through the “Tweaks” application):



                    sudo apt install gnome-shell-extension-autohidetopbar


                    Just to be safe (e.g. in case you broke something), you can reset all the GNOME settings with:



                    dconf reset -f /



                  Optional: You can install dconf-editor and explore other settings.






                  share|improve this answer















                  I was facing the same problem, then I found this nxadm cluadio. It really did the trick.




                  1. Remove Dash to Dock extension in case that you have installed.


                  2. Use dconf as explained in the link. The text in this step was copied from the same link.



                    To prevent Ubuntu Dock to take all the vertical space (i.e. most of it is just an empty bar):



                    dconf write /org/gnome/shell/extensions/dash-to-dock/extend-height false


                    A neat Dock trick: when hovering over a icon on the dock, cycle through windows of the application while scrolling (or using two fingers). Way faster than click + select:



                    dconf write /org/gnome/shell/extensions/dash-to-dock/scroll-action "'cycle-windows'"


                    I set the dock to autohide in the regular “Settings” application. An extension is needed to do the same for the Top Bar (you need to log out, and the enable it through the “Tweaks” application):



                    sudo apt install gnome-shell-extension-autohidetopbar


                    Just to be safe (e.g. in case you broke something), you can reset all the GNOME settings with:



                    dconf reset -f /



                  Optional: You can install dconf-editor and explore other settings.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Nov 24 '17 at 5:53









                  karel

                  59.5k13129151




                  59.5k13129151










                  answered Nov 21 '17 at 1:50









                  dilguisdilguis

                  1




                  1






























                      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%2f975387%2fwhy-do-i-have-two-docks-in-ubuntu-17-10-desktop%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

                      flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                      Mangá

                       ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕