我正在使用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
終端模擬器。