Re: Changing Konsole titlebar / tabs [SOLVED]

From: Gustavo Seabra (gustavo.seabra_at_gmail.com)
Date: 04/08/05

  • Next message: Kimmo Koivisto: "Re: Setting a proxy for YUM in a crontab"
    Date: Fri, 8 Apr 2005 14:41:32 -0500
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    On Apr 8, 2005 1:04 PM, Alexander Dalloz <ad+lists@uni-x.org> wrote:
    > Am Fr, den 08.04.2005 schrieb Gustavo Seabra um 15:34:
    >
    > > Does anybody know how to change the text on KDE Konsole titlebar (or
    > > the tabs, when multiple shells are open in the same window) to reflect
    > > something like:
    > > user@host::working_directory
    > > and automatically update it if this information changes? I'm using
    > > tcsh, it it makes any difference.
    >
    > Yes, it matters that you are no bash but tcsh user. Following site holds
    > the information what you need to set:
    >
    > http://www.tldp.org/HOWTO/Xterm-Title-4.html#ss4.2
    >
    > Alexander
    >

    This page had all the instructins I needed, thanks!

    If someone is interested, this is what I added to my .cshrc file:
    #
    # sets x-term titlebar
    #
    set HOSTNAME=`hostname -s`
    switch ($TERM)
        case "xterm*":
            alias precmd 'echo -n "\033]0;$cwd\007"; echo
    "\033]30;${HOSTNAME}\007\c"'
            breaksw
    endsw

    (The second 'echo' sets the shell name, which appear in the little tab.)

    Thanks a lot guys!

    -- 
    ------------------------------------------------------------------
    Gustavo Seabra                 Graduate Student
    Chemistry Dept.         Kansas State University
    Registered Linux user number 381680
    ------------------------------------------------------------------
    If at first you don't succeed...
                                  ...skydiving is not for you.
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Kimmo Koivisto: "Re: Setting a proxy for YUM in a crontab"

    Relevant Pages

    • Changing Konsole titlebar / tabs
      ... Does anybody know how to change the text on KDE Konsole titlebar (or ... the tabs, when multiple shells are open in the same window) to reflect ...
      (Fedora)
    • Re: Changing Konsole titlebar / tabs
      ... when multiple shells are open in the same window) to reflect ... > and automatically update it if this information changes? ... it matters that you are no bash but tcsh user. ...
      (Fedora)
    • Re: Changing Konsole titlebar / tabs {Scanned}
      ... when multiple shells are open in the same window) to reflect ... >> and automatically update it if this information changes? ...
      (Fedora)