How to change the console of Code::Block in Ubuntu 18.04How do I change rxvt colors to white on black?How to...
What is the wife of a henpecked husband called?
Converting very wide logos to square formats
Is there a way to not have to poll the UART of an AVR?
Stuck on a Geometry Puzzle
Translation needed for 130 years old church document
How do you funnel food off a cutting board?
Custom shape shows unwanted extra line
What to do with threats of blacklisting?
Square Root Distance from Integers
Does it take energy to move something in a circle?
"Starve to death" Vs. "Starve to the point of death"
Which scales have a major chord built on second note? Which scales have a minor chord built on the seventh note?
Equivalent of "illegal" for violating civil law
Broad Strokes - missing letter riddle
Memory usage: #define vs. static const for uint8_t
Critique vs nitpicking
I have trouble understanding this fallacy: "If A, then B. Therefore if not-B, then not-A."
What senses are available to a corpse subjected to a Speak with Dead spell?
Eww, those bytes are gross
If angels and devils are the same species, why would their mortal offspring appear physically different?
What language shall they sing in?
When obtaining gender reassignment/plastic surgery overseas, is an emergency travel document required to return home?
Does an Eldritch Knight's Weapon Bond protect him from losing his weapon to a Telekinesis spell?
Am I correct in stating that the study of topology is purely theoretical?
How to change the console of Code::Block in Ubuntu 18.04
How do I change rxvt colors to white on black?How to add the ncurses.h to a C++ program compiled on gcc?How do I compile/run C++ code in the console?how to change directory to a local drive ..in terminal?how to add graphics.h to code blocks in ubuntu ?Removing changes made to geanyHow to use C++ 11 features in the latest version of g++how to code in ubuntu?g++-5.real: error: unrecognized command line option ‘-pthread-lQtGui’Which code::block version supports building Dynamic Link LibrariesHow to run a personal C++ code without ./ statement
I'm a newbie in Ubuntu.
And I want to change the fonts, size, color of console of CB. Please help me!

c++
New contributor
Manh Hai is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I'm a newbie in Ubuntu.
And I want to change the fonts, size, color of console of CB. Please help me!

c++
New contributor
Manh Hai is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I'm a newbie in Ubuntu.
And I want to change the fonts, size, color of console of CB. Please help me!

c++
New contributor
Manh Hai is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I'm a newbie in Ubuntu.
And I want to change the fonts, size, color of console of CB. Please help me!

c++
c++
New contributor
Manh Hai is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Manh Hai is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 2 hours ago
PRATAP
2,8332728
2,8332728
New contributor
Manh Hai is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 2 hours ago
Manh HaiManh Hai
1
1
New contributor
Manh Hai is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Manh Hai is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Manh Hai is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
This answer is based on this answer that I wrote.
I recommend that you use any of the xterm terminal types. Probably the best one to use is rxvt-unicode
sudo apt install rxvt-unicode
Then in CodeBlocks go to Settings -> Environment... then in the Terminal to launch console programs add the following:
urxvt -T $TITLE -e

Now, to change the colors and the fonts add like the following to your ~/.Xdefaults file at the bottom:
URxvt*background: black
URxvt*foreground: white
Then one of the fonts that I kind of like is a monospace font and you can add it like the following below the above 2 lines:
URxvt*font: xft:Monospace:size=9:antialias=true
Save the .Xdefaults file and now you should get something looking like this:

If you want to play around with different fonts that you can run from a terminal window:
fc-list | sort
And it should give you a list of available fonts. Probably best to stick with any of the Mono type fonts.
Hope this helps!
add a comment |
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',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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
});
}
});
Manh Hai is a new contributor. Be nice, and check out our Code of Conduct.
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%2faskubuntu.com%2fquestions%2f1121297%2fhow-to-change-the-console-of-codeblock-in-ubuntu-18-04%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
This answer is based on this answer that I wrote.
I recommend that you use any of the xterm terminal types. Probably the best one to use is rxvt-unicode
sudo apt install rxvt-unicode
Then in CodeBlocks go to Settings -> Environment... then in the Terminal to launch console programs add the following:
urxvt -T $TITLE -e

Now, to change the colors and the fonts add like the following to your ~/.Xdefaults file at the bottom:
URxvt*background: black
URxvt*foreground: white
Then one of the fonts that I kind of like is a monospace font and you can add it like the following below the above 2 lines:
URxvt*font: xft:Monospace:size=9:antialias=true
Save the .Xdefaults file and now you should get something looking like this:

If you want to play around with different fonts that you can run from a terminal window:
fc-list | sort
And it should give you a list of available fonts. Probably best to stick with any of the Mono type fonts.
Hope this helps!
add a comment |
This answer is based on this answer that I wrote.
I recommend that you use any of the xterm terminal types. Probably the best one to use is rxvt-unicode
sudo apt install rxvt-unicode
Then in CodeBlocks go to Settings -> Environment... then in the Terminal to launch console programs add the following:
urxvt -T $TITLE -e

Now, to change the colors and the fonts add like the following to your ~/.Xdefaults file at the bottom:
URxvt*background: black
URxvt*foreground: white
Then one of the fonts that I kind of like is a monospace font and you can add it like the following below the above 2 lines:
URxvt*font: xft:Monospace:size=9:antialias=true
Save the .Xdefaults file and now you should get something looking like this:

If you want to play around with different fonts that you can run from a terminal window:
fc-list | sort
And it should give you a list of available fonts. Probably best to stick with any of the Mono type fonts.
Hope this helps!
add a comment |
This answer is based on this answer that I wrote.
I recommend that you use any of the xterm terminal types. Probably the best one to use is rxvt-unicode
sudo apt install rxvt-unicode
Then in CodeBlocks go to Settings -> Environment... then in the Terminal to launch console programs add the following:
urxvt -T $TITLE -e

Now, to change the colors and the fonts add like the following to your ~/.Xdefaults file at the bottom:
URxvt*background: black
URxvt*foreground: white
Then one of the fonts that I kind of like is a monospace font and you can add it like the following below the above 2 lines:
URxvt*font: xft:Monospace:size=9:antialias=true
Save the .Xdefaults file and now you should get something looking like this:

If you want to play around with different fonts that you can run from a terminal window:
fc-list | sort
And it should give you a list of available fonts. Probably best to stick with any of the Mono type fonts.
Hope this helps!
This answer is based on this answer that I wrote.
I recommend that you use any of the xterm terminal types. Probably the best one to use is rxvt-unicode
sudo apt install rxvt-unicode
Then in CodeBlocks go to Settings -> Environment... then in the Terminal to launch console programs add the following:
urxvt -T $TITLE -e

Now, to change the colors and the fonts add like the following to your ~/.Xdefaults file at the bottom:
URxvt*background: black
URxvt*foreground: white
Then one of the fonts that I kind of like is a monospace font and you can add it like the following below the above 2 lines:
URxvt*font: xft:Monospace:size=9:antialias=true
Save the .Xdefaults file and now you should get something looking like this:

If you want to play around with different fonts that you can run from a terminal window:
fc-list | sort
And it should give you a list of available fonts. Probably best to stick with any of the Mono type fonts.
Hope this helps!
edited 1 hour ago
answered 2 hours ago
TerranceTerrance
19.7k34797
19.7k34797
add a comment |
add a comment |
Manh Hai is a new contributor. Be nice, and check out our Code of Conduct.
Manh Hai is a new contributor. Be nice, and check out our Code of Conduct.
Manh Hai is a new contributor. Be nice, and check out our Code of Conduct.
Manh Hai is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- 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%2faskubuntu.com%2fquestions%2f1121297%2fhow-to-change-the-console-of-codeblock-in-ubuntu-18-04%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