Keep gnome-terminal title while run MC
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
I've put a little bash script into my .bashrc
based on this post:
How to change Terminal Title in ubuntu 16.04
It works great, at morning I start some terminals, one is called System
other is for Development
, etc.. I am using gnome-terminal
. I am also using tint2
, so all my terminals are on the bottom taskbar.
It is great to flag my terminals to distinguish them. But when I run midnight commander, it overwrites my given titles. Titles will be: mc[username@machine-name]
When I close mc, the titles are ok (what I've set before).
Is it possible to force mc
somehow to not overwrite my original titles?
gnome-terminal midnight-commander
add a comment |Â
up vote
0
down vote
favorite
I've put a little bash script into my .bashrc
based on this post:
How to change Terminal Title in ubuntu 16.04
It works great, at morning I start some terminals, one is called System
other is for Development
, etc.. I am using gnome-terminal
. I am also using tint2
, so all my terminals are on the bottom taskbar.
It is great to flag my terminals to distinguish them. But when I run midnight commander, it overwrites my given titles. Titles will be: mc[username@machine-name]
When I close mc, the titles are ok (what I've set before).
Is it possible to force mc
somehow to not overwrite my original titles?
gnome-terminal midnight-commander
Is the original title re-written automatically after you exit frommc
? Or do you want help to fix it? (I don't know how fix the title, while mc is running.)
â sudodus
Mar 8 at 16:17
When I run terminal, title is:username@machine-name
. I runset-title xxx
so the title now isxxx
. Run mc, and title is:mc[username@machine-name]
. Exit mc, and title isxxx
. What I want is to keepxxx
while I do not close terminal.
â vaso123
Mar 8 at 16:21
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I've put a little bash script into my .bashrc
based on this post:
How to change Terminal Title in ubuntu 16.04
It works great, at morning I start some terminals, one is called System
other is for Development
, etc.. I am using gnome-terminal
. I am also using tint2
, so all my terminals are on the bottom taskbar.
It is great to flag my terminals to distinguish them. But when I run midnight commander, it overwrites my given titles. Titles will be: mc[username@machine-name]
When I close mc, the titles are ok (what I've set before).
Is it possible to force mc
somehow to not overwrite my original titles?
gnome-terminal midnight-commander
I've put a little bash script into my .bashrc
based on this post:
How to change Terminal Title in ubuntu 16.04
It works great, at morning I start some terminals, one is called System
other is for Development
, etc.. I am using gnome-terminal
. I am also using tint2
, so all my terminals are on the bottom taskbar.
It is great to flag my terminals to distinguish them. But when I run midnight commander, it overwrites my given titles. Titles will be: mc[username@machine-name]
When I close mc, the titles are ok (what I've set before).
Is it possible to force mc
somehow to not overwrite my original titles?
gnome-terminal midnight-commander
gnome-terminal midnight-commander
asked Mar 8 at 16:02
![](https://i.stack.imgur.com/CeorM.jpg?s=32&g=1)
![](https://i.stack.imgur.com/CeorM.jpg?s=32&g=1)
vaso123
11510
11510
Is the original title re-written automatically after you exit frommc
? Or do you want help to fix it? (I don't know how fix the title, while mc is running.)
â sudodus
Mar 8 at 16:17
When I run terminal, title is:username@machine-name
. I runset-title xxx
so the title now isxxx
. Run mc, and title is:mc[username@machine-name]
. Exit mc, and title isxxx
. What I want is to keepxxx
while I do not close terminal.
â vaso123
Mar 8 at 16:21
add a comment |Â
Is the original title re-written automatically after you exit frommc
? Or do you want help to fix it? (I don't know how fix the title, while mc is running.)
â sudodus
Mar 8 at 16:17
When I run terminal, title is:username@machine-name
. I runset-title xxx
so the title now isxxx
. Run mc, and title is:mc[username@machine-name]
. Exit mc, and title isxxx
. What I want is to keepxxx
while I do not close terminal.
â vaso123
Mar 8 at 16:21
Is the original title re-written automatically after you exit from
mc
? Or do you want help to fix it? (I don't know how fix the title, while mc is running.)â sudodus
Mar 8 at 16:17
Is the original title re-written automatically after you exit from
mc
? Or do you want help to fix it? (I don't know how fix the title, while mc is running.)â sudodus
Mar 8 at 16:17
When I run terminal, title is:
username@machine-name
. I run set-title xxx
so the title now is xxx
. Run mc, and title is: mc[username@machine-name]
. Exit mc, and title is xxx
. What I want is to keep xxx
while I do not close terminal.â vaso123
Mar 8 at 16:21
When I run terminal, title is:
username@machine-name
. I run set-title xxx
so the title now is xxx
. Run mc, and title is: mc[username@machine-name]
. Exit mc, and title is xxx
. What I want is to keep xxx
while I do not close terminal.â vaso123
Mar 8 at 16:21
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
In Midnight Commander, go to F9 -> Options -> Layout -> disable XTerm window title.
(And then Options -> Save setup, unless you have Auto save setup enabled.)
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
In Midnight Commander, go to F9 -> Options -> Layout -> disable XTerm window title.
(And then Options -> Save setup, unless you have Auto save setup enabled.)
add a comment |Â
up vote
2
down vote
accepted
In Midnight Commander, go to F9 -> Options -> Layout -> disable XTerm window title.
(And then Options -> Save setup, unless you have Auto save setup enabled.)
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
In Midnight Commander, go to F9 -> Options -> Layout -> disable XTerm window title.
(And then Options -> Save setup, unless you have Auto save setup enabled.)
In Midnight Commander, go to F9 -> Options -> Layout -> disable XTerm window title.
(And then Options -> Save setup, unless you have Auto save setup enabled.)
answered Mar 8 at 16:34
egmont
3,5691821
3,5691821
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1013135%2fkeep-gnome-terminal-title-while-run-mc%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Is the original title re-written automatically after you exit from
mc
? Or do you want help to fix it? (I don't know how fix the title, while mc is running.)â sudodus
Mar 8 at 16:17
When I run terminal, title is:
username@machine-name
. I runset-title xxx
so the title now isxxx
. Run mc, and title is:mc[username@machine-name]
. Exit mc, and title isxxx
. What I want is to keepxxx
while I do not close terminal.â vaso123
Mar 8 at 16:21