I need to know if it is possible and how to disable the Ubuntu 18.04 Dock tool-tips for mouse hover the pinned application.
2 Answers
there is no direct or simply way to configure what we need in question.
But it can be done by editing the User Shell theme that is in use.
if you are using default theme in 18.04, below is the way to achieve.
first take back up of /usr/share/gnome-shell/theme/ubuntu.css file.
now open the file with you favorite text editor, mine is gedit, so
sudo -H gedit /usr/share/gnome-shell/theme/ubuntu.css
go to line number 1205 and find the below content.
.dash-label {
border-radius: 7px;
padding: 4px 12px;
color: #eeeeec;
background-color: rgba(46, 52, 54, 0.7);
text-align: center;
-x-offset: 8px; }
Change it to
.dash-label {
border-radius: 7px;
padding: 4px 12px;
color: #eeeeec;
background-color: none;
font-size: 0pt;
text-align: center;
-x-offset: 8px; }
save the file & close. Reboot to see the change.
if you use different User-Shell themes, you may find same content and editing it as above.
-
Got it done ... i made a copy if the file content as backup version and i apply the changes as stated .. after rebooting Tooltips were gone ..– gastoriCommented Nov 23, 2018 at 13:19
-
@PRATAP, very nice touch. Probably you best recommend to edit the original file, which is /usr/share/gnome-shell/theme/gnome-shell.css. All other files link to that one. Yet, the header of the file says " do not edit because the file is generated. There might be a better and more persistent way to effectuate the change (aka editing another file). Yet, for now, the hack may do the job.– vanadiumCommented Nov 23, 2018 at 14:31
-
is it possible to set a timeout instead of completely hiding the tooltips?– user545149Commented Feb 19, 2019 at 21:40
-
-
Hello, is there a way to disable the tooltips in Ubuntu 20.04? because the css file doesn't exist.– user545149Commented May 21, 2020 at 20:21
sudo vim /usr/share/gnome-shell/theme/ubuntu.css
or
sudo nano /usr/share/gnome-shell/theme/ubuntu.css
or any text editor launched with sudo..
Search: .dash-label
You will see something like:
.dash-label {
border-radius: 7px;
padding: 4px 12px;
color: #eeeeec;
background-color: rgba(0, 0, 0, 0.7);
text-align: center;
-x-offset: 8px;
}
Backup it. Then replace or comment with /* ... */ old and add:
.dash-label {
font-size: 0;
}
-
S_Flash .. i followed the instruction from PRATAP .. but I have a question??? the file you are suggesting is pretty much the same but it is in different path and is the ubuntu.css .. what is the main difference ..– gastoriCommented Nov 23, 2018 at 13:20
-
Somme tweak tools, extensions can use backup css + some themes can use different names and path's.– slavaCommented Nov 23, 2018 at 13:47
-
Thanks .. I appreciate .. both of you were very helpful ..– gastoriCommented Nov 23, 2018 at 13:59

