Ubuntu under Default SH script double-click Run

Source: Internet
Author: User
Tags log log

CTRL-ALT-T Exhale the console.

Enter Dconf-editor, without sudo, as the current user configuration.


(now Ubuntu 14.04 Package Library has been provided dconf-editor, if not available apt-get install Dconf-editor command to obtain)


Come out a window and find this key value path

Org.gnome.nautilus.preferences, has executable-text-activation
This key value, by default, is display, which is the default text editor.
Change to ask.

If you want to change back to point to the lower right, set to default, reply default, the default is display.

Effective immediately after the change.

Then you open an executable sh script is not to display a text editor, but instead asked you 4 Choose 1.

Run in terminal, and normal input sh xxxxx in console. The SH script name works the same. Run the script from the console.

Display, edit the text.

Cancel, the wrong point. I don't open the text.

Run, does not display the console log log information and runs the script in the background.

Some game programs, if the test is not a big problem, and too many logs, resulting in slow game performance, you can choose that fourth. Run the script in the background. It is enough to see a game window on your front desk.

Good. Done.

(The test was successful under Ubuntu14.04!) )

Ubuntu under Default SH script double-click Run

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.