5
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Ubuntuのアプリケーション一覧やLauncherにAndroid Studioを登録

Posted at

UbuntuでAndroid Studioを起動する際、コマンドでstudio.shを起動する必要があります。
毎回コマンドを打つのも面倒なので、アプリケーション一覧やLauncherへの登録方法をメモ。

desktopファイルを作成

/usr/share/applications/
内にandroid-studio.desktopファイルを作成。

$ sudo gedit /usr/share/applications/android-studio.desktop

上記コマンドでandroid-studio.desktop作成しエディターで表示します。
エディターで下記内容を追加します。

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Android Studio
Icon=/home/user name/directory name/android-studio/bin/studio.png
Path=/home/user name/directory name/android-studio/bin
Exec=/home/user name/directory name/android-studio/bin/studio.sh

これでインストール済みアプリ一覧に表示されるので起動できます。
起動後Launcherへの登録でLauncherに登録可能です。

5
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?