2015年12月2日水曜日

UbuntuのLauncherにアプリを追加する方法

eclipseなどをインストールした際に、Launcherに追加する方法です。

1. Desktop entry fileを作成する

~/.local/share/applications/eclipse.desktop
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=eclipse luna
Icon=/home/sample/bin/eclipse-jee-luna-SR2-linux-gtk-x86_64/icon.xpm
Path=/home/sample/bin/eclipse-jee-luna-SR2-linux-gtk-x86_64
Exec=/home/sample/bin/eclipse-jee-luna-SR2-linux-gtk-x86_64/eclipse
Actions=Clean

[Desktop Action Clean]
Name=Clean
Exec=/home/sample/bin/eclipse-jee-luna-SR2-linux-gtk-x86_64/eclipse -clean
※パスは適切に変更して下さい。

2. Launcherに追加する

「search your computer and online sources」からeclipseを検索し、Launcherにドラックする。

0 件のコメント:

コメントを投稿