lanoxx / tilda

A Gtk based drop down terminal for Linux and Unix
GNU General Public License v2.0
1.28k stars 161 forks source link

Set window title #265

Closed thamma closed 7 years ago

thamma commented 7 years ago

The "title" setting is not applied to newly opened tilda instances, thus they are named "tilda". Always reproducable on 4.8.4-1-ARCH using i3wm.

I tried to adress the issue myself, but failed due to the lack of GTK progamming experience. If you could point me to where the title "tilda" is set, that would resolve my problem.

lanoxx commented 7 years ago

If I am not mistaken, then the title is usually set by the shell and tilda just displays that. If the shell does not set a title then it will fallback to showing tilda. So I think that most likely you need to set something in your shell, such as bash to update the title and set it, for example, to the current path.

Take a look at the wiki: https://github.com/lanoxx/tilda/wiki at the bottom you will find a command that should do this.

thamma commented 7 years ago

I'm talking about the initial title, not the dynamic title. Sorry about the confusion. I'm even intentionally disabling the dynamic title option. For instance, if I set the initial title to "foobar" and restart tilda, xprop tells me, that the window title remains "tilda".

(My use case is mapping the terminal to a specific workspace using i3. However this mapping is reliant on the window class or window title. I created a dedicated configuration (that should specify the window title!) to be loaded for the terminal, that's supposed to open on the dedicated workspace using PR #251, which you should totally merge to master ;) )

HKervadec commented 7 years ago

I had the same problem, fixed it in https://github.com/lanoxx/tilda/pull/281.

lanoxx commented 7 years ago

Thanks for the pull request. This is now fixed in master.