{"id":143582,"date":"2019-05-02T08:00:20","date_gmt":"2019-05-02T00:00:20","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=143582"},"modified":"2019-04-24T10:08:43","modified_gmt":"2019-04-24T02:08:43","slug":"linux-eclipse-createashortcut","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-eclipse-createashortcut.html","title":{"rendered":"linux\uff1a\u5982\u4f55\u521b\u5efaeclipse\u7684\u5feb\u6377\u65b9\u5f0f"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u8fdb\u5165\/usr\/share\/applications\u6587\u4ef6\u5939.\u8be5\u6587\u4ef6\u5939\u5c31\u76f8\u5f53\u4e8eWindows\u4e0a\u7684\u5feb\u6377\u65b9\u5f0f\u3002\u53ef\u4ee5\u7528 ls \u67e5\u770b\u4e00\u4e0b\u90fd\u662f\u4ee5.desktop \u7ed3\u5c3e\u7684\u6587\u4ef6\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n linux\u4e0b\u521b\u5efaeclipse\u5feb\u6377\u65b9\u5f0f<\/p>\n \u5de5\u5177\/\u539f\u6599<\/strong><\/div>\n linux+jdk+eclipse<\/p>\n \u65b9\u6cd5\/\u6b65\u9aa41:<\/strong><\/span><\/div>\n \u8fdb\u5165\/usr\/share\/applications\u6587\u4ef6\u5939.\u8be5\u6587\u4ef6\u5939\u5c31\u76f8\u5f53\u4e8eWindows\u4e0a\u7684\u5feb\u6377\u65b9\u5f0f\u3002\u53ef\u4ee5\u7528 ls \u67e5\u770b\u4e00\u4e0b\u90fd\u662f\u4ee5.desktop \u7ed3\u5c3e\u7684\u6587\u4ef6\u3002 \u65b9\u6cd5\/\u6b65\u9aa42:<\/strong><\/span><\/div>\n \u5728\u6b64\u6587\u4ef6\u5939\u521b\u5efa\u4e00\u4e2aeclipse\u7684\u5feb\u6377\u65b9\u5f0f\u3002sudo vim eclipse.desktop \u65b9\u6cd5\/\u6b65\u9aa43:<\/strong><\/span><\/div>\n \u6e10\u5165i\uff0c\u6dfb\u52a0\u5982\u4e0b\u5185\u5bb9:<\/p>\n [Desktop Entry]\r\nEncoding=UTF-8\r\nName=Eclipse\r\nComment=Eclipse IDE\r\nExec=\/usr\/local\/eclipse\/eclipse(eclipse\u5b58\u653e\u8def\u5f84)\r\nIcon=\/usr\/local\/eclipse\/icon.xpm(eclipse\u5b58\u653e\u8def\u5f84)\r\nTerminal=false\r\nType=Application\r\nCategories=GNOME;Application;Development;\r\nStartupNotify=true<\/pre>\n |