在桌面文件夹下创建空白文件***点desktop,过后将下面代码贴上
#!/usr/bin/env xdg-open
[Desktop Entry]
Name=Intellij IDEA
Name[zh_CN]=Intellij IDEA
TryExec=nautilus-autorun-software
Exec=/opt/devtools/idea/bin/idea.sh //请换成自己的idea的安装路径
Icon=/opt/devtools/idea/bin/idea.png //同上
NoDisplay=true
Terminal=false
StartupNotify=true
Type=Application
MimeType=x-content/unix-software;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=nautilus
X-GNOME-Bugzilla-Component=general
X-GNOME-Bugzilla-Version=3.8.2
X-Desktop-File-Install-Version=0.21
OnlyShowIn=GNOME;
//我自己测试好用,有些我也搞不懂,请指正。
另一中方法 :比较简单 推荐使用 在/usr/share/applications/ 里找一个程序,复制到桌面上,之后用编辑器 修改以下2个地方,
Exec=/opt/devtools/idea/bin/idea.sh //请换成自己的idea的安装路径
Icon=/opt/devtools/idea/bin/idea.png //同上
其余的地方一大堆外国字的就删掉吧,OK了。
fedora19将intellij idea 放到桌面上
猜你喜欢
转载自yzzshmily.iteye.com/blog/1971796
今日推荐
周排行