Difference between revisions of "Using Compton for a tear-free experience in Xfce"

Update to current compton standards per @grinner on Manjaro forum
imported>Fhdk
imported>Dalto
(Update to current compton standards per @grinner on Manjaro forum)
Line 8: Line 8:


= Configuring compton =
= Configuring compton =
Compton can be configured by editing ''~/.config/compton.conf''
Compton can be configured by editing ''~/.config/compton.conf'' or ''~/.config/compton/compton.conf'', the latter location is now recommended.


The following are some commonly used options:
The following are some commonly used options:
  backend = "glx";
  backend = "glx";
paint-on-overlay = true;
  glx-no-stencil = true;
  glx-no-stencil = true;
  vsync = "opengl-swc";
  vsync = true;
  unredir-if-possible = true;
  unredir-if-possible = true;
   
   
  # Shadow
  # Shadow
  shadow = true; # Enabled client-side shadows on windows.
  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-radius = 7; # The blur radius for shadows. (default 12)
  shadow-offset-x = -7; # The left offset for shadows. (default -15)
  shadow-offset-x = -7; # The left offset for shadows. (default -15)
Line 46: Line 42:
  wintypes:
  wintypes:
  {
  {
  dock = { shadow = false; };
  dnd = { shadow = false; };
   tooltip = { shadow = false; };
   tooltip = { shadow = false; };
  };
  };
Anonymous user