kovidgoyal / kitty

Cross-platform, fast, feature-rich, GPU based terminal
https://sw.kovidgoyal.net/kitty/
GNU General Public License v3.0
24.15k stars 972 forks source link

`Icat` "This terminal emulator does not support the graphics protocol, use a terminal emulator such as kitty that does support it" #4612

Closed Gcat101 closed 2 years ago

Gcat101 commented 2 years ago

Describe the bug

When I run kitty +kitten icat, it returns "This terminal emulator does not support the graphics protocol, use a terminal emulator such as kitty that does support it"

To Reproduce Steps to reproduce the behavior:

  1. Open kitty
  2. Run `kitty +kitten icat"
  3. See error

Screenshots

image

Environment details

kitty 0.24.1 created by Kovid Goyal
Linux pop-os-gcat 5.15.15-76051515-generic #202201160435~1642693824~21.10~97db1bb SMP Thu Jan 20 17:35:05 U x86_64
Pop!_OS 21.10 pop-os-gcat /dev/tty

DISTRIB_ID=Pop
DISTRIB_RELEASE=21.10
DISTRIB_CODENAME=impish
DISTRIB_DESCRIPTION="Pop!_OS 21.10"
Running under:X11
Frozen: True
Paths:
  kitty: /usr/bin/kitty
  base dir: /usr/lib/kitty
  extensions dir: /usr/lib/kitty-extensions
  system shell: /usr/bin/tmux
Loaded config files:
  /home/g_cat/.config/kitty/kitty.conf

Config options different from defaults:
background_opacity 0.7
enable_audio_bell  False
Added shortcuts:
    super++ change_font_size all +2.0
    super+, edit_config_file
    super+- change_font_size all -2.0
    super+0 change_font_size all 0
    super+1 first_window
    super+2 second_window
    super+3 third_window
    super+4 fourth_window
    super+5 fifth_window
    super+6 sixth_window
    super+7 seventh_window
    super+8 eighth_window
    super+9 ninth_window
    super+= change_font_size all +2.0
    super+n new_os_window
    super+r start_resizing_window
    super+t new_tab
    super+w close_tab
    super+enter new_window
    super+up scroll_line_up
    super+down scroll_line_down
    super+page_up scroll_page_up
    super+page_down scroll_page_down
    super+home scroll_home
    super+end scroll_end
    shift+super+- change_font_size all -2.0
    shift+super+= change_font_size all +2.0
    shift+super+[ previous_tab
    shift+super+] next_tab
    shift+super+d close_window
    shift+super+i set_tab_title
    shift+super+w close_os_window
    alt+super+, debug_config
    alt+super+r clear_terminal reset active
    alt+super+page_up scroll_line_up
    alt+super+page_down scroll_line_down
    ctrl+super+  kitten unicode_input
    ctrl+super+, load_config_file

Additional context

My fs if ext4 and my KITTY_CACHE_DIRECTORY is /tmp, please help.

kovidgoyal commented 2 years ago

Does nto reproduce for me. Make sure you are running icat inside kitty and not inside a terminal multiplexer like tmux.

yujinyuz commented 2 years ago

@kovidgoyal May I know why is it not working if it's inside tmux?

page-down commented 2 years ago

It gets between the program and the terminal, and all relevant escape sequences are being filtered out.

... depending on whether the multiplexer has added support for it or not ...

https://sw.kovidgoyal.net/kitty/kittens/icat/