Solved I would like transparency for my terminal on my i3wm.

Hi guys, the only thing I need is transparency for my kitty terminal. I couldn't get transparency to work. I tried Compton and it does nothing. I placed it into my config file and still nothing.

I also want to be able to easily customise transparency as well. As a bonus I'd like to have gaps as well thank you for taking your time reading this.
 
Setting background_opacity in the kitty configuration doesn't work? As far as I know it doesn't need anything special installed. But I suspect you do need an accelerated graphics card driver. Which brings me to the question, what graphics driver are you using for X?
 
i3 config:
_ transparency:
exec --no-startup-id picom -c
_ gaps:
i) automatic gaps
Code:
gaps inner 3
gaps outer 2
smart_gaps on
ii) manual gaps
Code:
# *************** #
# Gaps management # 
# *************** #

set $mode_gaps Gaps-Mgm : (I) Inner, (O) Outer (-|+|0):

mode "$mode_gaps" {
   bindsym o mode "$mode_gaps_Outer"
   bindsym i mode "$mode_gaps_Inner"

   # back to normal: Enter or Escape
   bindsym Return mode "default"
   bindsym Escape mode "default"
}
    mode "$mode_gaps_Outer" {
        bindsym plus gaps outer current plus 5
        bindsym minus gaps outer current minus 5
        bindsym 0 gaps outer current set 0

        # back to normal: Enter or Escape
        bindsym Return mode "default"
        bindsym Escape mode "default"
        }
    mode "$mode_gaps_Inner" {
        bindsym plus gaps inner current plus 5
        bindsym minus gaps inner current minus 5
        bindsym 0 gaps inner current set 0

        # back to normal: Enter or Escape
        bindsym Return mode "default"
        bindsym Escape mode "default"
        }

bindsym $mod+g mode "$mode_gaps"
 
Setting background_opacity in the kitty configuration doesn't work? As far as I know it doesn't need anything special installed. But I suspect you do need an accelerated graphics card driver. Which brings me to the question, what graphics driver are you using for X?
I am using drm-510-kmod Intel graphics.
 
i3 config:
_ transparency:
exec --no-startup-id picom -c
_ gaps:
i) automatic gaps
Code:
gaps inner 3
gaps outer 2
smart_gaps on
ii) manual gaps
Code:
# *************** #
# Gaps management #
# *************** #

set $mode_gaps Gaps-Mgm : (I) Inner, (O) Outer (-|+|0):

mode "$mode_gaps" {
   bindsym o mode "$mode_gaps_Outer"
   bindsym i mode "$mode_gaps_Inner"

   # back to normal: Enter or Escape
   bindsym Return mode "default"
   bindsym Escape mode "default"
}
    mode "$mode_gaps_Outer" {
        bindsym plus gaps outer current plus 5
        bindsym minus gaps outer current minus 5
        bindsym 0 gaps outer current set 0

        # back to normal: Enter or Escape
        bindsym Return mode "default"
        bindsym Escape mode "default"
        }
    mode "$mode_gaps_Inner" {
        bindsym plus gaps inner current plus 5
        bindsym minus gaps inner current minus 5
        bindsym 0 gaps inner current set 0

        # back to normal: Enter or Escape
        bindsym Return mode "default"
        bindsym Escape mode "default"
        }

bindsym $mod+g mode "$mode_gaps"

Setting background_opacity in the kitty configuration doesn't work? As far as I know it doesn't need anything special installed. But I suspect you do need an accelerated graphics card driver. Which brings me to the question, what graphics driver are you using for X?
Pico does not work, Compton does, but when I run it it's very sluggish. I'm not sure why?
 
Pico does not work, Compton does, but when I run it it's very sluggish. I'm not sure why?
x11-wm/compton is unmaintained. x11-wm/picom is a fork of compton and needs a config file to work ~/.config/picom/picom.conf
e.g.:
Code:
#################################
# Backend
#################################
backend = "glx";

#################################
# GLX backend
#################################
glx-no-stencil = true;
glx-copy-from-front = false;

#################################
# Shadows
#################################

# Enabled client-side shadows on windows.
shadow = true;
# The blur radius for shadows. (default 12)
shadow-radius = 5;
# The left offset for shadows. (default -15)
shadow-offset-x = -5;
# The top offset for shadows. (default -15)
shadow-offset-y = -5;
# The translucency for shadows. (default .75)
shadow-opacity = 0.5;

