我正在使用i3
窗口管理器和compton
复合管理器使某些窗口透明。这是我的compton.conf
menu-opacity = 0.95;
inactive-opacity = 0.7;#this option doesn't work
active-opacity = 0.8;
frame-opacity = 0.7;
inactive-opacity-override = true;
alpha-step = 0.06;
inactive-dim = 0.2;
blur-kern = "3x3box";
blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ];
fading = true;
fade-in-step = 0.03;
fade-out-step = 0.03;
opacity-rule = [
"99:class_g = 'Firefox'",
"99:class_g = 'Chromium-browser'"
];
backend = "xrender";
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 0;
vsync = "none";
dbe = false;
paint-on-overlay = true;
detect-transient = true;
detect-client-leader = true;
invert-color-include = [ ];
glx-copy-from-front = false;
glx-swap-method = "undefined";
一切(到目前为止)都运行正常,但有一个问题我无法解决。如果两个(或更多)终端在同一个工作区中打开,则该inactive-opacity
选项无法正常工作。未聚焦的终端会变得不透明(见图)。有什么想法?
我在使用 Ubuntu 16.04 并将其用作xterm
终端模拟器。