运行 Aptana Studio 3 时,Unity 启动器中的图标是带有问号的灰色方块。该图标位于 Dash 中。
AptanaStudio3.桌面:
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Aptana Studio 3
GenericName=Integrated Development Environment
Comment=Aptana Strudio 3 Integrated Development Environment
Exec=/opt/Aptana_Studio_3/AptanaStudio3 %F
TryExec=/opt/Aptana_Studio_3/AptanaStudio3
Icon=aptana.xpm
StartupNotify=true
StartupWMClass="Aptana Studio 3"
Terminal=false
Type=Application
MimeType=text/xml;application/xhtml+xml;application/x-javascript;application/x-php;application/x-java;text/x-javascript;text/html;text/plain
Categories=GNOME;Development;IDE;
答案1
用于sudo gnome-desktop-item-edit /usr/share/applications/ --create-new
创建启动器而不是手动创建一个启动器,并且有效。
您可能需要安装gnome 面板第一的:
sudo apt-get install gnome-panel
如果您想要安装 Desktop-item-edit 命令所需的最低要求,请使用以下命令:
sudo apt-get --no-install-recommends install gnome-panel