SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-04-10 21:21:37

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 2,005

Things to know when rolling through Compton: Your compton configs

compton --config ~/.compton.conf --shadow-exclude 'n:a:Conky' -b &

Last edited by mynis01 (2013-04-10 21:22:18)

Offline

Be excellent to each other!

#2 2013-04-10 22:03:39

dura
Bloated Gimp
From: interzone
Registered: 2012-09-15
Posts: 2,108

Re: Things to know when rolling through Compton: Your compton configs

Thanks for this mynis!

Offline

#3 2013-04-11 09:54:50

RichardGv
#! Member
From: People's Republic of China
Registered: 2013-01-13
Posts: 52

Re: Things to know when rolling through Compton: Your compton configs

# To specify multiple shadow-exclude entries, just use a comma
shadow-exclude = [ "n:e:Notification", "n:e:Conky" ];

Offline

#4 2013-04-12 08:51:31

Bradi
#! CrunchBanger
From: Poland
Registered: 2013-01-21
Posts: 119

Re: Things to know when rolling through Compton: Your compton configs

Thanks for the miniguide, mynis01, compton is somewhat underdocumented.
The fades and shadows are buggy for me, so I only use the transparency effects. Seems like some of the bugs have been corrected in the newest release, but I'm not going through the trouble of manually updating for some gratuituous eyecandy smile

Offline

#5 2013-04-19 17:12:52

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 2,005

Re: Things to know when rolling through Compton: Your compton configs

I changed my compton line in autostart.sh to

compton --config ~/.compton.conf --backend glx --vsync opengl-swc --shadow-exclude 'n:a:Conky' -b &

Now I don't need to kill compton when starting smplayer. Tearing is less noticeable during web browsing as well. Thanks for the tips guys!

Offline

#6 2013-05-04 13:55:28

bwat47
New Member
Registered: 2011-12-01
Posts: 7

Re: Things to know when rolling through Compton: Your compton configs

Yeah the latest git versions of compton has very good vsync support for the glx backend. I use this on my intel machine:

compton --backend glx --paint-on-overlay --glx-no-stencil --glx-no-rebind-pixmap --vsync opengl-swc --shadow-exclude "! name~=''" --config ~/.compton.conf -b &

Totally removes tearing for me in windowed and in fullscreen, and even with multiple displays big_smile

And I use this for my config, pretty much the same as OP but I added more shadow exclusions for apps that I found to not behave well with compton's shadows:

# Shadow
shadow = true; # Enabled client-side shadows on windows.
no-dock-shadow = true; # Avoid drawing shadows on dock/panel windows.
no-dnd-shadow = true; # Don't draw shadows on DND windows.
clear-shadow = true; # Zero the part of the shadow's mask behind the window (experimental).
shadow-radius = 7; # The blur radius for shadows. (default 12)
shadow-offset-x = -7; # The left offset for shadows. (default -15)
shadow-offset-y = -7; # The top offset for shadows. (default -15)
shadow-exclude = [ "n:e:Notification", "g:e:Synapse", "g:e:Conky", "n:w:*Firefox*", "n:w:*Chromium*", "class_g ?= 'Xfce4-notifyd'", "class_g ?= 'Xfce4-power-manager'"];

# Fading
#fading = true; # Fade windows during opacity changes.
#fade-delta = 5; # The time between steps in a fade in milliseconds. (default 10).
#fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028).
#fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03).
# no-fading-openclose = true; # Fade windows in/out when opening/closing

#detect-rounded-corners = true;

# Window type settings
wintypes:
{
  tooltip = { fade = true; shadow = false; };
};

Last edited by bwat47 (2013-05-04 13:57:28)

Offline

#7 2014-02-02 12:12:43

abstract
Member
From: Columbus, Ohio
Registered: 2011-08-03
Posts: 22

Re: Things to know when rolling through Compton: Your compton configs

i think i see now why frame-opacity is commented out:
i installed/use google chrome, and enabling frame-opacity renders it useless. don't know what all else it affects.
any way 'round this? love semi-transparent title bars.

Offline

#8 2014-02-03 00:30:11

RichardGv
#! Member
From: People's Republic of China
Registered: 2013-01-13
Posts: 52

Re: Things to know when rolling through Compton: Your compton configs

Last edited by RichardGv (2014-02-03 00:56:38)

Offline

#9 2014-02-03 01:28:02

abstract
Member
From: Columbus, Ohio
Registered: 2011-08-03
Posts: 22

Re: Things to know when rolling through Compton: Your compton configs

by useless, i mean only the openbox title bar is visible - minimize, maximize= nothing, can only close it. for the record, i'm using a brand new install of #! Waldorf, and all dist-upgraded, too. i'll try using chrome's title bar decoration.
it's really not a big deal. works perfectly with frame-opacity commented out.
#! is very very nice.

*abstract backs slowly away from the message board*

Offline

#10 2014-02-03 01:41:35

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,970

Re: Things to know when rolling through Compton: Your compton configs

I've encountered this frame-opacity problem in the past as well.  (I normally roll without compositing, but I experiment every now and then.)  You don't have AMD graphics by any chance?  I think this might be GPU-related, but I'm not positive.

Offline

#11 2014-02-03 16:12:41

RichardGv
#! Member
From: People's Republic of China
Registered: 2013-01-13
Posts: 52

Re: Things to know when rolling through Compton: Your compton configs

Offline

#12 2014-02-03 16:43:50

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,970

Re: Things to know when rolling through Compton: Your compton configs

@RichardGv:  What I remember was all maximized windows went completely black except for the Openbox window frame.  I first noticed it with Iceweasel, because that's the only program I usually run maximized, but it happens in all maximized windows.

The version of Compton-git in the Waldorf repo (apparently this is one of the binaries we don't have in Wheezy) is 20121102-2 - does this fit your definition of "ancient"?

Incidentally, I feel I must tip my moderator hat to you and say how much we appreciate the assistance of the Compton developer in this matter.

Offline

#13 2014-02-03 19:21:16

photonucleon
Quantum Geek
From: Hogwarts
Registered: 2013-06-10
Posts: 952

Re: Things to know when rolling through Compton: Your compton configs

Just to say that I've had maximising problems with titlebar transparency in compton; typically the titlebar itself would "maximise" up to the top of the screen, but the actual content of the window would remain the same size (and cease to respond).


- Ai! Aníron Undómiel. -
- Some things are certain. -
- Et Eärello Endorenna utúlien. Sinome maruvan ar Hildinyar tenn' Ambar-metta. -

Offline

#14 2014-02-04 01:12:48

RichardGv
#! Member
From: People's Republic of China
Registered: 2013-01-13
Posts: 52

Re: Things to know when rolling through Compton: Your compton configs

Last edited by RichardGv (2014-02-04 01:18:31)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo