Linux terminal emulators compared, and how to label their windows
Terminal Tags is an add-on for Linux built for telling many terminal windows apart on an X11 session: it puts a colored, named tag on any window. It isn't a terminal, and on a Wayland session, the default on GNOME and KDE Plasma, it reaches only the windows that run through XWayland. The terminal emulators for Linux are compared below, each described from its maker's own docs. Terminal Tags costs money, and every terminal here is free.
- Who it's for: people whose session is X11 and whose windows belong to several apps.
- Its two catches: a tag goes on a whole window, never a tab, and no tag outlives a quit or a restart.
- What it adds on X11: one hotkey that labels a window of any app, and a tray list that brings a tagged window to the front.
The button installs Terminal Tags, the add-on, not a terminal. 64-bit (x64) Linux with GTK 4, on an X11 session.
Eleven Linux terminal emulators, and one add-on for X11
The four that belong to a desktop are first; the rest follow in alphabetical order, and this is not a ranking. Each one's facts come from its own site, docs or repository. Terminal Tags is last because it isn't a terminal.
Label a terminal window on X11 with Terminal Tags
Whichever terminal you picked, the steps are the same.
Check your session type
In any terminal, run echo $XDG_SESSION_TYPE. If it prints x11, carry on. If it prints wayland, Terminal Tags can tag only a window that runs through XWayland, and it can't pick a native Wayland window at all. The steps below are for X11.
Install it and sign in
Download Terminal Tags for Linux as a .deb or an AppImage, open it and sign in with your Bravely Account. It rests in the tray and asks for nothing.
Setup shows a short Tagging on Linux step that says what your session can do, then Tag your first terminal, where you tag a real window. Then it shows the plans if your account doesn't have one.
Press Ctrl+Shift+`
Press Ctrl+Shift+` (the backtick key), or choose Tag a Window from the tray menu. Open Terminal Tags in the same menu opens the tag list window, which has a Tag a window… button too.
Visual Studio Code's documentation gives the same keys for opening a new terminal there. If you use that shortcut, change this one: open Settings…, find HOTKEY, choose Record shortcut and press the keys you want.
Click the window
The screen reads Click a window to tag it · Esc to cancel. Click the window you want.
Name and color the tag
The new tag opens with Label... in it, ready for typing. Type a name and press Enter. Click the name later to change it.
Click the dot on the tag to step to the next color. Click × to remove the tag.
Jump to a tagged window
Choose a tag's name in the tray menu, or its row in the tag list window, and that window comes to the front. A tag with no name is listed as (no label). Remove on a row deletes that tag, and Remove All Tags in the tray menu clears them.
X11 or Wayland: check before you pick
Find out which session you run before you choose, because GNOME and KDE Plasma have both moved to Wayland. GNOME's release notes say that support for a dedicated X11 session "has been disabled by default in GNOME 49". KDE's Plasma 6 announcement says "Wayland is the default graphical session" and that the X11 session stays available for people who prefer it.
Terminal Tags is on the X11 side. It draws its tags through the X window system, so it is for people who run an X11 session, by choice or because their desktop still starts one. On a Wayland session it reaches only the windows that run through XWayland.
How each terminal already names and colors its windows
If the windows you mix up are tabs in one terminal, look here before you buy anything. Most of these cost nothing and are built for tabs.
- GNOME Terminal: --title sets the starting title, and Terminal > Change Profile gives a tab a different set of colors.
- Konsole: a dialog, opened from the menu, with Ctrl+Alt+S or by double-clicking the tab, sets the tab's name format and its color.
- Ptyxis: a Set Title menu item, and --title for a tab's starting title.
- Xfce Terminal: Terminal > Set Title..., or double-click the tab.
- Alacritty: a window title, from window.title in its config file or --title when it starts.
- foot: --title for the starting title.
- kitty: the set_tab_title action renames a tab from the keyboard, and kitten @ set-tab-color colors one after you turn on remote control.
- Terminator: rename the window with Ctrl+Alt+W, a tab with Ctrl+Alt+A and a single terminal with Ctrl+Alt+X.
- Tilix: custom titles for each terminal.
- WezTerm: set-tab-title and set-window-title commands, and tab colors through a format-tab-title handler you write in Lua.
- xterm: -T sets the title and -bg the background color when it starts.
Where a window tag fits, and where it doesn't
On an X11 session, Terminal Tags earns its price in three cases. Your windows belong to different apps, say a terminal, an editor and a browser, and you want one hotkey and one list for all of them. Your terminal gives a window one title and no tabs to color. Or every title bar reads the same, and you want a label that sits on the window's top edge, moves with the window and hides while it's minimized.
It's the wrong tool for naming tabs. For that, the guide to telling terminal windows apart walks through tab titles, tab colors and tmux.
If you do use it, Settings… holds the eight starting colors, each of which you can change, the tag's shape (Pill, Rounded or Square), its font and Big tags.
What Terminal Tags doesn't do on Linux
- On a Wayland session it tags only windows that run through XWayland, and its hotkey answers only while one of those is in front. It can't see native Wayland windows at all, so a terminal that is Wayland only is out of its reach.
- It isn't a terminal and doesn't change one. It won't rename or color the tabs inside a terminal, and it doesn't start, split or save sessions.
- A tag belongs to a whole window, never to a tab or a split inside it.
- Tags aren't saved. Quit Terminal Tags, restart the computer or close the window, and you tag again. Your colors, shape, font and hotkey are kept, and Launch at login is off until you turn it on.
- You tag each window by hand. Nothing is tagged by rule or when a window opens.
- It doesn't see inside a window, so tmux windows and panes in one terminal window share that window's tag.
- It runs on 64-bit (x64) Linux with GTK 4, and its tray icon needs a desktop that shows status-notifier icons.
- One purchase covers Linux, Mac and Windows with the same Bravely Account, but a tag made on one computer exists only there.
FAQs
What is a terminal emulator in Linux?
It is the app that gives you a text window for typing commands. GNOME's help defines it as a software program that emulates a video terminal in modern computers, and Konsole's handbook adds that the terminal runs a shell, an application that executes the commands you type.
Which terminal emulator does my Linux desktop use?
It depends on the desktop and on who assembled your system. GNOME Terminal and Ptyxis are written for GNOME, Konsole is KDE's, and Xfce Terminal describes itself as integrated with the Xfce desktop. Search your app menu for Terminal or Konsole to see which one you have.
Which Linux terminal emulators are made for Wayland, and which for X11?
foot's README calls it a Wayland terminal emulator, and xterm's site calls it a terminal emulator for the X Window System. Konsole's handbook and Xfce Terminal's docs each use the phrase X terminal emulator. For the others, check the project's own notes.
Is Tilix still maintained?
Barely, by its own account. Its README says that only very minimal maintenance is done, that no new features will be implemented and that pull requests may be reviewed very slowly. Its latest release, 1.9.6, is dated November 8, 2023.
Can Terminal Tags tag a window on Wayland?
Only a window that runs through XWayland. Terminal Tags is built for an X11 session, and on a Wayland session it can't see native Wayland windows. Run echo $XDG_SESSION_TYPE in a terminal to see which session you have.
Sources
- GNOME Help: Terminal, introduction
- GNOME Help: Terminal, overview
- GNOME Terminal: manual page source
- GNOME Help: Terminal preferences
- GNOME Terminal: releases
- KDE: Konsole
- The Konsole Handbook: Introduction
- The Konsole Handbook: Konsole Dialogs
- Ptyxis: README
- GNOME: Ptyxis 50 sources
- Xfce docs: xfce4-terminal
- Xfce docs: xfce4-terminal, introduction
- Xfce docs: xfce4-terminal, usage
- Xfce docs: xfce4-terminal, preferences
- Alacritty: home page
- Alacritty: README
- Alacritty: latest release
- foot: README
- foot: release 1.28.0
- foot: manual page source
- kitty: home page
- kitty: Changelog
- kitty: Mappable actions
- kitty: Control kitty from scripts
- Terminator: home page
- Terminator: README
- Terminator docs: Getting Started
- Terminator docs: Layouts
- Terminator: terminator_config manual page
- Terminator: latest release
- Tilix: README
- Tilix: latest release
- WezTerm: home page
- WezTerm: latest release
- WezTerm docs: set-tab-title
- WezTerm docs: format-tab-title
- XTerm: home page
- XTerm: change log
- XTerm: manual page
- XTerm: source archive, with its license in COPYING
- GNOME 49 release notes for developers
- KDE: the Plasma 6 announcement
- Visual Studio Code docs: Terminal Basics
Terminal Tags
Label your terminal windows
$19.99 once, no subscription.