首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何从康普顿(阴影)中排除流盒任务栏?

如何从康普顿(阴影)中排除流盒任务栏?
EN

Ask Ubuntu用户
提问于 2017-01-12 12:34:52
回答 1查看 1.6K关注 0票数 3

我正在使用Fluxbox作为窗口管理器,并希望使用康普顿作为排字器。但是我无法从康普顿的(阴影)效果中排除Fluxbox的任务栏。

我怎样才能让康普顿忽略流盒任务栏,特别是因为它的阴影效果?与现在一样,任务栏始终具有与非活动窗口相同的视觉外观。

这就是我在我的compton.conf里得到的:

代码语言:javascript
复制
# Shadow
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 12)
shadow-offset-x = 5; # The left offset for shadows. (default -15)
shadow-offset-y = 5; # The top offset for shadows. (default -15)
shadow-exclude = [
    "! name~=''",
    "name = 'Notification'",
    "name = 'Plank'",
    "name = 'Docky'",
    "name = 'Kupfer'",
    "name = 'xfce4-notifyd'",
    "name *= 'VLC'",
    "name *= 'compton'",
    "name *= 'Chromium'",
    "name *= 'Chrome'",
    "class_g = 'Conky'",
    "class_g = 'Kupfer'",
    "class_g = 'Synapse'",
    "class_g ?= 'Notify-osd'",
    "class_g ?= 'Do'",
    "class_g ?= 'Cairo-dock'",
    "class_g ?= 'Xfce4-notifyd'",
    "class_g ?= 'Xfce4-power-manager'",
    "_GTK_FRAME_EXTENTS@:c"
];

# Fading
#fading = true; # Fade windows during opacity changes.
#fade-delta = 5; # The time between steps in a fade in milliseconds. (default 10).
#fade-in-step = 0.03; # Opacity change between steps while fading in. (default 0.028).
#fade-out-step = 0.03; # Opacity change between steps while fading out. (default 0.03).
# no-fading-openclose = true; # Fade windows in/out when opening/closing

#detect-rounded-corners = true;
### highlighted top window rest dimmed
inactive-dim = 0.2;
inactive-dim-fixed = true;

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

用于启动Compton的命令是:

代码语言:javascript
复制
compton -C -G --config ~/.config/compton.conf
EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2018-10-10 20:35:01

您可以使用“角色”规则。

你看我的怎么样:

代码语言:javascript
复制
shadow-exclude = 
[
  "name = 'Notification'",
  "class_g = 'Conky'",
  "class_g ?= 'Notify-osd'",
  "class_g = 'Cairo-clock'",
  "role = 'fluxbox-toolbar'",
  "_GTK_FRAME_EXTENTS@:c"
];
票数 3
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/871049

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档