You are not logged in.
Pages: 1
I sometimes have several Konsole terminals running at the same time, often with the same program working on different files. Is there any easy way, in a script, to rename the terminal to the file name I am working on?
Ok - edited to add a bit.
I found (by typing "konsole --help-tde") that I can open a new terminal with whatever name I want by issuing "konsole --caption <caption>" or konsole -T <title>. But haven't found a way to rename the terminal I am in. With those two examples the script stops until I close the new terminal.
Last edited by JimW (2018-02-09 05:05)
Offline
I use terminator and one of the great things is it can split the terminal into separate terminals (within the one window) and I can give each terminal it's own title at any time by using the shortcut key Ctrl-Alt-X. I have found terminator to be invaluable when working with multiple instances.
Offline
After much searching and getting a lot of "how to change the title in Konsole tabs" - (didn't even know there were tabs in Konsole!) I finally found the answer!
Install xtitle from synaptic. Now to change the title of the terminal to the running program (or the first variable from the command) from my script all I have to do is include xtitle $1
So, I guess this is solved! Thanks for the suggestions guys!
Last edited by JimW (2018-02-09 05:06)
Offline
You're welcome JimW, glad you found the answer, it's always handy to know these things.
Offline
Pages: 1