Suggested by the sudo discussion.
When I open a new XFCE terminal, the window title is "terminal".
If I ssh to another computer via ssh mooch, the title changes to "sdstern@mooch:~" Typing "exit" to return to my desktop does not affect the window title.
Starting clean, "ssh -p 12345 linode.sterndata.com" does NOT change the window title.
Anyone know what's going on with XFCE Terminal?
Also, this is exactly the same thing I see if I use gnome-terminal instead, so this is probably a Works-As-Designed. Help me understand the design!
On Wed, 12 Jun 2013 12:52:09 -0500 Steven Stern subscribed-lists@sterndata.com wrote:
Suggested by the sudo discussion.
When I open a new XFCE terminal, the window title is "terminal".
If I ssh to another computer via ssh mooch, the title changes to "sdstern@mooch:~" Typing "exit" to return to my desktop does not affect the window title.
Starting clean, "ssh -p 12345 linode.sterndata.com" does NOT change the window title.
Anyone know what's going on with XFCE Terminal?
Also, this is exactly the same thing I see if I use gnome-terminal instead, so this is probably a Works-As-Designed. Help me understand the design!
Right click on the terminal and bring up preferences.
What do you have the "Dynamically-set title" option set to?
kevin
On 06/12/2013 01:10 PM, Kevin Fenzi wrote:
On Wed, 12 Jun 2013 12:52:09 -0500 Steven Stern subscribed-lists@sterndata.com wrote:
Suggested by the sudo discussion.
When I open a new XFCE terminal, the window title is "terminal".
If I ssh to another computer via ssh mooch, the title changes to "sdstern@mooch:~" Typing "exit" to return to my desktop does not affect the window title.
Starting clean, "ssh -p 12345 linode.sterndata.com" does NOT change the window title.
Anyone know what's going on with XFCE Terminal?
Also, this is exactly the same thing I see if I use gnome-terminal instead, so this is probably a Works-As-Designed. Help me understand the design!
Right click on the terminal and bring up preferences.
What do you have the "Dynamically-set title" option set to?
It's set to "replaces initial title"
On 12.06.2013 20:12, Steven Stern wrote:
On 06/12/2013 01:10 PM, Kevin Fenzi wrote:
On Wed, 12 Jun 2013 12:52:09 -0500 Steven Stern subscribed-lists@sterndata.com wrote:
Suggested by the sudo discussion.
When I open a new XFCE terminal, the window title is "terminal".
If I ssh to another computer via ssh mooch, the title changes to "sdstern@mooch:~" Typing "exit" to return to my desktop does not affect the window title.
Starting clean, "ssh -p 12345 linode.sterndata.com" does NOT change the window title.
Anyone know what's going on with XFCE Terminal?
Also, this is exactly the same thing I see if I use gnome-terminal instead, so this is probably a Works-As-Designed. Help me understand the design!
Right click on the terminal and bring up preferences.
What do you have the "Dynamically-set title" option set to?
It's set to "replaces initial title"
/etc/profile.d/autojump.*sh ?
poma
On Wed, 12 Jun 2013 13:12:28 -0500 Steven Stern subscribed-lists@sterndata.com wrote:
On 06/12/2013 01:10 PM, Kevin Fenzi wrote:
On Wed, 12 Jun 2013 12:52:09 -0500 Steven Stern subscribed-lists@sterndata.com wrote:
Suggested by the sudo discussion.
When I open a new XFCE terminal, the window title is "terminal".
If I ssh to another computer via ssh mooch, the title changes to "sdstern@mooch:~" Typing "exit" to return to my desktop does not affect the window title.
Starting clean, "ssh -p 12345 linode.sterndata.com" does NOT change the window title.
Anyone know what's going on with XFCE Terminal?
Also, this is exactly the same thing I see if I use gnome-terminal instead, so this is probably a Works-As-Designed. Help me understand the design!
Right click on the terminal and bring up preferences.
What do you have the "Dynamically-set title" option set to?
It's set to "replaces initial title"
Great.
Then the issue is likely your shell config... bash by default.
However, I thought bash was setup to update title by default. It seems to here.
Have you modified any of your bash files? ~/.bashrc, etc?
kevin
On 06/13/2013 12:00 PM, Kevin Fenzi wrote:
On Wed, 12 Jun 2013 13:12:28 -0500 Steven Stern subscribed-lists@sterndata.com wrote:
On 06/12/2013 01:10 PM, Kevin Fenzi wrote:
On Wed, 12 Jun 2013 12:52:09 -0500 Steven Stern subscribed-lists@sterndata.com wrote:
Suggested by the sudo discussion.
When I open a new XFCE terminal, the window title is "terminal".
If I ssh to another computer via ssh mooch, the title changes to "sdstern@mooch:~" Typing "exit" to return to my desktop does not affect the window title.
Starting clean, "ssh -p 12345 linode.sterndata.com" does NOT change the window title.
Anyone know what's going on with XFCE Terminal?
Also, this is exactly the same thing I see if I use gnome-terminal instead, so this is probably a Works-As-Designed. Help me understand the design!
Right click on the terminal and bring up preferences.
What do you have the "Dynamically-set title" option set to?
It's set to "replaces initial title"
Great.
Then the issue is likely your shell config... bash by default.
However, I thought bash was setup to update title by default. It seems to here.
Have you modified any of your bash files? ~/.bashrc, etc?
cat .bashrc # .bashrc
# Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi
# User specific aliases and functions alias mooch='ssh -YC mooch' alias breadboard='ssh -l xxx -p xxx xxxt.com' alias cms='ssh -l xxx -p xxx xxx.com' alias linode='ssh -p xxx linode.sterndata.com'
$ cat .bash_profile # .bash_profile
# Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
On Thu, Jun 13, 2013 at 12:30:41PM -0500, Steven Stern wrote:
cat .bashrc
[...chomp...chomp...chomp...]
$ cat .bash_profile
[...chomp...chomp...chomp...]
These seem oaky to me.
You need to customise your PS1 variable to get dynamically updated titles. For Bash, the window title has to be enclosed in \e]2;...\a. Since these are non-printable, to ensure proper wrapping of your command line for long lines, it is advisable to wrap the sequence in [...]. e.g. in my PS1, I have this snippet: [\e]2;\u@\H:\w\a]. This sets the title to "user@host:working_dir".
Hope this helps,