shadow-exclude = [
    "! name~=''",
    "name = 'Notification'",
    "name = 'Plank'",
    "name = 'Docky'",
    "name = 'Kupfer'",
    "name = 'xfce4-notifyd'",
    "name *= 'VLC'",
    "name *= 'compton'",
    "name *= 'picom'",
    "name *= 'Chromium'",
    "name *= 'Chrome'",
    "class_g = 'Firefox' && argb",
    "class_g = 'Conky'",
    "class_g = 'Kupfer'",
    "class_g = 'Synapse'",
    "class_g ?= 'Notify-osd'",
    "class_g ?= 'Cairo-dock'",
    "class_g ?= 'Xfce4-notifyd'",
    "class_g ?= 'Xfce4-power-manager'",
    "_GTK_FRAME_EXTENTS@:c",
    "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];
# Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners)
shadow-ignore-shaped = false;

#################################
# Opacity
#################################

inactive-opacity = 1;
active-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = false;
blur-background-fixed = false;
blur-background-exclude = [
    "window_type = 'dock'",
    "window_type = 'desktop'"
];

#################################
# Fading
#################################

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

# Specify a list of conditions of windows that should not be faded.
fade-exclude = [ ];

#################################
# Other
#################################

# Try to detect WM windows and mark them as active.
mark-wmwin-focused = true;
# Mark all non-WM but override-redirect windows active (e.g. menus).
mark-ovredir-focused = true;
# Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused instead of using FocusIn/Out events.
# Usually more reliable but depends on a EWMH-compliant WM.
use-ewmh-active-win = true;
# Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on.
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 0;
vsync = true;
dbe = false;
unredir-if-possible = false;
focus-exclude = [ ];
detect-transient = true;
detect-client-leader = true;

#################################
# Window type settings
#################################

wintypes:
{
    tooltip =
    {
        # fade: Fade the particular type of windows.
        fade = true;
        # shadow: Give those windows shadow
        shadow = false;
        # opacity: Default opacity for the type of windows.
        opacity = 0.85;
        # focus: Whether to always consider windows of this type focused.
        focus = true;
    };
};
You may also need a config file for intel card.
e.g.: cat /usr/local/etc/X11/xorg.conf.d/driver-intel.conf
Code:
Section "Device"   
         Identifier   "Card0"   
         Driver       "modesetting"   
EndSection

PS: Window managers are not for lazy peoples.;)
 
i3 config:
_ transparency:
exec --no-startup-id picom -c
_ gaps:
i) automatic gaps
Code:
gaps inner 3
gaps outer 2
smart_gaps on
ii) manual gaps
Code:
# *************** #
# Gaps management #
# *************** #

set $mode_gaps Gaps-Mgm : (I) Inner, (O) Outer (-|+|0):

mode "$mode_gaps" {
   bindsym o mode "$mode_gaps_Outer"
   bindsym i mode "$mode_gaps_Inner"

   # back to normal: Enter or Escape
   bindsym Return mode "default"
   bindsym Escape mode "default"
}
    mode "$mode_gaps_Outer" {
        bindsym plus gaps outer current plus 5
        bindsym minus gaps outer current minus 5
        bindsym 0 gaps outer current set 0

        # back to normal: Enter or Escape
        bindsym Return mode "default"
        bindsym Escape mode "default"
        }
    mode "$mode_gaps_Inner" {
        bindsym plus gaps inner current plus 5
        bindsym minus gaps inner current minus 5
        bindsym 0 gaps inner current set 0

        # back to normal: Enter or Escape
        bindsym Return mode "default"
        bindsym Escape mode "default"
        }

bindsym $mod+g mode "$mode_gaps"
It works, Thank you!
 
x11-wm/compton is unmaintained. x11-wm/picom is a fork of compton and needs a config file to work ~/.config/picom/picom.conf
e.g.:
Code:
#################################
# Backend
#################################
backend = "glx";

#################################
# GLX backend
#################################
glx-no-stencil = true;
glx-copy-from-front = false;

#################################
# Shadows
#################################

# Enabled client-side shadows on windows.
shadow = true;
# The blur radius for shadows. (default 12)
shadow-radius = 5;
# The left offset for shadows. (default -15)
shadow-offset-x = -5;
# The top offset for shadows. (default -15)
shadow-offset-y = -5;
# The translucency for shadows. (default .75)
shadow-opacity = 0.5;

