My path to ubuntu

Source: Internet
Author: User
Tags cairo

My ubuntu road nonsense: I made a ubuntu installation USB flash drive and ran it because I didn't want to spend time for partitioning, so select the entire hard disk (of course, the important information has been backed up before ). After countless attempts, I finally made some good use of it. Now I have contributed to the entire process. Basic configuration: first, after installing the system, click the gear in the upper-right corner, select Software Update, and click Settings. Click ubuntu software to modify and download the software source. PS: Because I am a student, I chose an edu. Cn address. It takes less than 1 minute to update it later! If you are not an CERNET user, we recommend that you use the primary service site, which may be slow. After the software source is ready, click check to start the update. After the download is complete, click Install update. After this step is completed, open the ubuntu software center and you need to install several necessary software: ubuntu one (this software should be installed after the upgrade, otherwise the installation will fail) ubuntu additional restricted programs (mp3 and flash are included here). The rest of the software manager will be installed as needed. I have installed almost all the recommended software. For the implementation of window special effects, you need to install something called compizConfig Device Manager. After this is installed, You can secretly adjust the special effects of your ubuntu interface. Build an android environment in ubuntu: The following describes how to build an android environment in ubuntu. Step 1: Download eclipse from the ubuntu Software Center and install it. After installation, you can write a helloworld. Step 2: Find the website for installing ADT on android developers, open eclipse, click help, and click install new plugin. Click "new" and copy the URL to remove "s" after "https. Then install it. Step 3: Install the sdk. This is no difficulty. I will not introduce it any more. FAQs about how to build an android environment in ubuntu: The following describes the problems you may encounter during the installation process: first, the adb/emulatoe permission issue eorr2. Cause: the permission is insufficient and the executable is missing. Solution: chmod 777-R your sdk path is a bit too, but it is useful. However, some dual systems say they cannot change their permissions in any way. It seems that they put the sdk In the ntfs partition. Second, there is no problem with adb/emulator eorr13. Cause: 64-bit systems are not compatible with all 32-bit android sdks. Solution: Download the little thing getlibs. Then on the terminal, go to the platform-tools directory and run the command: getlibs aapt to download the update of about 75 mb. Then the problem is solved. Third: Create a new project and you will find that the R file of the project cannot be created. Cause: the sdk seems to only support jre5 or 6, but I have installed JDK 7. I will not repeat the process between jre6 and jre5. But some do not. Binfile. Next, we will introduce the following: First, you need to confirm that you have operation permissions, and then you can achieve the goal on the terminal: sudo./XXXX. bin. Then copy the file obtained in the previous step to the main folder. In this way, the android environment has been set up. Let's talk about the real machine problem later. Ubuntu energy saving and heat reduction: How can we reduce the temperature and energy consumption of ubuntu when summer is over? The first step is to use a tin card for a N-card notebook to achieve dual-Card Switching. The procedure is as follows :. delete bumblebee, or the old ironhide, nvidia drivers, acpi call: Code: sudo apt-get remove nvidia-current nvidia-settings acpi-call-dkms code: sudo apt-get autoremove code: rm/usr/local/bin/bumblebee * code: rm/usr/local/bin/ironhide * restart .. 2. install the necessary program: Code: sudo apt-get install nvidia-current nvidia-settings acpi-call-dkms restart .. 3. add Iornhide PPA and install IronHide code: sudo add-apt-repository ppa: mj-casalogic/ironhide code: sudo apt-get update code: sudo apt-get install ironhide4. some settings, similar to bumblebee, my Y460N, I chose the UFO, but his system is 11.40, I do not know if there is a problem in 11.10, display DFP-0, picture output default .. You can see the Rear gear .. OK .. Have fun .. End of course, if you want to reset, you can enter the code in the terminal: ironhide-configuration5. if you have any questions, repeat the preceding steps and enter the code: sudo apt-get purge ironhide code: sudo apt-get install ironhide6. for more settings, see nvidia-settings: code: step 2: Use cpufreq to adjust ironhide-settings to the powersave mode. The procedure is as follows: first install sudo apt-get install cpufrequtils this software can be used to view the cpu running mode and the current frequency of running cpufreq-info. What we need to do is to adjust the cpu mode and use suod cpufreq-set-g 《 mode powersave, in any case, only the so-called "power-saving" mode with the lowest frequency will be maintained; userspace is the mode of custom frequency, which is automatically changed when you set a specific frequency; ondemand, default mode. A task with a cpu computing workload immediately runs at the maximum frequency, and immediately returns to the minimum frequency after execution. conservative is translated into a conservative (moderate) model, it will automatically adjust the upper and lower frequency limits. The difference with ondemand is that it will distribute the frequency as needed, rather than blindly pursuing the highest frequency. performance, as its name suggests, only focuses on efficiency and keeps running at the maximum frequency. If you select a custom mode, you can use sudo cpufreq-set-f to pay attention to the frequency you need. The frequency here must be single-bit with KHz, and the frequency that can be reached (that is, the various frequencies viewed with cpufreq-info), cpu frequency = frequency x frequency. This applies to all the following frequencies. Under automatic adjustment, you can also set the upper limit and lower limit of sudo cpufreq-set-d frequency lower limit of sudo cpufreq-set-u frequency upper limit ubuntu Decoration: customize our own ubuntu: first, there is a starter named Cairo-Dock which is used to simulate the shortcut start bar at the bottom of Mac. Installation Steps: add the official PPA: sudo add-apt-repository ppa: cairo-dock-team/ppa for Software Updates: install sudo apt-get update: Run sudo apt-get install cairo-dock-plug-ins to see the effect, but you will find that you also have a starter on the left. How can you remove the shortcut bar on the left? You can enable system settings, appearance, and behavior, and select Auto Hide. If you want to permanently remove the left-side shortcut bar, you can set the sensitivity to the lowest possible value. I'm a cainiao. I make mistakes. I'm happy! To be continue...

Related Article

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.