{"id":1126,"date":"2016-06-30T16:50:33","date_gmt":"2016-06-30T14:50:33","guid":{"rendered":"http:\/\/blog.ttoine.net\/?p=1126"},"modified":"2016-06-30T17:07:38","modified_gmt":"2016-06-30T15:07:38","slug":"how-to-add-eclipse-neon-launcher-in-gnu-linux-menus-and-launchers","status":"publish","type":"post","link":"https:\/\/blog.ttoine.net\/en\/2016\/06\/30\/how-to-add-eclipse-neon-launcher-in-gnu-linux-menus-and-launchers\/","title":{"rendered":"How to add Eclipse Neon launcher in GNU Linux menus and launchers"},"content":{"rendered":"<p>If you are a GNU Linux user, there are of course many distributions, you have your favorite one. And there is two ways to install Eclipse IDE:<\/p>\n<ul>\n<li>download the installer from the <a href=\"https:\/\/eclipse.org\/downloads\/\">new eclipse.org download page<\/a>, and the select the package you want (recommanded)<\/li>\n<li>download directly an archive of your favorite package on the <a href=\"https:\/\/eclipse.org\/downloads\/eclipse-packages\/\">eclipse.org package download page<\/a><\/li>\n<\/ul>\n<p>But in both case, you will have to go in the installation folder to run Eclipse. Even the installer does not create a .desktop file, so you won&#8217;t find Eclipse in your distribution menu. And depending on your distro, it might not be possible to lock Eclipse icon to the launcher. As a regular\u00a0Ubuntu user, with the Unity desktop, I like to have my favorite applications in the launcher.<\/p>\n<h3>Create a .desktop file<\/h3>\n<p>The solution is actually very easy: in the installation folder, create an empty\u00a0file, name it Eclipse.desktop and copy paste this code:<\/p>\n<pre>[Desktop Entry]\r\nVersion=Neon\r\nName=Eclipse\r\nComment=Eclipse is an IDE\r\nExec=\/home\/username\/path\/to\/eclipse\r\nPath=\/home\/username\/path\/to\/eclipse\/\r\nIcon=\/home\/username\/path\/to\/eclipse\/icon.xpm\r\nTerminal=false\r\nType=Application\r\nCategories=Utility;Application;Development;<\/pre>\n<p>Then, change the properties of the files so it can be executed. Just double click on it, and Eclipse should start. You will be able to lock the icon to the Launcher.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1133 size-full\" src=\"https:\/\/blog.ttoine.net\/files\/2016\/06\/eclipse-in-the-launcher.png\" alt=\"eclipse-in-the-launcher\" width=\"226\" height=\"61\" \/><\/p>\n<p>Of course, please change the path to your Eclipse installation. And if you have many installations, you can change the name field to make it more clear in the menu. You can also change the filename.<\/p>\n<h3>Add Eclipse to your menu<\/h3>\n<p>You now have a cool desktop launcher, but it is not yet available in your menu. To do that, copy the Eclipse.desktop file in:<\/p>\n<pre>\/home\/username\/.local\/share\/applications<\/pre>\n<p>If you still can&#8217;t find Eclipse in the menu, just log out from your session or restart your computer. That should be good.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1135\" src=\"https:\/\/blog.ttoine.net\/files\/2016\/06\/eclipse-in-the-menu.png\" alt=\"eclipse-in-the-menu\" width=\"277\" height=\"253\" \/><\/p>\n<h3>Improve the GNU Linux installer<\/h3>\n<p>I opened a bug on Bugzilla, for I think that the Oomph based installer should create the .desktop. If you agree with me and want to participate to the discussion, it is here:<br \/>\n<a href=\"https:\/\/bugs.eclipse.org\/bugs\/show_bug.cgi?id=494735\">https:\/\/bugs.eclipse.org\/bugs\/show_bug.cgi?id=494735<\/a><\/p>\n<p>By the way, creating a .desktop file is really a standard recommended by the Freedesktop.org. Gnome and KDE are following this standard:<\/p>\n<ul>\n<li>kde,\u00a0<a href=\"https:\/\/techbase.kde.org\/Development\/Tutorials\/Desktop_File\">https:\/\/techbase.kde.org\/Development\/Tutorials\/Desktop_File<\/a><\/li>\n<li>gnome,\u00a0<a href=\"https:\/\/developer.gnome.org\/integration-guide\/stable\/desktop-files.html.en\"><span style=\"line-height: 1.5;\">https:\/\/developer.gnome.org\/integration-guide\/stable\/desktop-files.html.en<\/span><\/a><\/li>\n<li>the reference example at freedesktop.com,\u00a0<a href=\"https:\/\/specifications.freedesktop.org\/desktop-entry-spec\/latest\/\"><span style=\"line-height: 1.5;\">https:\/\/specifications.freedesktop.org\/desktop-entry-spec\/latest\/<\/span><\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>If you are a GNU Linux user, there are of course many distributions, you have your favorite one. And there is two ways to install Eclipse IDE: download the installer from the new eclipse.org download page, and the select the package you want (recommanded) download directly an archive of your favorite package on the eclipse.org [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_locale":"en_US","_original_post":"1126","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[27],"tags":[],"class_list":["post-1126","post","type-post","status-publish","format-standard","hentry","category-eclipse","en-US"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":1203,"url":"https:\/\/blog.ttoine.net\/en\/2017\/02\/16\/tutorial-eclipse-marketplace-favourites-list\/","url_meta":{"origin":1126,"position":0},"title":"Tutorial &#8211; Eclipse Marketplace &#038; Favourites List","author":"Antoine THOMAS","date":"16 February 2017","format":false,"excerpt":"A few months ago we introduced the Eclipse Marketplace Favourites List. To explain how it works I created a video tutorial. This article will be a more classic tutorial to explain what Eclipse Marketplace is and how you can use the Favourite Lists to your advantage. What is Eclipse Marketplace?\u2026","rel":"","context":"In &quot;Eclipse&quot;","block_context":{"text":"Eclipse","link":"https:\/\/blog.ttoine.net\/en\/category\/eclipse\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/blog.ttoine.net\/files\/2017\/02\/marketplace-1-2-1024x904.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/blog.ttoine.net\/files\/2017\/02\/marketplace-1-2-1024x904.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/blog.ttoine.net\/files\/2017\/02\/marketplace-1-2-1024x904.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/blog.ttoine.net\/files\/2017\/02\/marketplace-1-2-1024x904.png?resize=700%2C400 2x"},"classes":[]},{"id":1106,"url":"https:\/\/blog.ttoine.net\/2016\/05\/13\/uss-and-the-marketplace-client\/","url_meta":{"origin":1126,"position":1},"title":"USS and the Marketplace Client","author":"Antoine THOMAS","date":"13 May 2016","format":false,"excerpt":"Version fran\u00e7aise en cours... Two weeks ago, I started my new job, Product Manager at the Eclipse Foundation. I will be in charge of developing new features and services for the Eclipse user community. Eclipse users and contributors, my plan is to make your life easier ;-) For my first\u2026","rel":"","context":"In &quot;Eclipse&quot;","block_context":{"text":"Eclipse","link":"https:\/\/blog.ttoine.net\/en\/category\/eclipse\/"},"img":{"alt_text":"Java - Boardcluster - website-index.html - Eclipse _129","src":"https:\/\/i0.wp.com\/blog.ttoine.net\/files\/2016\/05\/java-boardcluster-website-index.html-eclipse--129.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1116,"url":"https:\/\/blog.ttoine.net\/en\/2016\/05\/13\/uss-and-the-marketplace-client\/","url_meta":{"origin":1126,"position":2},"title":"USS and the Marketplace Client","author":"Antoine THOMAS","date":"13 May 2016","format":false,"excerpt":"Two weeks ago, I started my new job, Product Manager at the Eclipse Foundation. I will be in charge of developing new features and services for the Eclipse user community. Eclipse users and contributors, my plan is to make your life easier ;-) For my first blog article about the\u2026","rel":"","context":"In &quot;Eclipse&quot;","block_context":{"text":"Eclipse","link":"https:\/\/blog.ttoine.net\/en\/category\/eclipse\/"},"img":{"alt_text":"Java - Boardcluster - website-index.html - Eclipse _129","src":"https:\/\/i0.wp.com\/blog.ttoine.net\/files\/2016\/05\/java-boardcluster-website-index.html-eclipse--129.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1148,"url":"https:\/\/blog.ttoine.net\/en\/2016\/09\/29\/video-eclipse-marketplace-favourites-list\/","url_meta":{"origin":1126,"position":3},"title":"Video &#8211; Eclipse Marketplace &#038; Favourites List","author":"Antoine THOMAS","date":"29 September 2016","format":false,"excerpt":"Following my recent series of articles about the Eclipse Marketplace Client, I have recorded a short video tutorial to show you how to use favourites lists on Eclipse.org and in Eclipse: Add \/ remove plugins in your favourites list on marketplace.eclipse.org Add \/ remove plugins in your favourites list with\u2026","rel":"","context":"In &quot;Eclipse&quot;","block_context":{"text":"Eclipse","link":"https:\/\/blog.ttoine.net\/en\/category\/eclipse\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/img.youtube.com\/vi\/YQkiC2ydSIM\/0.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1156,"url":"https:\/\/blog.ttoine.net\/en\/2016\/12\/01\/the-eclipse-user-profile\/","url_meta":{"origin":1126,"position":4},"title":"The Eclipse User Profile","author":"Antoine THOMAS","date":"1 December 2016","format":false,"excerpt":"Following a soft release in October 2016, including several features, the collection of user feedback, related testing and adding improvements, it is officially time to announce the launch of... \"The Eclipse User Profile\" Story The aim of the Eclipse User Profile (previously known as the User Dashboard), is to provide\u2026","rel":"","context":"In &quot;Eclipse&quot;","block_context":{"text":"Eclipse","link":"https:\/\/blog.ttoine.net\/en\/category\/eclipse\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1241,"url":"https:\/\/blog.ttoine.net\/en\/2017\/05\/23\/its-time-to-organise-eclipse-oxygen-democamps\/","url_meta":{"origin":1126,"position":5},"title":"It&#8217;s time to organise Eclipse Oxygen DemoCamps","author":"Antoine THOMAS","date":"23 May 2017","format":false,"excerpt":"The next major release of the Eclipse Oxygen is coming up on June 28 and, it means the start of this year's Eclipse DemoCamps season. If you or your colleagues are considering a DemoCamp for 2017, we would like to help! What\u2019s a DemoCamp? You may be asking yourself what\u2026","rel":"","context":"In &quot;Eclipse&quot;","block_context":{"text":"Eclipse","link":"https:\/\/blog.ttoine.net\/en\/category\/eclipse\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/blog.ttoine.net\/files\/2017\/05\/screen-shot-2017-05-22-at-16.20.42-1024x730.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/blog.ttoine.net\/files\/2017\/05\/screen-shot-2017-05-22-at-16.20.42-1024x730.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/blog.ttoine.net\/files\/2017\/05\/screen-shot-2017-05-22-at-16.20.42-1024x730.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/blog.ttoine.net\/files\/2017\/05\/screen-shot-2017-05-22-at-16.20.42-1024x730.png?resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/blog.ttoine.net\/wp-json\/wp\/v2\/posts\/1126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ttoine.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ttoine.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ttoine.net\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ttoine.net\/wp-json\/wp\/v2\/comments?post=1126"}],"version-history":[{"count":5,"href":"https:\/\/blog.ttoine.net\/wp-json\/wp\/v2\/posts\/1126\/revisions"}],"predecessor-version":[{"id":1136,"href":"https:\/\/blog.ttoine.net\/wp-json\/wp\/v2\/posts\/1126\/revisions\/1136"}],"wp:attachment":[{"href":"https:\/\/blog.ttoine.net\/wp-json\/wp\/v2\/media?parent=1126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ttoine.net\/wp-json\/wp\/v2\/categories?post=1126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ttoine.net\/wp-json\/wp\/v2\/tags?post=1126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}