我安装了ubuntu (11.04)。
我安装了phpstorm,它只是一个供您解压缩和插入/opt目录的归档文件。
要运行它,您可以使用/opt/PhpStorm-103.243/bin/PhpStorm.sh
为了团结一致,我在我的桌面上创建了一个发射器。
现在我安装了gnome-3(gnome-shell),
我的桌面上什么都没有。
那么我如何快速地运行phpstorm呢?我能让它出现在“应用程序”中吗?
发布于 2011-04-28 21:42:54
我算出来了:D
终端
gedit ~/.local/share/applications/<Your App Name>.desktop在这里,您应该编辑:
您可以在freedesktop.org文档中找到更多详细信息和更多密钥。
[Desktop Entry]
# Define which specification version this entry is using
Version=1.0
# The application name (eg. "Gnome Terminal", "Firefox")
Name=My Awesome App
# The generic app name (eg. "Terminal", "Web Browser")
GenericName=Awesome App
# The Tooltip
Comment=This app is awesome!
# The command you want to execute
Exec=/path/to/sh/file/file.sh
# Whether the app should run in a terminal window
Terminal=false
# The pretty picture :D
Icon=/opt/PhpStorm-103.243/bin/webide.png
# The type of the desktop entry (Application, Link, or Directory)
Type=Application
# Categoies the app should be in
Categories=Network;WebBrowser;
# Mime types this launcher can open
MimeType=text/html;
# Localized version of the above info
Name[en_NZ]=My Awesome App
GenericName[en_NZ]=Awesome App
Comment[en_NZ]=This app is awesome!保存文件。
现在,您的应用程序将显示在搜索:)
发布于 2012-02-29 10:03:52
PhpStorm现在有一个特性可以为您创建一个启动程序。它可在以下几个方面获得:
Tools -> Create Desktop Entry...
这将将PhpStorm添加到当前用户或所有用户的系统菜单中。创建的启动程序也与Gnome Shell兼容。

发布于 2011-11-12 06:31:13
Alacarte应用程序可以帮助您。你也可以在“主菜单”下找到它。使用软件中心或
sudo apt-get install alacarte只需选择一个文件夹(如果您有Gnome 3,除非使用一些菜单扩展),然后在右边的New Item上选择一个不太重要的文件夹。在这里,您可以给新的启动程序一个名称,并浏览到它的位置。您还可以通过单击徽标提供徽标。
https://askubuntu.com/questions/37401
复制相似问题