Adjusting the transparency of the dock
--- Method 1: using dconf
The setting is available, but not exposed to the user. You can see a range of system settings in a utility 'dconf', which you need to install first:
sudo apt install dconf-editor
After installation, run dconf by searching "dconf". It has become a little bit more complicated than it used to be, because first, you need to enable changing your opacity. For this, navigate to org.gnome.shell.extensions.dash-to-dock
and change the setting transparency-mode
to 'FIXED'
The setting that controls opacity is background-opacity
. Click on the setting to change it to a value between 1 (full opacity) and 0 (no opacity). Thus, set to 0.2 for 80% transparency.
--- Method 2: terminal
As a faster and safer way, you may also change that setting using a terminal command. First enable custom colors:
gsettings set org.gnome.shell.extensions.dash-to-dock transparency-mode 'FIXED'
Then, to set transparency to 80%, issue the command
gsettings set org.gnome.shell.extensions.dash-to-dock background-opacity 0.2
Change 0.0 to any number between 0 and 1.
To reset to the default setting:
gsettings reset org.gnome.shell.extensions.dash-to-dock background-opacity
gsettings reset org.gnome.shell.extensions.dash-to-dock background-opacity
--- Method 3: through Dash-to-dock settings
For completeness sake, you could also install the Gnome Shell extension Dash-todock. That extension exposes all its settings. Ubuntu dock, which is based on that same extension, uses the same settings and will be affected by your changes. Remember to disable one of the two extensions, or you will be running two docs.
Adjusting the transparency of the top bar
For this, you can, as before, use the Gnome Shell extension Dynamic Panel Transparency. Using the extension's options, you can tweak the transparency and transition speed to match that of your doc.
Best Answer
I think in 18.10 they have introduced "Yaru" some new themeing style.
by default this dock is themed by
#1d1d1d
color under /* Yaru Dock styling */ you need it to make it tonone
or any color you want.to do so, run the below command in terminal.
sudo -H gedit /etc/alternatives/gdm3.css
# change the gedit if you use any other editor.go to line number 2212
background: #1d1d1d;
change the line
background: #1d1d1d;
tobackground: none;
so that it looks like
In the same way go to line number 2150 & 2156 and change the value to none
Save the file & Close.
run these 3 commands in terminal
Reboot to see the change.
Still there is a Black Color Border visible, you can change it by line number 1292 either none or any valid preferred color.