0
0

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 3 years have passed since last update.

【OS】/Linux/デスクトップエントリ

Last updated at Posted at 2021-06-15

簡易説明

コマンドからでなく、アイコンでアプリを呼び出したいときに使えます。
linuxでgnomeを使っており、ランチャーから起動させる手法
※centOS7 ubuntu Desktopで確認済み

ディレクトリパスは/usr/share/applications
保存する場合は、拡張子を.desktopにします。

フィールド 説明
Name アプリの名前です。
Version
Type
Icon アイコンのパスを指定します。
Exec 実行ファイルを指定します。
Terminal true/falseでアプリ起動時にターミナルを出すかどうか指定します。

pycharm

python用 エディタ

2021.1.1版の場合
[Desktop Entry]
Name=Pycharm
Version=2021.1.1
Type=Application
Icon=/home/<ユーザー名>/pycharm-community-2021.1.1/bin/pycharm.png
Exec="/home/<ユーザー名>/pycharm-community-2021.1.1/bin/pycharm.sh"
Comment=pycharm!
Categories=Developmet;IDE;TextEditor;
Terminal=false
StartupWMClass=jetbrains-pycharm-ce

メモ
実行場所は、bin/pycharm.shを指定する

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?