Shadow falha usando compton; Retângulo de “vidro” mostrando as janelas do Nautilus [duplicado]

0

Estou usando o compton no meu xubuntu 16.10 porque dessa forma meu sistema está sendo liberado. Quando eu uso o Thunar, as sombras do Windows estão OK, mas se eu usar o Nautilus (o que eu prefiro), as sombras do Windows aparecem como na imagem.

Issoacontecemesmoseeudesabilitarcompletamenteasombradocompton.conf.

Aquiestáomeucompton.conf:

#ComptonConfiguration,courtesyofXubuntuDevelopers#PleasenotethatComptonisnotsupportedbyXubuntuandmaynotwork#correctlyforyou.Thisfileisprovidedasasetofsanedefaultsandisin#nowayendorsedbytheXubuntuteam.##AboutCompton:https://github.com/chjj/compton#Heavilybasedon:http://bit.ly/1l5OrzL#Samplesettings:https://github.com/chjj/compton/blob/master/compton.sample.conf#---Backend(OpenGLusedbydefault)#RelatedLinks#https://github.com/chjj/compton/wiki/perf-guide#https://github.com/chjj/compton/wiki/vsync-guidebackend="glx";
paint-on-overlay = true;
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
unredir-if-possible = true;
vsync = "opengl-swc"; 


# --- Shadows (Disable with shadow = false;)
# The shadow exclude options are helpful if you have shadows enabled.
# Due to the way compton draws its shadows, certain applications (Such as
# shaped windows, custom popups, non-standard toolkits) will have visual glitches.

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 = 10;         # The blur radius for shadows. (default 10)
shadow-offset-x = -15;      # The left offset for shadows. (default -15)
shadow-offset-y = -12;      # The top offset for shadows. (default -12)
shadow-opacity = 0.4;
shadow-exclude = [
 "! name~=''",              # "Unknown" windows, including xfwm4 alt-tab
 "n:e:Notification",
 "n:e:Plank",
 "n:e:Docky",
 "g:e:Synapse",
 "g:e:Kupfer",
 "g:e:Conky",
 "n:w:*Firefox*",
 "n:w:*Chrome*",
 "n:w:*Chromium*",
 "class_g ?= 'Notify-osd'",
 "class_g ?= 'Cairo-dock'",
 "class_g ?= 'Xfce4-notifyd'",
 "class_g ?= 'Xfce4-power-manager'",
 "class_g ?= 'Xfwm4'",      # For the "new" xfwm4 alt-tab
 "_GTK_FRAME_EXTENTS@:c",   # GTK+ 3 CSD windows https://github.com/chjj/compton/issues/189
 "class_g ?= 'Nautilus'",
 "WM_CLASS@:s *?= 'Nautilus'"
];


# --- Fading (Disable with fading = false;)

fading = true;              # Fade windows during opacity changes.
fade-delta = 5;             # The time between steps in a fade in milliseconds. (default 5).
fade-in-step = 0.03;        # Opacity change between steps while fading in. (default 0.03).
fade-out-step = 0.03;       # Opacity change between steps while fading out. (default 0.03).


# --- Additional Settings
detect-client-opacity = true;


# --- Window type settings
wintypes:
{
  tooltip = { fade = true; shadow = false; opacity = 0.9; focus = true; };
};

Para notar que estou usando o Adapta-nokto como tema gtk. Alguma ideia? Obrigado

UPDATE: portanto, executando compton --shadow-exclude '_NET_WM_OPAQUE_REGION@:c' resolver o problema, mas recebo Another composite manager is already running

Além disso, adicionar '_NET_WM_OPAQUE_REGION@:c' à seção de exclusão de sombra do compton.conf não funciona após a reinicialização

    
por Burt_93 27.12.2016 / 14:37

1 resposta

0

Se você desativar isso, removerá a caixa transparente fora de determinadas janelas clear-shadow = true; # Zero a parte da máscara da sombra atrás da janela (experimental). Mas vai adicionar uma sombra em seu lugar.

Eu tentei o comando que você disse mais clear-shadow = false corrige isso, mas agora algumas janelas não têm sombra alguma

    
por newComptonUser 30.12.2016 / 13:27