{"id":433,"date":"2011-12-04T21:52:06","date_gmt":"2011-12-05T04:52:06","guid":{"rendered":"http:\/\/10kdev.ivystreetinc.com\/?p=433"},"modified":"2011-12-04T21:54:25","modified_gmt":"2011-12-05T04:54:25","slug":"adding-an-ubuntu-unity-menu-link-for-intellij","status":"publish","type":"post","link":"http:\/\/10kdev.net\/?p=433","title":{"rendered":"Adding an Ubuntu Unity Menu Link for IntelliJ"},"content":{"rendered":"<p>It&#8217;s pretty simple to add a menu launcher link for anything in Ubuntu.<\/p>\n<p>Just make a file with a &#8220;.desktop&#8221; extension and then edit the file so that it has the pathing for the image file (48 px seems to be the size to choose) and the executable. \u00a0Here&#8217;s my intellij.desktop file contents:<\/p>\n<p style=\"padding-left: 30px;\">#!\/usr\/bin\/env xdg-open<br \/>\n[DesktopEntry]<br \/>\nVersion=1.0<br \/>\nTerminal=false<br \/>\nStartupNotify=true<br \/>\nIcon=\/home\/bil\/apps\/intellij10\/bin\/idea_CE48.pngName=IntelliJ 10Exec=env UBUNTU_MENUPROXY=0 \/home\/bil\/apps\/intellij10\/bin\/idea.sh<\/p>\n<p>Note the Icon line is a single line but doesn&#8217;t fit in this blog format.<\/p>\n<p>I like to keep the file in the directory with the application folder, same level.<\/p>\n<p>Now just drag the file to the Unity bar, and there you go.<\/p>\n<p><a href=\"http:\/\/10kdev.ivystreetinc.com\/wp-content\/uploads\/2011\/12\/ubuntu-launcher.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-435\" title=\"ubuntu launcher\" src=\"http:\/\/10kdev.ivystreetinc.com\/wp-content\/uploads\/2011\/12\/ubuntu-launcher-125x300.png\" alt=\"\" width=\"125\" height=\"300\" srcset=\"http:\/\/10kdev.net\/wp-content\/uploads\/2011\/12\/ubuntu-launcher-125x300.png 125w, http:\/\/10kdev.net\/wp-content\/uploads\/2011\/12\/ubuntu-launcher.png 135w\" sizes=\"(max-width: 125px) 100vw, 125px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s pretty simple to add a menu launcher link for anything in Ubuntu. Just make a file with a &#8220;.desktop&#8221; extension and then edit the file so that it has the pathing for the image file (48 px seems to be the size to choose) and the executable. \u00a0Here&#8217;s my intellij.desktop file contents: #!\/usr\/bin\/env xdg-open [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/10kdev.net\/index.php?rest_route=\/wp\/v2\/posts\/433"}],"collection":[{"href":"http:\/\/10kdev.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/10kdev.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/10kdev.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/10kdev.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=433"}],"version-history":[{"count":9,"href":"http:\/\/10kdev.net\/index.php?rest_route=\/wp\/v2\/posts\/433\/revisions"}],"predecessor-version":[{"id":443,"href":"http:\/\/10kdev.net\/index.php?rest_route=\/wp\/v2\/posts\/433\/revisions\/443"}],"wp:attachment":[{"href":"http:\/\/10kdev.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/10kdev.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=433"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/10kdev.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}