Zenway

Linux - это интересно!

Вы не вошли.

#1 19-06-2020 22:53:37

BigOrange
Модератор
Откуда: Саратов
Здесь с 20-11-2010
Сообщений: 2,303
LinuxFirefox 68.9

compton > picom и новый синтаксис

долго не обновлялся, выскочил затык с picom
у него сменился синтаксис параметров

~$ picom -b --config ~/.config/openbox/compton.conf
[ 19.06.2020 22:38:03.318 parse_config_libconfig WARN ] Option `no-dock-shadow` is deprecated, and will be removed. Please use the wintype option `shadow` of `dock` instead.
[ 19.06.2020 22:38:03.318 parse_config_libconfig WARN ] Option `no-dnd-shadow` is deprecated, and will be removed. Please use the wintype option `shadow` of `dnd` instead.
[ 19.06.2020 22:38:03.318 parse_config_libconfig WARN ] Option `menu-opacity` is deprecated, and will be removed.Please use the wintype option `opacity` of `popup_menu` and `dropdown_menu` instead.
[ 19.06.2020 22:38:03.318 parse_config_libconfig WARN ] vsync option will take a boolean from now on. "none" is interpreted as "false" for compatibility, but this will stop working soon
[ 19.06.2020 22:38:03.318 parse_config_libconfig WARN ] glx-swap-method has been deprecated since v6, your setting "undefined" should be replaced by `use-damage = true`.
[ 19.06.2020 22:38:03.318 parse_config_libconfig ERROR ] "paint-on-overlay" has been removed as an option, and the feature is enabled whenever possible
[ 19.06.2020 22:38:03.318 main FATAL ERROR ] Failed to create new session.

поправил, теперь заработало

Скрытый текст
# Shadow
shadow = true;
dnd = false;
dock = false;
##clear-shadow = true;
shadow-radius = 5;
shadow-offset-x = -5;
shadow-offset-y = -5;
shadow-opacity = 0.4;
# shadow-red = 1.0;
# shadow-green = 0.0;
# shadow-blue = 0.0;
shadow-exclude = [
	"name = 'Notification'",
	"class_g = 'VirtualBox'",
	"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; #deprecated
popup_menu = 0.9;
dropdown_menu = 0.9
#inactive-opacity = 0.9;
# active-opacity = 0.8;
#frame-opacity = 0.9;
#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 = 'XTerm'" ];
#opacity-rule = [ "80:class_g = 'UXTerm'" ];
#opacity-rule = [ "99:class_g = 'VirtualBox'" ];

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

# Other
#backend = "glx";
backend = "xrender";
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 = "false";
dbe = false;
#paint-on-overlay = true; #has been removed as an option
# 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";
use-damage = true
# glx-use-gpushader4 = true; #deprecated
# xrender-sync = true;
# xrender-sync-fence = true;

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

Долой DE! Даёшь WM!

Вне форума

#2 19-06-2020 23:46:11

redix
Участник
Откуда: Shangri-La
Здесь с 14-02-2013
Сообщений: 2,398
LinuxChrome 83.0

Re: compton > picom и новый синтаксис

Я пока его откатил и загнал пиком в игнор, потому что после последнего обновления этой хрени у меня перестали увеличиваться иконки в планке, я создавал тему на арчефоруме.
0LPFggNm.png

Добавлено спустя 02 мин 07 с:
Надо будет попробовать изменить конфиг, а то когда я нашел свой, то у него уже была седая борода. )))


In Tux We Trust

Вне форума

#3 20-06-2020 11:26:49

BigOrange
Модератор
Откуда: Саратов
Здесь с 20-11-2010
Сообщений: 2,303
LinuxFirefox 68.9

Re: compton > picom и новый синтаксис

У меня конфиг стыренный уже не помню откуда, давно это было.
Была проблема с затенением виртуалбокс, когда машина развёрнута на полный экран.


Долой DE! Даёшь WM!

Вне форума

Сейчас в этой теме пользователей: 0, гостей: 1
[Bot] claudebot

Подвал форума

Под управлением FluxBB
Модифицировал Visman

[ Сгенерировано за 0.016 сек, 10 запросов выполнено - Использовано памяти: 1.61 Мбайт (Пик: 1.73 Мбайт) ]