Post Reply

[TIP] Create Android Studio launcher in Ubuntu Unity

OP mihahn

15th January 2014, 09:07 PM   |  #1  
mihahn's Avatar
OP Recognized Contributor
Thanks Meter: 2,187
 
3,228 posts
Join Date:Joined: May 2012
More
Hey guys,

I just wanted to share a little tip with all of you, who want to add a little launcher icon to your unity launcher. It's very fast and works perfectly for me. Just try it




1. Open any editor you like (I use SciTE)


2. Copy this text into your editor

Code:
[Desktop Entry]
Name=Android Studio
Comment=Android Studio
Type=Application
Categories=Development;
Exec=/home/{yourusername}/path/to/android-studio/bin/studio.sh
Terminal=false
StartupNotify=true
Icon=/home/{yourusername}/path/to/android-studio/icon.png
Don't forget to change {yourusername} to your acutal user name and path/to/android-studio to the path of the android studio on your pc


3. Save it to .local/share/applications/ (to show .local press CTRL+h) named "androidstudio.desktop"


4. Download this icon and paste it in android-studio/ (you may of course use any other icon you like too!)

5. Open your file explorer and press CTRL+h to show hidden files. Navigate to .local/share/applications/ and take the androidstudio.desktop and drop it in your unity launcher.


6. Click on the icon and start Android Studio




I hope this is useful for you
Attached Thumbnails
Click image for larger version

Name:	screenshot1.jpg
Views:	2017
Size:	49.1 KB
ID:	2518234   Click image for larger version

Name:	icon.png
Views:	2049
Size:	138.2 KB
ID:	2518239  
Last edited by mihahn; 15th January 2014 at 09:20 PM.
The Following 3 Users Say Thank You to mihahn For This Useful Post: [ View ]
25th January 2014, 10:17 PM   |  #2  
eBoody's Avatar
Senior Member
Flag Los Angeles
Thanks Meter: 168
 
212 posts
Join Date:Joined: Dec 2012
More
Alternately, at the beginning screen where it says "new project, import project, configuration...." you could go to configuration/settings (whatever its called) and select "create launcher" i think its much faster than having to make desktop files and blah blah blah
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in IDEs, Libraries, & Programming Tools by ThreadRank