将Eclipse图标锁定到启动器 [英] Locking Eclipse Icon to Launcher

查看:112
本文介绍了将Eclipse图标锁定到启动器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行Ubuntu 12.04 LTS 64位。我从他们的网站重新下载了eclipse开普勒,运行良好。但是我注意到的一件事是它是一个下载的归档文件,它没有安装在系统上。当我启动图标到启动栏时,它不会在下次打开它。重启后,图标不见了。请帮我在这里谢谢。

解决方案

我有一段时间想到了。为了做到这一点,在这种情况下,制作一个名为可执行文件的桌面文件,例如eclipse.desktop。在文件中键入以下内容:



[桌面条目]



版本=您的eclipse的版本运行。



Name = Eclipse



注释=用于运行C ++



Exec =应用程序可执行文件的路径



图标=应用程序图标的路径



Terminal = false



Type = Application



Categories = Application; / p>

保存文件,然后右键单击它,然后单击属性。转到权限选项卡,然后检查允许执行文件作为程序。



从它启动eclipse,然后将其固定到Launcher。完成并完成。


I am running Ubuntu 12.04 LTS 64-bit. I recenetly downloaded eclipse kepler from their website and it runs fine and all that. But one thing i noticed was that it was a downloaded archive file, and it wasn't installed on the system. When I launch the icon to the launchbar, it does not open it the next time. And upon restart, the icon is gone. Kindly help me out here. Thank you.

解决方案

I figured it out after sometime. In order to do so, make a desktop file of the same name of the executable file for example eclipse.desktop in this case. Type the following in the file:

[Desktop Entry]

Version = "Version of the eclipse you are running."

Name=Eclipse

Comment=Used to run C++

Exec= "Path to the executable of the application"

Icon="Path to the icon of the application"

Terminal=false

Type=Application

Categories=Application;

Save the file and then right click on it and click Properties. Goto the Permissions tab and then check allow executing file as program.

Launch eclipse from it and then pin it to the Launcher. Done and Done.

这篇关于将Eclipse图标锁定到启动器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