Keep gnome-terminal title while run MC

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








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?










share|improve this question





















  • 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














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?










share|improve this question





















  • 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












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?










share|improve this question













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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 8 at 16:02









vaso123

11510




11510











  • 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
















  • 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















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










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.)






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    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






























    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.)






    share|improve this answer
























      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.)






      share|improve this answer






















        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.)






        share|improve this answer












        In Midnight Commander, go to F9 -> Options -> Layout -> disable XTerm window title.



        (And then Options -> Save setup, unless you have Auto save setup enabled.)







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 8 at 16:34









        egmont

        3,5691821




        3,5691821



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            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













































































            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491