Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new_tab command not working in startup.config #7208

Closed
dacconcio opened this issue Mar 11, 2024 · 2 comments
Closed

new_tab command not working in startup.config #7208

dacconcio opened this issue Mar 11, 2024 · 2 comments
Labels

Comments

@dacconcio
Copy link

Describe the bug
new_tab command not working in startup.config. The terminal opens with just one tab.

To Reproduce
Steps to reproduce the behavior:

  1. create startup.config file with just: new_tab and nothing else on it.

Screenshots
N/A

Environment details

kitty 0.26.5 created by Kovid Goyal
Linux  6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64
Debian GNU/Linux 12  /dev/tty

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/fish
Loaded config files:
  /etc/xdg/kitty/kitty.conf
  /home/<USER>/.config/kitty/kitty.conf

Config options different from defaults:
enable_audio_bell     False
font_size             12.0
initial_window_height (200, 'px')
initial_window_width  (300, 'px')
startup_session       /home/<USER>/.config/kitty/startup.conf
tab_bar_edge          1
tab_bar_style         slant
update_check_interval 0.0
Added shortcuts:
	ctrl+1 →  goto_tab 1
	ctrl+2 →  goto_tab 2
	ctrl+3 →  goto_tab 3
	ctrl+4 →  goto_tab 4
	ctrl+c →  copy_or_interrupt
	ctrl+t →  new_tab
	ctrl+v →  paste_from_clipboard

Important environment variables seen by the kitty process:
	PATH                                /home/<USER>/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
	LANG                                en_US.UTF-8
	SHELL                               /usr/bin/fish
	DISPLAY                             :0
	USER                                <deleted>
	XDG_SEAT                            seat0
	XDG_SESSION_TYPE                    x11
	XDG_SEAT_PATH                       /org/freedesktop/DisplayManager/Seat0
	XDG_SESSION_CLASS                   user
	XDG_SESSION_ID                      5
	XDG_RUNTIME_DIR                     /run/user/1000
	XDG_SESSION_PATH                    /org/freedesktop/DisplayManager/Session1
	XDG_CURRENT_DESKTOP                 X-Cinnamon
	XDG_SESSION_DESKTOP                 
	XDG_VTNR                            7
	XDG_DATA_DIRS                       /usr/share/gnome:/usr/share/gnome:/home/<USER>/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share

@dacconcio dacconcio added the bug label Mar 11, 2024
@kovidgoyal
Copy link
Owner

new_tab by itself does nothing, since you havent asked kitty to run
anything in it. If you want two tabs, at a minimum you need:

new_tab
launch
new_tab
launch

@dacconcio
Copy link
Author

Ah, that was the piece was missing. I thought you could just write new_tab then the commands to run below that. Thanks so much for your time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants