set tab color in a tabbed terminal emulator
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.
shell terminal colors gnome-terminal tabs
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.
add a comment |
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.
shell terminal colors gnome-terminal tabs
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
add a comment |
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.
shell terminal colors gnome-terminal tabs
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.
shell terminal colors gnome-terminal tabs
shell terminal colors gnome-terminal tabs
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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...)
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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...)
add a comment |
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...)
add a comment |
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...)
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...)
edited Feb 5 '14 at 14:59
answered Feb 5 '14 at 14:49
Stéphane ChazelasStéphane Chazelas
307k57581937
307k57581937
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
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
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
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