Recently with Ubuntu under the Codeblocks Knock Code, found that the debug terminal pop-up black box can not be copied and paste operation ~, try all kinds of methods no matter how embarrassing ~ ~
Finally Baidu a bit, sure enough to find the answer:
Reproduced from the network:
Codeblocks under Ubuntu looks like a little bit more upscale than Windows.
After the establishment of the console program generated, found that the debug terminal xterm can not be copied paste operation (anyway I did not get out, do not know if there is no other way), found on the internet to find a way to replace the debug terminal, is to put Ubuntu under the gnome-terminal Used as a debug terminal, modified on the line.
Here's how:
To change the Debug terminal: use gnome-terminal as the debug terminal.
As long as setting==>environment...==>general setting==>terminal to Lanuch console programs:
Replace "Xterm-t $TITLE-E" with "gnome-terminal-t $TITLE-x" and it's done .
What's the meaning of this horse?? ~~orz~~
--------------------------------------------------------------------------------------------------------------
The consequence of this is that the Codeblocks debug terminal is not the original Black DOS box, and become the same as the command terminal effect, look good, but the implementation of the copy-and-paste function actually does not matter:
There are 2 ways to achieve terminal copy and paste under Ubuntu:
A: Directly with the left mouse button to select, to paste the place Click the middle mouse button is OK;
Two: With the left mouse button selected, press ctrl+shift+c copy, press ctrl+shift+v copy paste, and Windows is a little different.
Yes ~ ~ Problem solving,
After the terminal is this:
Can press F11 to adjust the size;
Ubuntu under Codeblocks compiler change Debug terminal