Ubuntu Android-studio Create right-hand Quick Start mode

Source: Internet
Author: User


The default in Ubuntu is the GNOME desktop, or you can set a shortcut for your program


Once the Androidstudio has been downloaded and the environment is well configured,

Echo $PATH
/home/yyb/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/ Yyb/tools/android/jdk1.7.0_71/bin:/home/yyb/tools/android/sdk/tools:/home/yyb/tools/android/sdk/platform-tools :/home/yyb/tools/android/android-studio/bin:/home/yyb/.gradle/wrapper/dists/gradle-2.1-all/ 27drb4udbjf4k88eh2ffdc0n55/gradle-2.1/bin


Under Terminal, enter studio.sh to start Androidstudio.

There is another way to start is to put in the left side of the shortcut bar to start, improve convenience, then how to set Which?


First look at the location of the studio installation

[Email protected]:~/work/opensource$ which studio.sh
/home/yyb/tools/android/android-studio/bin/studio.sh

Then Nautilus/home/yyb/tools/android/android-studio/bin, you can see the picture of Androidstudio.


Get ready for work, then, get to the point.

Ubuntu app Quick Start settings are all under the/usr/share/applications/path. Can see a lot of *.desktop

Let's build our studio

sudo vim/usr/share/applications/studio.desktop


[Desktop Entry]
Name = Studio
Comment= Android Studio
exec=/home/yyb/tools/android/android-studio/bin/studio.sh
Icon=/home/yyb/tools/android/android-studio/bin/idea.png
Terminal=false
Type=application


Explanation: Exec and Icon are the paths to the execution command, and the path to the image.


Note: There must be no space behind each line, otherwise it is invalid.


Comprehend by analogy, more than androidstudio. If we want other applications to be able to start on the left.     The same way. such as Wiznote Eclipse and so on.


Finally, there is a picture of the truth, the effect is as follows :

.


Reference: http://blog.csdn.net/wangjia55/article/details/9404403

Ubuntu Android-studio Create right-hand Quick Start mode

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.