How do I control all window shadows?How to enable window shadows?Rounded Window Corners with Themes not WorkingCorrupted window control theme on UnityHow to restore all default theme settingsWindows in Gnome Metacity don't have shadowsGnome Terminal Adjust Tab HeightHPE Gen10 Proliant 17.10 to 18.04 - GUI does not start - AMD Opteron X3216
How to initiate a conversation with a person who recently had transition but you were not in touch with them?
Run "cd" command as superuser in Linux
indent and noindent: details from Knuth's The TeXbook
Features of a Coda section
Uniqueness of bra-ket correspondence
Why do electrons tend to be in energy eigenstates?
How does aggregate routes behave in BGP?
Using parent's property and will as evidence of assets
Can only rich people become president?
Is void *function a pointer to function or a function returning a void*?
How to help my son improve without being discouraging?
Why is my Windows 7 recovery folder 53% of my disk
What does "speed checked" mean?
Do effects that prevent someone from becoming an undead stop or delay the effect?
Listing of vector layers
Impeachment jury tampering
Replacing triangulated categories with something better
Can someone help explain what this FFT workflow is doing to my signal, and why it works?
How do I uninstall Telegram which was installed from the tar.xz obtained from the official website?
Continents with simplex noise
Translation of 見れば
Did the Byzantine Emperor Constantine XI will his titles to Ferdinand and Isabella of Spain?
Computationally expensive AI techniques (that are promising)
Was this “caterpillar” strategy a good way to advance my pawns?
How do I control all window shadows?
How to enable window shadows?Rounded Window Corners with Themes not WorkingCorrupted window control theme on UnityHow to restore all default theme settingsWindows in Gnome Metacity don't have shadowsGnome Terminal Adjust Tab HeightHPE Gen10 Proliant 17.10 to 18.04 - GUI does not start - AMD Opteron X3216
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
How do I control all window drop/box shadows? Gnome themes seem to have different size shadows so I assume it is possible.
Here's what I have tried:
Editing the gtk.css at "~/.config/gtk-3.0/gtk.css" by adding:
.window-frame box-shadow: none;
.window-frame:backdrop box-shadow: none;I added the same css to a copy of a downloaded theme installed in "~/.themes/" - this had no .window-frame class so I added it.
I added the same css as well as one of the default themes (Albatross) copied out of "/usr/share/themes/" - this had a .window-frame class in "gtk-widgets.css" so I modified it.
I restarted Gnome shell after each. Attempts 1 and 2 did nothing. Attempt 3 did get rid of the shadows but also seemed to affect refresh in applications - text scrolling doesn't refresh.
--
Specs:
Ubuntu 18.04 with Gnome/Mutter
18.04 gnome themes gtk
add a comment
|
How do I control all window drop/box shadows? Gnome themes seem to have different size shadows so I assume it is possible.
Here's what I have tried:
Editing the gtk.css at "~/.config/gtk-3.0/gtk.css" by adding:
.window-frame box-shadow: none;
.window-frame:backdrop box-shadow: none;I added the same css to a copy of a downloaded theme installed in "~/.themes/" - this had no .window-frame class so I added it.
I added the same css as well as one of the default themes (Albatross) copied out of "/usr/share/themes/" - this had a .window-frame class in "gtk-widgets.css" so I modified it.
I restarted Gnome shell after each. Attempts 1 and 2 did nothing. Attempt 3 did get rid of the shadows but also seemed to affect refresh in applications - text scrolling doesn't refresh.
--
Specs:
Ubuntu 18.04 with Gnome/Mutter
18.04 gnome themes gtk
add a comment
|
How do I control all window drop/box shadows? Gnome themes seem to have different size shadows so I assume it is possible.
Here's what I have tried:
Editing the gtk.css at "~/.config/gtk-3.0/gtk.css" by adding:
.window-frame box-shadow: none;
.window-frame:backdrop box-shadow: none;I added the same css to a copy of a downloaded theme installed in "~/.themes/" - this had no .window-frame class so I added it.
I added the same css as well as one of the default themes (Albatross) copied out of "/usr/share/themes/" - this had a .window-frame class in "gtk-widgets.css" so I modified it.
I restarted Gnome shell after each. Attempts 1 and 2 did nothing. Attempt 3 did get rid of the shadows but also seemed to affect refresh in applications - text scrolling doesn't refresh.
--
Specs:
Ubuntu 18.04 with Gnome/Mutter
18.04 gnome themes gtk
How do I control all window drop/box shadows? Gnome themes seem to have different size shadows so I assume it is possible.
Here's what I have tried:
Editing the gtk.css at "~/.config/gtk-3.0/gtk.css" by adding:
.window-frame box-shadow: none;
.window-frame:backdrop box-shadow: none;I added the same css to a copy of a downloaded theme installed in "~/.themes/" - this had no .window-frame class so I added it.
I added the same css as well as one of the default themes (Albatross) copied out of "/usr/share/themes/" - this had a .window-frame class in "gtk-widgets.css" so I modified it.
I restarted Gnome shell after each. Attempts 1 and 2 did nothing. Attempt 3 did get rid of the shadows but also seemed to affect refresh in applications - text scrolling doesn't refresh.
--
Specs:
Ubuntu 18.04 with Gnome/Mutter
18.04 gnome themes gtk
18.04 gnome themes gtk
asked Jun 11 at 18:47
garrettlynchgarrettlynch
1134 bronze badges
1134 bronze badges
add a comment
|
add a comment
|
1 Answer
1
active
oldest
votes
The solution to this is to edit the "gtk.css" in whatever theme you are using - themes do control the drop/box shadow. I've tested this on Ubuntu 18.04. You can edit the default at "~/.config/gtk-3.0/gtk.css" or, a much better idea, you can edit your own installed theme, even if that's a copy of the default theme. Install your theme in your home directory "~/.themes/" folder and then find the "gtk.css" file in it's "gtk-3.0" folder. Open the file in a text editor and search for "decoration" and "decoration:backdrop". To remove the windows shadow comment out the box-shadow line and add your own set to "none" like so:
decoration
border-radius: 6px 6px 0 0;
border-width: 0px;
/*box-shadow: 1px 12px 12px 12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.18);*/
box-shadow: none;
margin: 4px;
decoration:backdrop
border-radius: 6px 6px 0 0;
border-width: 0px;
/*box-shadow: 1px 12px 12px 12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.18);*/
box-shadow: none;
margin: 4px;
Save the file. In Settings > Appearance you'll need to load the theme - if you were already using it change the them to another theme and then change it back to your theme again. Windows should now have no shadows - see image below.

