Thursday, December 18, 2014

Fix Unity problem with Plank dock (and other docks)

  • Find plank.desktop file ~/.config/autostart and add this code,X-GNOME-Autostart-Delay=20
Steps to solve easily (tested in Ubuntu 14.04)
  1. Run gedit without root
  2. Click open file menu and press Ctrl+H
  3. Open file ~/.config/autostart/plank.desktop
  4. Add this
  5. Save and close
  6. Reboot your unity/gnome
Delay time more than 20 works fine.
  • Select Plank startup application from startup application and change command option to:
    sh -c "sleep 30; exec plank -o"
    source here and here
  • Create a script called startdock, with the text
    #! /bin/sh -e
    sleep 20
    exit 0
    Make it executable, and in the startup items add a new command with path to this script.

No comments:

Post a Comment