dash-to-dock
dash-to-dock copied to clipboard
Unwanted gap / border / margin around dock
On Fedora 34 (Gnome Shell 40) with dash-to-dock version 69 (thanks, at least it's working now!) there is a gap / border / margin around the dock so that it is not flush with the side edge of the screen. A similar margin exists for window distances to cause the auto-hide feature to activate.
Can this margin be reduced to zero? I did not find a setting which achieves this.
I find it much easier to move the cursor to the very edge of the screen to click on launcher icons instead of having to center more careful on the icon.
I have a similar problem. In my case, the margin is much more pronounced. Where in the code is this value set? I can manually change it while awaiting a possible permanent fix.
As a workaround you can edit the following file (the location is valid for a global install in Manjaro):
user@pc:~$ sudo vim /usr/share/gnome-shell/extensions/[email protected]/stylesheet.css
(Only showing the relevant lines)
line 4:
#dashtodockContainer.bottom #dash {
padding-bottom: 0px; /* 10px */
}
and to get rid of the gap completely:
line 19:
#dashtodockContainer.bottom.shrink #dash .dash-background {
margin-bottom: 0px; /* 1px */
}
Then simply open the Gnome Shell Extensions app and disable and enable Dash to Dock again.
The issue is still relevant on gnome, though...
Just add a settings to change the floating margin in dock settings someone already did it maybe if you ask them to separate that work it gets merged
After upgrading to v72 (19cc612 to be precise) I'm having this problem again... and @macgeneral's fix doesn not seem to work anymore (stylesheet.css
has changed). Did anyone manage to adapt the fix?
If can be still useful to someone, in Zorin OS 16.3, the stylesheet sit in ~/.local/share/gnome-shell/extensions/[email protected]
With this option active:
I edited the element #dashtodockContainer.dashtodock.bottom #dash
at line 41, just play with css properties.
I think I cannot help more of this because I'm really a newnewnewnewnewnewbie with linux, I have just installed Zorin and, instead of trying to understand how linux works, I'm trying to customize the dock... 😆