kitty has a blur that is normally set in the conf file with background_blur 1 but thats not there and its a custom file by garuda so i checked the config they tossed in at the bottom line but didnt see it there either and adding background_blur 0 to the conf gets overridden…
i just dont know where the custom configs are that garuda is trying to use
SGS
9 September 2024 10:52
2
Please, post garuda-inxi.
Where did you edit and which file, please write full names.
There will never be changed files by system in /home until you change it or use an app like garuda-assistant.
Did you save your changes?
And what you want to do?
Did you look also in .config/kitty/current-theme.conf
Edit.
opened 09:50PM - 25 Jul 23 UTC
closed 03:54AM - 26 Jul 23 UTC
bug
**Describe the bug**
Blur/opacity in KDE X11 broken in 0.29.1
**To Reprodu… ce**
Steps to reproduce the behavior:
1. Use Kitty 0.29.1 with opacity set and some blur applied in KDE (force-blur script does this well)
**Screenshots**
No blur when there should be
**Environment details**
```
kitty 0.28.1 created by Kovid Goyal
Linux archmain 6.4.6-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Mon, 24 Jul 2023 20:19:56 +0000 x86_64
Arch Linux 6.4.6-zen1-1-zen (/dev/tty)
DISTRIB_ID="Arch"
DISTRIB_RELEASE="rolling"
DISTRIB_DESCRIPTION="Arch Linux"
Running under: X11
Frozen: False
Paths:
kitty: /usr/bin/kitty
base dir: /usr/lib/kitty
extensions dir: /usr/lib/kitty/kitty
system shell: /usr/bin/zsh
Loaded config files:
/home/amaanq/.config/kitty/kitty.conf
Config options different from defaults:
active_border_color None
active_tab_font_style (True, False)
background_opacity 0.7
bell_on_tab
copy_on_select clipboard
cursor None
cursor_blink_interval 0.75
cursor_shape 2
cursor_stop_blinking_after 30.0
dynamic_background_opacity True
enable_audio_bell False
font_family Monaco
initial_window_height (600, 'px')
initial_window_width (800, 'px')
input_delay 1
remember_window_size False
repaint_delay 6
scrollback_lines 100000
shell_integration frozenset({'enabled', 'no-cursor'})
strip_trailing_spaces always
sync_to_monitor False
window_border_width (1.0, 'px')
Colors:
active_tab_background #26233a
active_tab_foreground #e0def4
background #191724
color0 #26233a
color1 #eb6f92
color10 #31748f
color11 #f6c177
color12 #9ccfd8
color13 #c4a7e7
color14 #ebbcba
color15 #e0def4
color2 #31748f
color3 #f6c177
color4 #9ccfd8
color5 #c4a7e7
color6 #ebbcba
color7 #e0def4
color8 #6e6a86
color9 #eb6f92
cursor_text_color #e0def4
foreground #e0def4
inactive_border_color #403d52
inactive_tab_background #191724
inactive_tab_foreground #6e6a86
selection_background #403d52
selection_foreground #e0def4
tab_bar_background #3a3752
url_color #c4a7e7
Important environment variables seen by the kitty process:
PATH /home/amaanq/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
LANG C.UTF-8
SHELL /usr/bin/zsh
DISPLAY :0
USER amaanq
XCURSOR_SIZE 24
XDG_DATA_DIRS /home/amaanq/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
XDG_RUNTIME_DIR /run/user/1000
XDG_CONFIG_DIRS /home/amaanq/.config/kdedefaults:/etc/xdg
XDG_CURRENT_DESKTOP KDE
XDG_SEAT seat0
XDG_SEAT_PATH /org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS user
XDG_SESSION_DESKTOP KDE
XDG_SESSION_ID 2
XDG_SESSION_PATH /org/freedesktop/DisplayManager/Session1
XDG_SESSION_TYPE x11
XDG_VTNR 2
```
**Additional context**
I believe just setting background_opacity can cause this bug. I have bisected to find a potential spot for the bug, bisect log:
```
git bisect start
# status: waiting for both good and bad commits
# bad: [22dd8ecb62169f713048431ba5663ac16562af7b] Apparently people out there want to build kitty with rc Go versions
git bisect bad 22dd8ecb62169f713048431ba5663ac16562af7b
# status: waiting for good commit(s), bad commit known
# good: [07bcc5ba61260a6953121f63416c3cfc12cadb46] version 0.28.1
git bisect good 07bcc5ba61260a6953121f63416c3cfc12cadb46
# skip: [4c5f4c4baf0e4c6dd87960a2030489bf2cbd8e1e] Apparently Python 3.12 no longer raises FileNotFoundError when closing a deleted file
git bisect skip 4c5f4c4baf0e4c6dd87960a2030489bf2cbd8e1e
# skip: [d3fc8a2897b897d3d1f57bf8078b7d3c63fd54f6] Remove a bunch of option processing code and directly define the threshold in the shader
git bisect skip d3fc8a2897b897d3d1f57bf8078b7d3c63fd54f6
# skip: [aa0642d3e38e1e7303cd4b5aca5b7e6f1f0248f8] Show shader filename in compilation error messages
git bisect skip aa0642d3e38e1e7303cd4b5aca5b7e6f1f0248f8
# skip: [624007c7aa2fd725f8f55119971fc39cc3febeaf] Refuse to read image files in /proc /sys and /dev
git bisect skip 624007c7aa2fd725f8f55119971fc39cc3febeaf
# skip: [b96a261a3538b98614a798fb6bc2093319a8054f] ...
git bisect skip b96a261a3538b98614a798fb6bc2093319a8054f
# skip: [7f6f1f9a5dac301b9f977e0d1a53c487c5cad9aa] Fix a regression in 0.28.0 that caused a buffer overflow when clearing the screen
git bisect skip 7f6f1f9a5dac301b9f977e0d1a53c487c5cad9aa
# bad: [28fbab347607806235439eb976ae6c08e3e1b6e6] ...
git bisect bad 28fbab347607806235439eb976ae6c08e3e1b6e6
# bad: [2ce5ad63956bd88d83429b359debf87d703f4b20] Fix regression that broke display of error on failure to open URL
git bisect bad 2ce5ad63956bd88d83429b359debf87d703f4b20
# skip: [9f377c5ccbee90d463f293bae8527b82249f04c1] Cache shader source code loading
git bisect skip 9f377c5ccbee90d463f293bae8527b82249f04c1
# skip: [af65b68ac3eec07bc81d8cdfb046cc2bc10998c5] Make timestamps.js re-useable
git bisect skip af65b68ac3eec07bc81d8cdfb046cc2bc10998c5
# skip: [52afc79476d98cec2fc2c81e3ea3adeb98a9ddb9] Fix re-using an image id for an animated image for a still image causing a crash
git bisect skip 52afc79476d98cec2fc2c81e3ea3adeb98a9ddb9
# skip: [8d1facd84dbb3c9fdd770969c8844a76f544e868] Bump github.com/shirou/gopsutil/v3 from 3.23.3 to 3.23.5
git bisect skip 8d1facd84dbb3c9fdd770969c8844a76f544e868
# good: [af8db1eb8fff0f645c234420ec8ecb8915ebe7ee] Add an example for how to get a single color from @ get-colors
git bisect good af8db1eb8fff0f645c234420ec8ecb8915ebe7ee
# bad: [94e2aeb38c723ac1e2f27cbd04065c6b0c07e8f3] ...
git bisect bad 94e2aeb38c723ac1e2f27cbd04065c6b0c07e8f3
# good: [5f8610f7bc8ed21d54c13ce66ece3545ce3bb59f] macOS: Add a new value titlebar-and-corners for :opt:hide_window_decorations that emulates the behavior of hide_window_decorations yes in older versions of kitty
git bisect good 5f8610f7bc8ed21d54c13ce66ece3545ce3bb59f
# bad: [e3633033593597159597dc5ad05d16f6c74c4134] Nicer error message for pwfile owner/permission mismatch
git bisect bad e3633033593597159597dc5ad05d16f6c74c4134
# bad: [97b073fd8c56e6610b7c0920f21646bac6a4aaa7] GNOME: Fix wayland_titlebar_color not being applied until the color is changed at least once
git bisect bad 97b073fd8c56e6610b7c0920f21646bac6a4aaa7
# good: [9e0e23ae993ff9c577ee37e51803208a653674db] macOS: Fix a regression that caused the titlebar to be translucent even for non-translucent windows
git bisect good 9e0e23ae993ff9c577ee37e51803208a653674db
# first bad commit: [97b073fd8c56e6610b7c0920f21646bac6a4aaa7] GNOME: Fix wayland_titlebar_color not being applied until the color is changed at least once
97b073fd8c56e6610b7c0920f21646bac6a4aaa7 is the first bad commit
commit 97b073fd8c56e6610b7c0920f21646bac6a4aaa7
Author: Kovid Goyal <kovid@kovidgoyal.net>
Date: Wed Jul 12 10:38:33 2023 +0530
GNOME: Fix wayland_titlebar_color not being applied until the color is changed at least once
Fixes #6447
docs/changelog.rst | 2 ++
kitty/glfw.c | 30 +++++++++++++++---------------
2 files changed, 17 insertions(+), 15 deletions(-)
```
IDK, new upstream bug?
I use kitty 0.36.2
BTW, in window manager I always use “full” windows, apart from this screenshot
3 Likes
i checked out ~/.config/kitty/current-theme.conf and ~/.config/kitty/kitty.conf
in ~/.config/kitty/kitty.conf line 985 was set to 1 i changed it to 0.75 and noticed its blured and adding background_blur 0 did not help i also tried swapping to lts just in case it was a zen thing but no luck
and i mean you can drop line 985 to 0 its still blurry i feel so confused
edit: line 985 is background_transparancy
Yada
9 September 2024 12:28
4
Shouldn’t you be looking at a compositor, say picom?
blur-background-exclude = [
#"window_type = 'dock'",
#"window_type = 'desktop'",
#"class_g = 'URxvt'",
"class_g = 'slop'",
"class_g = 'i3status'",
"_GTK_FRAME_EXTENTS@:c",
"window_type = 'menu'",
"window_type = 'tooltip'",
"window_type = 'popup_menu'",
"window_type = 'dropdown_menu'",
"window_type = 'dock'",
"window_type = 'desktop'"
];
and probably add something here - to exclude kitty. Not 100 percent sure about Kitty
2 Likes
SGS
9 September 2024 12:36
5
Maybe I don’t understand, do you want blur or not?
Maybe look also in i3 config, I have no blur in my i3wm.
I can’t check it right now.
twas a picom thing! i just added
"class_g = 'kitty'",
to /home/$USER/.config/picom.conf
3 Likes
system
Closed
11 September 2024 21:56
7
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.