只需设置xterm标题?

Gho*_*Cat 8 xterm

这听起来像一个愚蠢的问题,但我希望它不是。

我想创建一个带有固定标题的简单 xterm。我试过:

xterm -title whatever (that is what xterm --help suggests)

xterm -T whatever (according to man pages, this is the same as --title)
Run Code Online (Sandbox Code Playgroud)

但是好吧,我的 xterm 总是在标题中显示 username@hostname:~ 。我猜这个标题来自某个环境变量;但我更希望我不必对我的 .bashrc 或 .profile 进行永久更改,以便能够创建一个具有固定标题的 xterm?!

这是 xubuntu 14.04

Flo*_*sch 19

xterm -xrm 'XTerm.vt100.allowTitleOps: false' -T whatever
Run Code Online (Sandbox Code Playgroud)