Can't set window name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Terminator |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
There is no -name options for terminator. In rxvt I use "-T irssi -n irssi -name irssichat" when I launch irssi. I use this in other situations as well.
I think man page snippets are the best way to describe the desired action.
-name name
Specify the application name under which resources are to be obtained, rather
than the default executable file name. Name should not contain ‘.’ or ‘*’
-n text
Icon name; the default name is the basename of the program specified after
the -e option, if any, otherwise the application name; resource iconName.
-T already works as expected and seems to also do -n with it. What I really really need for many of my uses of a terminal is -name. This allows me to have specific actions performed when I open specific terminals.
Unfortunately, this is the only thing keeping me from using terminator full time. :(
Related branches
- Chris Jones (community): Approve
-
Diff: 120 lines (+52/-8)3 files modifieddoc/terminator.1 (+12/-0)
terminatorlib/optionparse.py (+4/-0)
terminatorlib/window.py (+36/-8)
Changed in terminator: | |
milestone: | 1.0-beta → none |
milestone: | none → 0.90-beta |
Changed in terminator: | |
importance: | Medium → Wishlist |
milestone: | 0.90-beta → 1.0-beta |
Changed in terminator: | |
status: | Confirmed → Fix Committed |
Changed in terminator: | |
status: | Fix Committed → Fix Released |
xprop output ::
Terminator: NAME(STRING) = "irssi" ICON_NAME( UTF8_STRING) = 0x69, 0x72, 0x73, 0x73, 0x69 NAME(UTF8_ STRING) = 0x69, 0x72, 0x73, 0x73, 0x69
WM_CLASS(STRING) = "terminator", "Terminator"
WM_ICON_
_NET_WM_
WM_NAME(STRING) = "irssi"
_NET_WM_
rxvt-unicode: ICON_NAME( UTF8_STRING) = 0x69, 0x72, 0x73, 0x73, 0x69 NAME(STRING) = "irssi" NAME(UTF8_ STRING) = 0x69, 0x72, 0x73, 0x73, 0x69
WM_CLASS(STRING) = "irssichat", "URxvt"
_NET_WM_
WM_ICON_
_NET_WM_
WM_NAME(STRING) = "irssi"
Basically... what -name does, is set the WM_CLASS(STRING) line.