Unpinned Docky/Plank icon from Docky/Plank docks and can't pin it on again

23,372

Solution 1

In version 0.11.1 the solutions listed here no longer work because Plank has migrated to GSettings for storing its settings - at a long last. I've been nagging Rico to do that since forever.

To enable/disable the plank icon in 0.11.1 and later, open dconf-editor (if it's not installed, run sudo apt-get install dconf-editor) and navigate to net.launchpad.plank.docks.dock1. You will see a list of settings for the dock in there, including a show-dock-item checkbox. Check it to show the plank item in dock.

Solution 2

This is what I had to do,

  • Navigate to /home/shashwat/.config/plank/dock1
  • Open the file settings
  • Find these lines,
    #Whether to show the item for the dock itself.
    ShowDockItem=false
  • Change ShowDockItem to true and save file.

Solution 3

Simply "Ctrl + Right Click" on the plank, it will open a context menu, there you can choose "Preferences". :)

OR

Simply type this in the Terminal (Ctrl+Alt+T),

plank --preferences

Both will do the trick, if you didn't find settings in /home/USERNAME/.config/plank/dock1

Solution 4

This is what I had to do,

  • Navigate to ~/.config/plank/dock1
  • Open the file settings
  • Find these line: ShowDockItem=false
  • Change ShowDockItem to true and save file.

works thanks.

Solution 5

In version 0.11.1 the solutions listed here no longer work because Plank has migrated to GSettings for storing its settings - at a long last. I've been nagging Rico to do that since forever.

To enable/disable the plank icon in 0.11.1 and later, open dconf-editor (if it's not installed, run sudo apt-get install dconf-editor) and navigate to net.launchpad.plank.docks.dock1. You will see a list of settings for the dock in there, including a show-dock-item checkbox. Check it to show the plank item in dock.

I do not understand what you mean by navigate to net.launchpad.plank.docks.dock1. I am using Ubuntu Mate

Share:
23,372

Related videos on Youtube

Sypnos
Author by

Sypnos

Updated on September 18, 2022

Comments

  • Sypnos
    Sypnos over 1 year

    The Docky/Plank icons on the homonym docks let the user edit the settings more quickly than modifying the configuration file, I unpinned them and now I don't know how to pin them on again.

    • Sypnos
      Sypnos over 9 years
      Ok, I found the "solution" myself: I simply created the "docky.dockitem" and "plank.dockitem" files in ~/.config/plank/dock1/launchers again.
  • SalahAdDin
    SalahAdDin about 8 years
    And no, doesn't works with the last version: 0.11.1-2 in Antergos. I can't drag the icons and change his order, any news for this?
  • Shnatsel
    Shnatsel about 8 years
    @SalahAdDin version 0.11.1 uses dconf to store settings, see askubuntu.com/a/772316/4770
  • Martín Coll
    Martín Coll almost 6 years
    dconf write /net/launchpad/plank/docks/dock1/show-dock-item [true/false]