Ubuntu under Codeblocks compiler change Debug terminal

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.