s.o*_*ene 5 dock tooltip gnome-shell ubuntu-dock 20.04
当我运行 Ubuntu 18.04 时,我使用这里的答案来禁用鼠标悬停在 Dock 上时的工具提示。升级到 Ubuntu 20.04 后,该解决方案不再有效。
是否有一种解决方法可以仅禁用 Dock 的工具提示,如下图所示?
编辑:如果重要的话,我正在使用 Yaru 主题:
以下是内容/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
Run Code Online (Sandbox Code Playgroud)
你正在使用 Yaru-dark 作为 shell 主题..
所以编辑文件/usr/share/themes/Yaru-dark/gnome-shell/gnome-shell.css
sudo -H gedit /usr/share/themes/Yaru-dark/gnome-shell/gnome-shell.css
Run Code Online (Sandbox Code Playgroud)
在第 1493 行周围添加如下行。
.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; }
Run Code Online (Sandbox Code Playgroud)
我的最终编辑是
.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; }
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
803 次 |
最近记录: |