21.12.2024

alacritty tabs using tabbed on linux

The alacritty terminal emulator does not support tabs. On Linux I am using tabbed to get tab support.

git clone https://git.suckless.org/tabbed

cd tabbed

sudo make clean install

Then run the command:

tabbed alacritty --embed 

I had this error: Error: Custom { kind: NotFound, error: "Failed to spawn command '/usr/bin/zsh': No such file or directory (os error 2)" }. It turned out to be a .alacritty.toml issue:

[general]
working_directory = 'code'

I needed to change that to ->

[general]
working_directory = '/home/user/code'

useful tabbed hotkeys:

Ctrl-Shift   Return open new tab

Ctrl-Shift-h previous tab

Ctrl-Shift-l next tab

Ctrl-Shift-j move selected tab one to the left

Ctrl-Shift-k move selected tab one to the right

Ctrl-Shift-u toggle autofocus of urgent tabs

Ctrl-Tab     toggle between the selected  and  last  selected tab

Ctrl-‘       open dmenu to either create a new tab appending the entered string or select an already existing tab.

Ctrl-q       close tab

Ctrl-u       focus next urgent tab

Ctrl-[0..9]  jumps to nth tab

F11          Toggle fullscreen mode.