Ticket #22 (new enhancement)

Opened 6 years ago

Last modified 6 years ago

XTerm Titles

Reported by: jordan83 Owned by: ciaranm
Priority: IfSomeoneSendsAPatch Milestone:
Component: clients/paludis Version:
Keywords: * Cc:
Blocked By: Blocking:
Distribution:

Description

I agree with you when you say that it makes no sense to restore XTerm title on exit.

However I think it would be nice that Paludis would change it (not restore it!) according to its current status, not only when it is installing something.

For example, when it finishes, XTerm title could be changed into something like "Operation complete". If it fails, it could be changed in something like "Error - process interrupted" or something more appropriate.

This feature would be very useful to control Paludis' current status, especially when the terminal is minimized and/or placed in a different desktop (in this case you can easily check the status just using the pager).

Change History

comment:1 Changed 6 years ago by ciaranm

  • Priority changed from Sometime to IfSomeoneSendsAPatch

comment:2 Changed 6 years ago by s.wezel@…

You can make it easily with an hook.
I have made for me an simple hook which change the xtitle to "...finished" when it gets called:

#!/bin/bash
xtitle() { echo -ne "33]0;$107"; }
case "$TERM" in
    "xterm" | "rxvt-unicode")
        xtitle "...finished"
    ;;
esac
Note: See TracTickets for help on using tickets.