You are not logged in.

#1 2024-06-25 17:27:20

mrhooman
Member
Registered: 2024-06-25
Posts: 16
Website

[Solved] cannot get transparency to work on kitty. gnome

I have switched my terminal from gnome console to kitty but I cannot get transparency to work. i have edited the kitty.conf file to have background_opacity be 0.1 but the background is still solid. I use the gnome desktop environment with mutter.

Last edited by mrhooman (2025-02-03 16:12:57)


In Soviet Russia, the arch wiki reads you!

Offline

#2 2024-06-25 20:48:42

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,324

Online

#3 2024-06-25 21:21:37

mrhooman
Member
Registered: 2024-06-25
Posts: 16
Website

Re: [Solved] cannot get transparency to work on kitty. gnome

this seems like it is solving an issue with kitty on wayland. I am using mutter with x11(xorg).


In Soviet Russia, the arch wiki reads you!

Offline

#4 2024-06-25 21:26:44

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,324

Re: [Solved] cannot get transparency to work on kitty. gnome

Are you sure? Do you have an nvida GPU?

loginctl session-status

Have your tried "kitty -o linux_display_server=x11"?

Edit: otherwise please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General

Last edited by seth (2024-06-25 21:27:49)

Online

#5 2024-06-25 21:49:20

mrhooman
Member
Registered: 2024-06-25
Posts: 16
Website

Re: [Solved] cannot get transparency to work on kitty. gnome


In Soviet Russia, the arch wiki reads you!

Offline

#6 2024-06-25 21:54:43

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,324

Re: [Solved] cannot get transparency to work on kitty. gnome

Wild guess enable https://wiki.archlinux.org/title/NVIDIA … de_setting - use the "nvidia_drm.modeset=1" kernel parameter (modprobe.conf won't do!)
Edit: and please post the "xwininfo" output on the kitty window

Last edited by seth (2024-06-25 21:55:15)

Online

#7 2024-06-25 23:00:47

mrhooman
Member
Registered: 2024-06-25
Posts: 16
Website

Re: [Solved] cannot get transparency to work on kitty. gnome

I have turned on nvidia_drm.modeset=1 by putting it in my grub file and remaking the config file but nothing seems different. i did check and modeset was off before.
xwininfo: Window id: 0x380000b "xwininfo"

  Absolute upper-left X:  0
  Absolute upper-left Y:  66
  Relative upper-left X:  0
  Relative upper-left Y:  37
  Width: 1920
  Height: 981
  Depth: 24
  Visual: 0x28
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x380000a (not installed)
  Bit Gravity State: ForgetGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +0+66  -0+66  -0-33  +0-33
  -geometry 1920x981+0-33


In Soviet Russia, the arch wiki reads you!

Offline

#8 2024-06-25 23:08:23

mrhooman
Member
Registered: 2024-06-25
Posts: 16
Website

Re: [Solved] cannot get transparency to work on kitty. gnome

I am using "o my zsh" could that be interfering with it?


In Soviet Russia, the arch wiki reads you!

Offline

#9 2024-06-26 05:55:53

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,324

Re: [Solved] cannot get transparency to work on kitty. gnome

Always - but not necessarily here.
Your problem is

Depth: 24

that needs to say 32.

Does

kitty --config NONE -o background_opacity=0.5

produce a transparent window?
I'd say "you need to run a compositor", but mutter does actually not run without hmm

Online

#10 2024-06-26 13:36:03

mrhooman
Member
Registered: 2024-06-25
Posts: 16
Website

Re: [Solved] cannot get transparency to work on kitty. gnome

running that command does work. I looked up some info about compositors and gnome. from what is seems gnome uses the gnome compositor and it will not work with any other compositor.


In Soviet Russia, the arch wiki reads you!

Offline

#11 2024-06-26 14:08:43

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,324

Re: [Solved] cannot get transparency to work on kitty. gnome

running that command does work

Post your kitty config file - the problem will be there.

Online

#12 2024-06-26 14:46:37

mrhooman
Member
Registered: 2024-06-25
Posts: 16
Website

Re: [Solved] cannot get transparency to work on kitty. gnome

https://paste.ee/p/98V12 this should just be the default kitty.conf with only minor changes. ie. turning down transparency turning up blur and editing things to try to remove the top bar (I could not tongue).


In Soviet Russia, the arch wiki reads you!

Offline

#13 2024-06-26 15:22:34

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,324

Re: [Solved] cannot get transparency to work on kitty. gnome

The leading "#" indicates a comment, the relevant line isn't active.

Online

#14 2024-06-26 17:50:07

mrhooman
Member
Registered: 2024-06-25
Posts: 16
Website

Re: [Solved] cannot get transparency to work on kitty. gnome

omg im so sorry. I should have known.


In Soviet Russia, the arch wiki reads you!

Offline

#15 2024-06-26 18:34:05

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,324

Re: [Solved] cannot get transparency to work on kitty. gnome

https://www.youtube.com/watch?v=5RyYrs5tu60 tongue

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Online

Board footer

Powered by FluxBB