shadow-exclude = [
    "! name~=''",
    "name = 'Notification'",
    "name = 'Plank'",
    "name = 'Docky'",
    "name = 'Kupfer'",
    "name = 'xfce4-notifyd'",
    "name *= 'VLC'",
    "name *= 'compton'",
    "name *= 'picom'",
    "name *= 'Chromium'",
    "name *= 'Chrome'",
    "class_g = 'Firefox' && argb",
    "class_g = 'Conky'",
    "class_g = 'Kupfer'",
    "class_g = 'Synapse'",
    "class_g ?= 'Notify-osd'",
    "class_g ?= 'Cairo-dock'",
    "class_g ?= 'Xfce4-notifyd'",
    "class_g ?= 'Xfce4-power-manager'",
    "_GTK_FRAME_EXTENTS@:c",
    "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];
# Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners)
shadow-ignore-shaped = false;

#################################
# Opacity
#################################

inactive-opacity = 1;
active-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = false;
blur-background-fixed = false;
blur-background-exclude = [
    "window_type = 'dock'",
    "window_type = 'desktop'"
];

#################################
# Fading
#################################

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

# Specify a list of conditions of windows that should not be faded.
fade-exclude = [ ];

#################################
# Other
#################################

# Try to detect WM windows and mark them as active.
mark-wmwin-focused = true;
# Mark all non-WM but override-redirect windows active (e.g. menus).
mark-ovredir-focused = true;
# Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused instead of using FocusIn/Out events.
# Usually more reliable but depends on a EWMH-compliant WM.
use-ewmh-active-win = true;
# Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on.
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 0;
vsync = true;
dbe = false;
unredir-if-possible = false;
focus-exclude = [ ];
detect-transient = true;
detect-client-leader = true;

#################################
# Window type settings
#################################

wintypes:
{
    tooltip =
    {
        # fade: Fade the particular type of windows.
        fade = true;
        # shadow: Give those windows shadow
        shadow = false;
        # opacity: Default opacity for the type of windows.
        opacity = 0.85;
        # focus: Whether to always consider windows of this type focused.
        focus = true;
    };
};
You may also need a config file for intel card.
e.g.: cat /usr/local/etc/X11/xorg.conf.d/driver-intel.conf
Code:
Section "Device"  
         Identifier   "Card0"  
         Driver       "modesetting"  
EndSection

PS: Window managers are not for lazy peoples.;)
I shall try these. Thank you plenty for all your help. I would have never gone this far without your awesome advice.
 
x11-wm/compton is unmaintained. x11-wm/picom is a fork of compton and needs a config file to work ~/.config/picom/picom.conf
e.g.:
Code:
#################################
# Backend
#################################
backend = "glx";

#################################
# GLX backend
#################################
glx-no-stencil = true;
glx-copy-from-front = false;

#################################
# Shadows
#################################

# Enabled client-side shadows on windows.
shadow = true;
# The blur radius for shadows. (default 12)
shadow-radius = 5;
# The left offset for shadows. (default -15)
shadow-offset-x = -5;
# The top offset for shadows. (default -15)
shadow-offset-y = -5;
# The translucency for shadows. (default .75)
shadow-opacity = 0.5;

shadow-exclude = [
    "! name~=''",
    "name = 'Notification'",
    "name = 'Plank'",
    "name = 'Docky'",
    "name = 'Kupfer'",
    "name = 'xfce4-notifyd'",
    "name *= 'VLC'",
    "name *= 'compton'",
    "name *= 'picom'",
    "name *= 'Chromium'",
    "name *= 'Chrome'",
    "class_g = 'Firefox' && argb",
    "class_g = 'Conky'",
    "class_g = 'Kupfer'",
    "class_g = 'Synapse'",
    "class_g ?= 'Notify-osd'",
    "class_g ?= 'Cairo-dock'",
    "class_g ?= 'Xfce4-notifyd'",
    "class_g ?= 'Xfce4-power-manager'",
    "_GTK_FRAME_EXTENTS@:c",
    "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];
# Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners)
shadow-ignore-shaped = false;

#################################
# Opacity
#################################

inactive-opacity = 1;
active-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = false;
blur-background-fixed = false;
blur-background-exclude = [
    "window_type = 'dock'",
    "window_type = 'desktop'"
];

#################################
# Fading
#################################

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

# Specify a list of conditions of windows that should not be faded.
fade-exclude = [ ];

#################################
# Other
#################################

# Try to detect WM windows and mark them as active.
mark-wmwin-focused = true;
# Mark all non-WM but override-redirect windows active (e.g. menus).
mark-ovredir-focused = true;
# Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused instead of using FocusIn/Out events.
# Usually more reliable but depends on a EWMH-compliant WM.
use-ewmh-active-win = true;
# Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on.
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 0;
vsync = true;
dbe = false;
unredir-if-possible = false;
focus-exclude = [ ];
detect-transient = true;
detect-client-leader = true;

#################################
# Window type settings
#################################

wintypes:
{
    tooltip =
    {
        # fade: Fade the particular type of windows.
        fade = true;
        # shadow: Give those windows shadow
        shadow = false;
        # opacity: Default opacity for the type of windows.
        opacity = 0.85;
        # focus: Whether to always consider windows of this type focused.
        focus = true;
    };
};
You may also need a config file for intel card.
e.g.: cat /usr/local/etc/X11/xorg.conf.d/driver-intel.conf
Code:
Section "Device"  
         Identifier   "Card0"  
         Driver       "modesetting"  
EndSection

PS: Window managers are not for lazy peoples.;)
I will try on test machine thank you
 
Hi guys, the only thing I need is transparency for my kitty terminal. I couldn't get transparency to work. I tried Compton and it does nothing. I placed it into my config file and still nothing.

I also want to be able to easily customise transparency as well. As a bonus I'd like to have gaps as well thank you for taking your time reading this.
I have make this work perfectly thank you everyone you all rock!!!
 
Back
Top