set tab color in a tabbed terminal emulator












3















I would like to set in my terminal emulator (i.e. gnome-terminal) the color of the tabs like in the osx's terminal emulator. Is there this feature in any of the linux terminal emulator plethora?



EDIT: below a picture to better explain the desired result.



enter image description here










share|improve this question
















bumped to the homepage by Community 18 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • You might get better results on superuser.com or apple.stackexchange.com

    – glenn jackman
    Feb 5 '14 at 13:49











  • What do you mean the color of the tabs? The tabs themselves? The window background? Could you post a screenshot of your desired result?

    – terdon
    Feb 5 '14 at 17:43











  • @terdon, the result would be like the one shown above

    – hairesis
    Feb 7 '14 at 11:04
















3















I would like to set in my terminal emulator (i.e. gnome-terminal) the color of the tabs like in the osx's terminal emulator. Is there this feature in any of the linux terminal emulator plethora?



EDIT: below a picture to better explain the desired result.



enter image description here










share|improve this question
















bumped to the homepage by Community 18 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • You might get better results on superuser.com or apple.stackexchange.com

    – glenn jackman
    Feb 5 '14 at 13:49











  • What do you mean the color of the tabs? The tabs themselves? The window background? Could you post a screenshot of your desired result?

    – terdon
    Feb 5 '14 at 17:43











  • @terdon, the result would be like the one shown above

    – hairesis
    Feb 7 '14 at 11:04














3












3








3


1






I would like to set in my terminal emulator (i.e. gnome-terminal) the color of the tabs like in the osx's terminal emulator. Is there this feature in any of the linux terminal emulator plethora?



EDIT: below a picture to better explain the desired result.



enter image description here










share|improve this question
















I would like to set in my terminal emulator (i.e. gnome-terminal) the color of the tabs like in the osx's terminal emulator. Is there this feature in any of the linux terminal emulator plethora?



EDIT: below a picture to better explain the desired result.



enter image description here







shell terminal colors gnome-terminal tabs






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 5 '14 at 20:33







hairesis

















asked Feb 5 '14 at 13:38









hairesishairesis

1163




1163





bumped to the homepage by Community 18 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 18 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • You might get better results on superuser.com or apple.stackexchange.com

    – glenn jackman
    Feb 5 '14 at 13:49











  • What do you mean the color of the tabs? The tabs themselves? The window background? Could you post a screenshot of your desired result?

    – terdon
    Feb 5 '14 at 17:43











  • @terdon, the result would be like the one shown above

    – hairesis
    Feb 7 '14 at 11:04



















  • You might get better results on superuser.com or apple.stackexchange.com

    – glenn jackman
    Feb 5 '14 at 13:49











  • What do you mean the color of the tabs? The tabs themselves? The window background? Could you post a screenshot of your desired result?

    – terdon
    Feb 5 '14 at 17:43











  • @terdon, the result would be like the one shown above

    – hairesis
    Feb 7 '14 at 11:04

















You might get better results on superuser.com or apple.stackexchange.com

– glenn jackman
Feb 5 '14 at 13:49





You might get better results on superuser.com or apple.stackexchange.com

– glenn jackman
Feb 5 '14 at 13:49













What do you mean the color of the tabs? The tabs themselves? The window background? Could you post a screenshot of your desired result?

– terdon
Feb 5 '14 at 17:43





What do you mean the color of the tabs? The tabs themselves? The window background? Could you post a screenshot of your desired result?

– terdon
Feb 5 '14 at 17:43













@terdon, the result would be like the one shown above

– hairesis
Feb 7 '14 at 11:04





@terdon, the result would be like the one shown above

– hairesis
Feb 7 '14 at 11:04










1 Answer
1






active

oldest

votes


















0














I don't know what OS/X's terminal emulator does with colour on tabs, but if using GNU screen in xterm, you could add something like:



hardstatus string '%D %d %M - %c - %h (%n)^G^11;TekHVC:%n10/80/20'


To your ~/.screenrc to have a different background colour in every screen window/tab/pane (however you want to call them).



screen displays the hard status in the xterm title bar by outputting something like:



e]2;blaha


Above we set blah to include ae]11;TekHVC:%n10/80/20 where %n is expanded to the window number so for the first window, it becomes:



e]2;...ae]11;TekHVC:010/80/20a


