Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,785,005 Members 47,045 Now Online
XDA Developers Android and Mobile Development Forum

[TIP] Create Android Studio launcher in Ubuntu Unity

Tip us?
 
mihahn
Old
(Last edited by mihahn; 15th January 2014 at 09:20 PM.)
#1  
mihahn's Avatar
Recognized Contributor - OP
Thanks Meter 2,171
Posts: 3,209
Join Date: May 2012
Default [TIP] Create Android Studio launcher in Ubuntu Unity

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:	1620
Size:	49.1 KB
ID:	2518234   Click image for larger version

Name:	icon.png
Views:	1645
Size:	138.2 KB
ID:	2518239  


Devices/Links/Information:
 

Device:Google Nexus 4 8gb
ROM:Stock Android 4.4.2 [KOT49H]

Device:Google Nexus 7 32gb
ROM:Stock Android 4.4.2 [KRT16O]

Device:Xperia Mini Pro SK17i
ROM: Super Jelly Bean 8.0
Kernel:nAa 2.6 [CWM]

Device:Raspberry Pi Model B
OS: Arch Linux

For a Rooting Guide for xperia 2011 devices, click me! | To unlock the Bootloader, click me! | How to install a custom kernel/rom? Click me | Super Jelly Bean 8.0 for xperia mdpi
The Following 3 Users Say Thank You to mihahn For This Useful Post: [ Click to Expand ]
 
eBoody
Old
#2  
eBoody's Avatar
Senior Member
Thanks Meter 145
Posts: 203
Join Date: Dec 2012
Location: Los Angeles
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes