LinuxForum.Fans
Тема

Xcompmgr и compton

Автор: kirillov3798 7 сообщений 1729 просмотров
20.02.2015 20:07 · отредактировано #415066

Задумал поковырять WindowMaker. Но если kwin умеет бороться с тирингом, то wmaker нет. Соответственно нужен композитный менеджер. Их два: xcompmgr и compton. Выбор пал на последний, т. к. он изобилует различными фичами, чего не скажешь о xcompmgr. Но проблема в том, что он не во всех дистрибутивах есть. А если и есть, то в сторонних репах. Собственно для федоры я нашел здесь.
Просто интересно, почему собирают именно xcompmgr, а не compton? И что нужно прописать в конфиг compton'а, чтобы убрать тени у дока wmaker'а? А то при добавлении "аддонов", если можно так выразиться, он начинает мигать.

20.02.2015 21:47 · отредактировано #415076

#no-dock-shadow = true; # Тень на окнах доков/панелей

21.02.2015 07:47 #415108

m@xim, увы, не помогает.
У меня сейчас такой конфиг:

Показать
text
# Shadow
shadow = true;
no-dnd-shadow = true;
no-dock-shadow = true;
clear-shadow = true;
shadow-radius = 7;
shadow-offset-x = -7;
shadow-offset-y = -7;
# shadow-opacity = 0.7;
# shadow-red = 0.0;
# shadow-green = 0.0;
# shadow-blue = 0.0;
shadow-exclude = [
    "name = 'Notification'",
    "class_g = 'Conky'",
    "class_g ?= 'Notify-osd'",
    "class_g = 'Cairo-clock'",
    "_GTK_FRAME_EXTENTS@:c"
];
# shadow-exclude = "n:e:Notification";
# shadow-exclude-reg = "x10+0+0";
# xinerama-shadow-crop = true;

# Opacity menu-opacity = 0.9; inactive-opacity = 0.9; # active-opacity = 0.8; frame-opacity = 0.8; inactive-opacity-override = false; alpha-step = 0.06; # inactive-dim = 0.2; # inactive-dim-fixed = true; # blur-background = true; # blur-background-frame = true; blur-kern = "3x3box" # blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1" # blur-background-fixed = true; blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'", "_GTK_FRAME_EXTENTS@:c" ]; # opacity-rule = [ "80:class_g = 'URxvt'" ];

# Fading fading = true; # fade-delta = 30; fade-in-step = 0.03; fade-out-step = 0.03; # no-fading-openclose = true; # no-fading-destroyed-argb = true; fade-exclude = [ ];

# Other backend = "glx" mark-wmwin-focused = true; mark-ovredir-focused = true; # use-ewmh-active-win = true; detect-rounded-corners = true; detect-client-opacity = true; refresh-rate = 0; vsync = "opengl-swc"; dbe = false; paint-on-overlay = true; # sw-opti = true; # unredir-if-possible = true; # unredir-if-possible-delay = 5000; # unredir-if-possible-exclude = [ ]; focus-exclude = [ "class_g = 'Cairo-clock'" ]; detect-transient = true; detect-client-leader = true; invert-color-include = [ ]; # resize-damage = 1;

# GLX backend # glx-no-stencil = true; glx-copy-from-front = false; # glx-use-copysubbuffermesa = true; # glx-no-rebind-pixmap = true; glx-swap-method = "undefined"; # glx-use-gpushader4 = true; # xrender-sync = true; # xrender-sync-fence = true;

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

21.02.2015 11:43 #415119

дык закоментируй

text
no-dock-shadow = true;
21.02.2015 12:45 #415123

m@xim, не помогло.

21.02.2015 13:14 #415126

kirillov3798, в Openbox + Tint2 срабатывает без проблем. WMaker не юзал, хрен знает как там что устроено, попробуй запустить с параметром как в manе
написано

text
-C, --no-dock-shadow
Avoid drawing shadows on dock/panel windows.

https://github.com/chjj/compton/blob/master/man/compton.1.asciidoc
[console]$ compton -C[/console]

21.02.2015 15:24 #415160

Я вот это еще попробывал бы " Исключение тени для определенного участка экрана "

text
--shadow-exclude-reg GEOMETRY
Specify a X geometry that describes the region in which shadow should not be painted in, such as a dock window region. Use --shadow-exclude-reg x10+0-0, for example, if the 10 pixels on the bottom of the screen should not have shadows painted on.
Войдите или зарегистрируйтесь, чтобы ответить.