私はUbuntu12.04の新規ユーザーです。
私は自分のものを読み、コードをコピー/貼り付けして、SecondLifeクライアントにサイドバーにショートカットを持たせようとしています。以前にこれを実行しました…ハードドライブにフォーマットを実行しましたが、すべてが失われました。詳細は次のとおりです。
ファイル名=PhoenixViewer.desktop
ファイル内のコード:
[Desktop Entry]
Version=1.0
Type=Application
Name=PhoenixViewer
Exec=/opt/PhoenixViewer/snowglobe
Comment=PhoenixViewer
Categories=Games;
Terminal=false
Icon=//eadn-wc01-5196795.nxedge.io/opt/PhoenixViewer/phoenix_icon.png
StartupNotify=true
StartupWMClass=snowglobe-do-not-run-directly
私のダッシュでは、ファイルをデスクトップ要素として見ることさえできません。それはPhoenixViewer.desktopとしてリストされ、コードでリストしたものとは別のアイコンがあります。
パスは正しいです。
/usr/share/applications/
のnautilusから実行すると エラーが発生しました:
アプリケーションの起動中にエラーが発生しました。
デスクトップに.desktopファイルをコピーして貼り付けて実行した場合も同様です。
誰でも助けることができますか?
承認された回答:
これは機能します。
[Desktop Entry] Version=1.0 Type=Application Name=Phoenix Viewer Comment=Second Life Client Exec=/opt/PhoenixViewer/snowglobe Icon=//eadn-wc01-5196795.nxedge.io/opt/PhoenixViewer/phoenix_icon.png Terminal=false StartupNotify=true StartupWMClass=snowglobe-do-not-run-directly Categories=Game