将Eclipse图标锁定到启动器 [英] Locking Eclipse Icon to Launcher
问题描述
我有一段时间想到了。为了做到这一点,在这种情况下,制作一个名为可执行文件的桌面文件,例如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屋!