About Me

header ads

How to fix: Ubuntu Dock Shown On Lock Screen Bug In Ubuntu 18.04 or 18.10 (Gnome Shell)

If you are a Ubuntu 18.04 and 18.04 user, you may encounter this issue, remove icons from the Ubuntu dock or close running applications, and even more, the dock - which is transparent by default - may become opaque, plus resize/jitter the mouse pointer as it passes over the dock. This is due to a bug that causes the Ubuntu dock/launcher to appear on the lock screen in some cases, leading to the problem.

In this image transferred from GitHub you see the effect of this bug and how the Ubuntu dock moved down the screen completely.

dock-on-top-lock-screen-bug-ubuntu

Here you will see a desktop image showing how Ubuntu dock turns into an opaque after logging in.

lockscreen-bug

We now come to solve this problem, do not worry, this bug has been fixed in Ubuntu 19.04 by launching the update (Disco Dingo) for Ubuntu Dock. For those who have Ubuntu 18.04 and 18.10 they have to wait until the appropriate updates are released to fix the bugs, or if they do not want to wait, they can do the patch that fixes Ubuntu dock being displayed on the lock screen.

GitHub has provided this patch to fix the Ubuntu Dock extension appearing on top of the GDM3 lock screen, To install it use this command:
wget https://patch-diff.githubusercontent.com/raw/micheleg/dash-to-dock/pull/843.patch
sudo patch /usr/share/gnome-shell/extensions/ubuntu-dock@ubuntu.com/extension.js < 843.patch
You can check the commands through this direct link.

After you apply them and restart the system, the Ubuntu dock should not appear at the top of the logon screen.

As for those who ask how I can avoid this error, unfortunately I do not have a clear answer because I do not know what is causing the problem.

Another thing you should know is that this patch will be overwritten once you update the gnome-shell-extension-ubuntu-dock package, but do not worry, the upcoming updates will probably also fix this bug.

In case of any problem I will list the undo way if you want to return to the default (unpatched) version of the Ubuntu dock. This you can do by using this command:
sudo apt install --reinstall gnome-shell-extension-ubuntu-dock

Post a Comment

0 Comments