Open kxxdhdn opened 1 year ago
After some exploration, I find a quite good solution: applying a ZSH/oh-my-zsh theme that supports terminal session counts (i.e. "jonathan" is pretty nice which accumulatively counts sessions in windows, tabs, OS windows across all terminal emulators. As I tested, it works simultaneously with Gnome term, Tilix and kitty. ). In this case, it turns out to be nothing to do with the application title or table/session names. I am cool with this feature request now. Feel free to close the issue and thanks for your attention.
I just transferred from Mac to Ubuntu, and I chose Tilix as the equivalent of iTerm2. Indeed, Tilix works perfectly in most aspects.
I should get used to using split terminals instead of separated windows as I did on Mac. By saying this, I recognize the "Window - Session - Terminal" hierarchy in terms of the Tilix structure. However, I still need to open different windows in different workspaces or monitors. With iTerm2, it attributes automatically a number to each window, whereas Tilix only has
activeTerminalTitle
(Terminal scope) andsessionName
(Session scope) without certainwindowName
(Window scope;appName
does not work since it is the same for all windows). Now, my config is as follows:Appearance - Application title: ${appName} - §${sessionNumber} - ${directory} Appearance - Default session name: #${terminalNumber} - ${activeTerminalTitle} Profiles - General - Terminal title: ${title}
In practice, it is not bad, but still possible to have the same name for two windows. I am thinking of adding variables such as
windowNumber
andwindowCount
. Should I modify a file somewhere or it can be done with the Custom Links? Or even, I did not understand well your idea of using this terminal emulator?Thank you very much for creating and maintaining this awsome tool and thanks in advance for answering my question.