ドック上の.desktopファイルがunity / androidstudioの別のインスタンスで開きます

Jul 02 2020

これは私がユニティ/アンドロイドスタジオを開こうとすると起こることです

/ usr / share / applicationsに2つのデスクトップファイルを作成しました

これはunity.desktopファイルです

[Desktop Entry]
Name=Unity
Exec=/home/toor/Downloads/unity/UnityHub.AppImage
Icon=/usr/share/icons/unity.jpg
Terminal=false
Type=Application
StartupNotify=true
MimeType=text/plain;
Categories=Development;Application;
Keywords=Unity;Games;

とアンドロイドスタジオ

[Desktop Entry]
Name=Android Studio
Exec=studio.sh
Icon=/home/toor/Downloads/android-studio/bin/studio.svg
Terminal=false
Type=Application
StartupNotify=true
MimeType=text/plain;
Categories=Development;Application;
Keywords=Android Studio;Flutter;Apps;

別のインスタンスではなく同じインスタンスで開くために追加する必要がある追加の行は何ですか。

回答

1 sonuishaq Jul 05 2020 at 16:53

AndroidStudioの回答

そのための手動デスクトップファイルを作成する代わりに、

Android Studio -> Tools -> Create Desktop Entry

ユニティハブの場合はAppImageです

appImagedをappimagesに使用できます