PDA

View Full Version : [gnome] Is there any way to turn off the adaptive transparency of the top bar?



justint15
December 5th, 2017, 09:55 PM
I am on Ubuntu 17.10. I don't use the Ubuntu Dock (I use Dash to Dock) due to it not being too compatible with my GTK Themes. Now, whenever I use Dash to Dock, my desktop looks weird because the top bar goes fully transparent but Dash to Dock doesn't. Is there any way that I can turn off the Adaptive Transparency? If so, how? If there isn't then I think there should be in the next version of Ubuntu.

again?
December 6th, 2017, 10:34 AM
See if you can override with this extension.
dynamic-panel-transparency (https://extensions.gnome.org/extension/1011/dynamic-panel-transparency/)
Allows you to set a custom opacity for max and unmaxed windows.

justint15
December 6th, 2017, 04:22 PM
I had actually tried that before I posted this thread and it didn't work. I think that Ubuntu just ignores the extensions that try to change the transparency.

mc4man
December 7th, 2017, 12:11 AM
I had actually tried that before I posted this thread and it didn't work. I think that Ubuntu just ignores the extensions that try to change the transparency.
Doesn't seem to be the case in 18.04, see screeen
(- fresh install, added dock to dash & the dynamic trans extension, set max & min opacity to highest values..

again?
December 7th, 2017, 01:04 AM
I had actually tried that before I posted this thread and it didn't work. I think that Ubuntu just ignores the extensions that try to change the transparency.
May have to logout to see effects.
In the 17.10 Ubuntu session I get a panel shadow gradient with maximized windows.
Using the 17.10 Gnome session with dash-to-dock and dynamic-panel-transparency I don't get the panel shadow gradient.
If you're not using the ubuntu-dock shouldn't be a problem using the Gnome session.
277757 277758

Edit: Seems to work in any session if I enable "Remove excess panel styling" in the dynamic-panel-transparency extension.
277759 277760

philhughes
December 7th, 2017, 11:49 AM
The Ubuntu dock has 3 transparency modes:

FIXED: constant transparency
ADAPTIVE: lock state with the top panel
DYNAMIC: dock takes the opaque style only when windows are close to it

You can set with for example:


gsettings set org.gnome.shell.extensions.dash-to-dock transparency-mode 'FIXED'


or use dconf.

again?
December 7th, 2017, 01:10 PM
The Ubuntu dock has 3 transparency modes:

FIXED: constant transparency
ADAPTIVE: lock state with the top panel
DYNAMIC: dock takes the opaque style only when windows are close to it

You can set with for example:


gsettings set org.gnome.shell.extensions.dash-to-dock transparency-mode 'FIXED'


or use dconf.
First post...

I am on Ubuntu 17.10. I don't use the Ubuntu Dock (I use Dash to Dock) due to it not being too compatible with my GTK Themes. Now, whenever I use Dash to Dock, my desktop looks weird because the top bar goes fully transparent but Dash to Dock doesn't. Is there any way that I can turn off the Adaptive Transparency? If so, how? If there isn't then I think there should be in the next version of Ubuntu.

philhughes
December 7th, 2017, 01:29 PM
Oops, must read more carefully :). But that setting is also in Dash to Dock I think:
https://github.com/micheleg/dash-to-dock/commit/87a2357820175b4a1ce57d3822ad5da7a791881a