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.
Asked
Active
Viewed 2,660 times
2 Answers
3
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.
PRATAP
- 21,989
- 8
- 59
- 121
-
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 .. – gastori Nov 23 '18 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. – vanadium Nov 23 '18 at 14:31
-
is it possible to set a timeout instead of completely hiding the tooltips? – Feb 19 '19 at 21:40
-
oh sorry the timeout is hardcoded.. – PRATAP Feb 20 '19 at 03:58
-
Hello, is there a way to disable the tooltips in Ubuntu 20.04? because the css file doesn't exist. – May 21 '20 at 20:21
-
Hi.. now a days dash to panel or dash to dock have the capability to hide it with a turn on and off switch. – PRATAP May 22 '20 at 00:31
-
@PRATAP could you please elaborate on how to do that on Ubuntu 20.04? – Jun 26 '20 at 13:09
-
did you install those extensions one by one? then you can easily find the option.. – PRATAP Jun 26 '20 at 13:20
-
@PRATAP: Which extension??! if you reply to my comments, please consider mentioning my name so I get a notification about it. – Jun 29 '20 at 21:27
-
`dash-to-dock` and `dash-to-panel` @Navaro – PRATAP Jun 29 '20 at 22:59
-
@PRATAP: No, I don't use those extensions – Jun 30 '20 at 08:51
-
those extensions have a switch to turn off tooltips.. @Novaro Are you looking for Ubuntu Dock only?? – PRATAP Jun 30 '20 at 09:15
-
@PRATAP: Sorry, I don't get notifications about your replies. Yes, I want only to disable tooltips for Dock only as shown in the image above. – Jul 01 '20 at 09:41
-
@Navaro can you raise a new question with your requirement so that you will get what you are looking for.. – PRATAP Jul 01 '20 at 09:43
-
@PRATAP: It is exactly the same question but for Ubuntu 20.04. I mean your solution worked for me when I was using Ubuntu 18.04, but now, in Ubuntu 20.04 it doesn't work. – Jul 01 '20 at 09:45
-
@Navaro ok.. so editing css file is ok for you?? – PRATAP Jul 01 '20 at 09:47
-
@PRATAP: I tried to edit the css files in `/usr/share/gnome-shell/theme/` and restarted but that didn't work. – Jul 01 '20 at 09:51
-
@Navaro I request you to raise a new question for Ubuntu 20. 04 and mention the link of this question that you tried it and you are trying to achieve this with Ubuntu Dock only.. mean while I will also work out for the new question.. – PRATAP Jul 01 '20 at 10:03
-
@PRATAP: done: https://askubuntu.com/q/1255340/545149 – Jul 01 '20 at 10:13
0
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;
}
slava
- 3,787
- 9
- 30
- 65
-
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 .. – gastori Nov 23 '18 at 13:20
-
Somme tweak tools, extensions can use backup css + some themes can use different names and path's. – slava Nov 23 '18 at 13:47
-

