设置终端的“图标标题”是什么意思?

dim*_*414 5 xterm x11 window-title

我通常看到将终端标题设置为(类似)的语法:

echo -e '\e]0;Some Title\a'
Run Code Online (Sandbox Code Playgroud)

但是我注意到这个答案使用了2而不是0,这促使我做更多的挖掘。根据此文档,您实际上可以使用以下语法设置“图标名称”和“窗口标题”:

·  ESC]0;stringBEL -- Set icon name and window title to string

·  ESC]1;stringBEL -- Set icon name to string

·  ESC]2;stringBEL -- Set window title to string

   where ESC is the escape character (\033), and BEL is the bell
   character (\007).

Printing one of these sequences within the xterm will cause the window
or icon title to be changed.
Run Code Online (Sandbox Code Playgroud)

但它没有继续解释“图标标题”或“图标名称”的确切含义。当我尝试,我看不出有什么区别02,并1没有出现做任何事情。

那么什么是“图标标题”,以及在调用01调用时应该发生什么?

thr*_*rig 6

这是现代窗口管理器可能忽略或未实现的 X11 代码。幸运的是,我没有运行现代的窗口管理器,因此使用 OpenBSD 上的 FVWM,我可以将图标名称设置为blah,然后最小化该 xterm:

看截图

这会生成一个具有该名称的图标。