e]11;...a is the xterm escape sequence to set the background colour. It supports various colour specifications, those supported by XParseColor from the X libraries. The TekHVC:Hue/Value/Chroma one, where Hue takes values from 0 to 360 (and wraps) allows us to select a different colour for each window (10, 110, 210, 310, 410 (aka 50), 150, 250...)






share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    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',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f113663%2fset-tab-color-in-a-tabbed-terminal-emulator%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I don't know what OS/X's terminal emulator does with colour on tabs, but if using GNU screen in xterm, you could add something like:



    hardstatus string '%D %d %M - %c - %h (%n)^G^11;TekHVC:%n10/80/20'


    To your ~/.screenrc to have a different background colour in every screen window/tab/pane (however you want to call them).



    screen displays the hard status in the xterm title bar by outputting something like:



    e]2;blaha


    Above we set blah to include ae]11;TekHVC:%n10/80/20 where %n is expanded to the window number so for the first window, it becomes:



    e]2;...ae]11;TekHVC:010/80/20a


    e]11;...a is the xterm escape sequence to set the background colour. It supports various colour specifications, those supported by XParseColor from the X libraries. The TekHVC:Hue/Value/Chroma one, where Hue takes values from 0 to 360 (and wraps) allows us to select a different colour for each window (10, 110, 210, 310, 410 (aka 50), 150, 250...)






    share|improve this answer






























      0














      I don't know what OS/X's terminal emulator does with colour on tabs, but if using GNU screen in xterm, you could add something like:



      hardstatus string '%D %d %M - %c - %h (%n)^G^11;TekHVC:%n10/80/20'


      To your ~/.screenrc to have a different background colour in every screen window/tab/pane (however you want to call them).



      screen displays the hard status in the xterm title bar by outputting something like:



      e]2;blaha


      Above we set blah to include ae]11;TekHVC:%n10/80/20 where %n is expanded to the window number so for the first window, it becomes:



      e]2;...ae]11;TekHVC:010/80/20a


      e]11;...a is the xterm escape sequence to set the background colour. It supports various colour specifications, those supported by XParseColor from the X libraries. The TekHVC:Hue/Value/Chroma one, where Hue takes values from 0 to 360 (and wraps) allows us to select a different colour for each window (10, 110, 210, 310, 410 (aka 50), 150, 250...)






      share|improve this answer




























        0












        0








        0







        I don't know what OS/X's terminal emulator does with colour on tabs, but if using GNU screen in xterm, you could add something like:



        hardstatus string '%D %d %M - %c - %h (%n)^G^11;TekHVC:%n10/80/20'


        To your ~/.screenrc to have a different background colour in every screen window/tab/pane (however you want to call them).



        screen displays the hard status in the xterm title bar by outputting something like:



        e]2;blaha


        Above we set blah to include ae]11;TekHVC:%n10/80/20 where %n is expanded to the window number so for the first window, it becomes:



        e]2;...ae]11;TekHVC:010/80/20a


        e]11;...a is the xterm escape sequence to set the background colour. It supports various colour specifications, those supported by XParseColor from the X libraries. The TekHVC:Hue/Value/Chroma one, where Hue takes values from 0 to 360 (and wraps) allows us to select a different colour for each window (10, 110, 210, 310, 410 (aka 50), 150, 250...)






        share|improve this answer















        I don't know what OS/X's terminal emulator does with colour on tabs, but if using GNU screen in xterm, you could add something like:



        hardstatus string '%D %d %M - %c - %h (%n)^G^11;TekHVC:%n10/80/20'


        To your ~/.screenrc to have a different background colour in every screen window/tab/pane (however you want to call them).



        screen displays the hard status in the xterm title bar by outputting something like:



        e]2;blaha


        Above we set blah to include ae]11;TekHVC:%n10/80/20 where %n is expanded to the window number so for the first window, it becomes:



        e]2;...ae]11;TekHVC:010/80/20a


        e]11;...a is the xterm escape sequence to set the background colour. It supports various colour specifications, those supported by XParseColor from the X libraries. The TekHVC:Hue/Value/Chroma one, where Hue takes values from 0 to 360 (and wraps) allows us to select a different colour for each window (10, 110, 210, 310, 410 (aka 50), 150, 250...)







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Feb 5 '14 at 14:59

























        answered Feb 5 '14 at 14:49









        Stéphane ChazelasStéphane Chazelas

        307k57581937




        307k57581937






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f113663%2fset-tab-color-in-a-tabbed-terminal-emulator%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            CARDNET

            Boot-repair Failure: Unable to locate package grub-common:i386

            濃尾地震