add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1150373%2fhow-do-i-control-all-window-shadows%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The solution to this is to edit the "gtk.css" in whatever theme you are using - themes do control the drop/box shadow. I've tested this on Ubuntu 18.04. You can edit the default at "~/.config/gtk-3.0/gtk.css" or, a much better idea, you can edit your own installed theme, even if that's a copy of the default theme. Install your theme in your home directory "~/.themes/" folder and then find the "gtk.css" file in it's "gtk-3.0" folder. Open the file in a text editor and search for "decoration" and "decoration:backdrop". To remove the windows shadow comment out the box-shadow line and add your own set to "none" like so:
decoration
border-radius: 6px 6px 0 0;
border-width: 0px;
/*box-shadow: 1px 12px 12px 12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.18);*/
box-shadow: none;
margin: 4px;
decoration:backdrop
border-radius: 6px 6px 0 0;
border-width: 0px;
/*box-shadow: 1px 12px 12px 12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.18);*/
box-shadow: none;
margin: 4px;
Save the file. In Settings > Appearance you'll need to load the theme - if you were already using it change the them to another theme and then change it back to your theme again. Windows should now have no shadows - see image below.

add a comment
|
The solution to this is to edit the "gtk.css" in whatever theme you are using - themes do control the drop/box shadow. I've tested this on Ubuntu 18.04. You can edit the default at "~/.config/gtk-3.0/gtk.css" or, a much better idea, you can edit your own installed theme, even if that's a copy of the default theme. Install your theme in your home directory "~/.themes/" folder and then find the "gtk.css" file in it's "gtk-3.0" folder. Open the file in a text editor and search for "decoration" and "decoration:backdrop". To remove the windows shadow comment out the box-shadow line and add your own set to "none" like so:
decoration
border-radius: 6px 6px 0 0;
border-width: 0px;
/*box-shadow: 1px 12px 12px 12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.18);*/
box-shadow: none;
margin: 4px;
decoration:backdrop
border-radius: 6px 6px 0 0;
border-width: 0px;
/*box-shadow: 1px 12px 12px 12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.18);*/
box-shadow: none;
margin: 4px;
Save the file. In Settings > Appearance you'll need to load the theme - if you were already using it change the them to another theme and then change it back to your theme again. Windows should now have no shadows - see image below.

add a comment
|
The solution to this is to edit the "gtk.css" in whatever theme you are using - themes do control the drop/box shadow. I've tested this on Ubuntu 18.04. You can edit the default at "~/.config/gtk-3.0/gtk.css" or, a much better idea, you can edit your own installed theme, even if that's a copy of the default theme. Install your theme in your home directory "~/.themes/" folder and then find the "gtk.css" file in it's "gtk-3.0" folder. Open the file in a text editor and search for "decoration" and "decoration:backdrop". To remove the windows shadow comment out the box-shadow line and add your own set to "none" like so:
decoration
border-radius: 6px 6px 0 0;
border-width: 0px;
/*box-shadow: 1px 12px 12px 12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.18);*/
box-shadow: none;
margin: 4px;
decoration:backdrop
border-radius: 6px 6px 0 0;
border-width: 0px;
/*box-shadow: 1px 12px 12px 12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.18);*/
box-shadow: none;
margin: 4px;
Save the file. In Settings > Appearance you'll need to load the theme - if you were already using it change the them to another theme and then change it back to your theme again. Windows should now have no shadows - see image below.

The solution to this is to edit the "gtk.css" in whatever theme you are using - themes do control the drop/box shadow. I've tested this on Ubuntu 18.04. You can edit the default at "~/.config/gtk-3.0/gtk.css" or, a much better idea, you can edit your own installed theme, even if that's a copy of the default theme. Install your theme in your home directory "~/.themes/" folder and then find the "gtk.css" file in it's "gtk-3.0" folder. Open the file in a text editor and search for "decoration" and "decoration:backdrop". To remove the windows shadow comment out the box-shadow line and add your own set to "none" like so:
decoration
border-radius: 6px 6px 0 0;
border-width: 0px;
/*box-shadow: 1px 12px 12px 12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.18);*/
box-shadow: none;
margin: 4px;
decoration:backdrop
border-radius: 6px 6px 0 0;
border-width: 0px;
/*box-shadow: 1px 12px 12px 12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.18);*/
box-shadow: none;
margin: 4px;
Save the file. In Settings > Appearance you'll need to load the theme - if you were already using it change the them to another theme and then change it back to your theme again. Windows should now have no shadows - see image below.

answered Jun 14 at 14:06
garrettlynchgarrettlynch
1134 bronze badges
1134 bronze badges
add a comment
|
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1150373%2fhow-do-i-control-all-window-shadows%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown