When I was running Ubuntu 18.04, I used the answer here to disable the tooltips when hovering over the dock by the mouse. After upgrading to Ubuntu 20.04, that solution no longer works.

Is there a workaround to disable tooltips for Dock only as shown in the image below?

enter image description here

EDIT: I am using the Yaru theme if that matters:

enter image description here

Here is the content of /usr/share/gnome-shell/theme:

├── calendar-today.svg
├── classic-process-working.svg
├── classic-toggle-off-intl.svg
├── classic-toggle-off-us.svg
├── classic-toggle-on-intl.svg
├── classic-toggle-on-us.svg
├── gnome-classic.css
├── gnome-classic-high-contrast.css
└── Yaru
    └── gnome-shell-theme.gresource

you are using Yaru-dark as shell theme..

so edit the file /usr/share/themes/Yaru-dark/gnome-shell/gnome-shell.css

sudo -H gedit /usr/share/themes/Yaru-dark/gnome-shell/gnome-shell.css

around line number 1493 add the line as below..

.dash-label {
  background-color: rgba(29, 29, 29, 0.925);
  border-radius: 6px;
  border: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
  color: #eeeeec;
  font-size: 0pt; # Added This new Line
  padding: 6px 8px;
  text-align: center;
  -x-offset: 8px; }

My final edits are

.dash-label {
  background-color: rgba(29, 29, 29, 0);
  border-radius: 0px;
  border: none;
  box-shadow: none;
  color: red;
  font-size: 0pt;
  padding: none;
  text-align: center;
  -x-offset: 8px; }

enter image description here

  • The location of .dash-label has changed to 1498 after a recent update. I think it is more convenient to make a command line solution using sed or something to make the changes easier. – s.ouchene Sep 13 '20 at 11:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.