LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-13-2016, 03:54 AM   #1
mangya
Member
 
Registered: Jul 2015
Distribution: CentOS
Posts: 84

Rep: Reputation: Disabled
Need help on CSS for gnome-3.20 GTK3


Hello All

I want to increase and darken shadow of windows in gnome 3.20. I don't know much of css, but after lot of browsing, I came across this.

Code:
$ cat ~/.config/gtk-3.0/gtk.css
window {
  box-shadow: 3px 3px 5px black;
}
Now, I get beautiful shadows for windows. But not all windows are getting that css. Some windows are getting shadows and some others don't (default shadow).

What code I have to put so that all windows will have shadows.

Screenshot attached:
  1. With shadow - gedit window
  2. Without shadow - vlc player window (not getting custom shadow on this. The one visible is default one)
Any help will be much appreciated.

Thanks.
Attached Thumbnails
Click image for larger version

Name:	with-shadow.png
Views:	16
Size:	18.2 KB
ID:	22718   Click image for larger version

Name:	without-shadow.png
Views:	12
Size:	35.6 KB
ID:	22719  
 
Old 08-14-2016, 06:52 AM   #2
ondoho
Senior Member
 
Registered: Dec 2013
Posts: 4,176

Rep: Reputation: 837Reputation: 837Reputation: 837Reputation: 837Reputation: 837Reputation: 837Reputation: 837
vlc uses qt as a toolkit, and not gtk3.

if you want the same shadows for ALL windows, you need to
a) use a compositor or window manager that has that feature
b) disable that sort of stuff for gtk3

Last edited by ondoho; 08-14-2016 at 06:54 AM.
 
1 members found this post helpful.
Old 08-15-2016, 10:55 PM   #3
mangya
Member
 
Registered: Jul 2015
Distribution: CentOS
Posts: 84

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
vlc uses qt as a toolkit, and not gtk3.

if you want the same shadows for ALL windows, you need to
a) use a compositor or window manager that has that feature
b) disable that sort of stuff for gtk3
Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GTK3/Gnome 3 applications override Openbox' window management the dsc Linux - Desktop 6 04-13-2014 11:10 PM
app.css for gtk3 patrick013 Linux - Software 0 03-07-2014 06:45 AM
LXer: Making GTK3 themes – Part 2: The gtk.css and gtk-widgets.css file LXer Syndicated Linux News 0 07-24-2012 02:50 PM
GNOME 3 GTK3+ red and black theme with matching icons? CrazyGuy158 Linux - General 3 02-24-2012 11:09 AM
loading gtk3 themes on a none gnome-3 based wm Drone4four Linux - Desktop 1 01-01-2012 01:29 AM


All times are GMT -5. The time now is 07:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration