From: marcus-sup@bar-coded.net (Marcus Williams)
Subject: [sup-talk] [PATCH] Fix for icon title in gnome terminal (possibly others)
Date: Tue, 01 Apr 2008 11:07:06 +0100 [thread overview]
Message-ID: <1207044311-sup-3103@tomsk> (raw)
In-Reply-To: <1206547886-sup-1106@south>
On 26.3.2008, William Morgan wrote:
> Reformatted excerpts from Marcus Williams's message of 2008-03-05:
> > The escape code used for terminal titles works mostly but it doesnt
> > set the icon title as well [1], which is useful when minimised. This
> > patch makes the escape code set both window and icon title so the task
> > bar updates correctly in the gnome terminal (and probably others).
>
> Reworked slightly (to avoid duplicating the conditional) and applied.
I couldnt figure out what you meant when you said this but I just
checked the diff that went in and that explained it... My patch
removes the old escape code line and replaces it with a single line,
but your patch prints both escape codes. You only need the one in my
patch as that does both icon and window titles, so you should be able
to have the single line:
print "\033]0;#{title}\07" if title && @in_x
... the fifth char '0' in the escape code means window AND icon (1
would be icon, 2 would be window). Not sure if you misread the patch
or if I duffed up :)
Marcus
next prev parent reply other threads:[~2008-04-01 10:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-05 10:11 Marcus Williams
2008-03-26 16:11 ` William Morgan
2008-04-01 10:07 ` Marcus Williams [this message]
2008-04-01 15:03 ` William Morgan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1207044311-sup-3103@tomsk \
--to=marcus-sup@bar-coded.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox