{"id":305,"date":"2010-09-21T00:15:55","date_gmt":"2010-09-21T04:15:55","guid":{"rendered":"http:\/\/jaewon.hwang.info\/jaewon\/?p=305"},"modified":"2010-10-09T23:27:26","modified_gmt":"2010-10-10T03:27:26","slug":"how-to-add-matlab-to-the-gnome-menu","status":"publish","type":"post","link":"https:\/\/jaewon.hwang.info\/jaewon\/2010\/09\/how-to-add-matlab-to-the-gnome-menu\/","title":{"rendered":"How to add MATLAB to the GNOME menu"},"content":{"rendered":"<p>For the installation instruction of MATLAB, refer to the following document.<\/p>\n<p><a href=\"https:\/\/help.ubuntu.com\/community\/MATLAB\" target=\"_blank\">https:\/\/help.ubuntu.com\/community\/MATLAB<\/a><\/p>\n<p>To add MATLAB to the GNOME menu,<\/p>\n<p>1. Get an icon:<\/p>\n<pre class=\"brush: bash; toolbar: false; auto-links: false;\">sudo wget http:\/\/upload.wikimedia.org\/wikipedia\/commons\/2\/21\/Matlab_Logo.png -O \/usr\/share\/icons\/matlab.png\r\n<\/pre>\n<p>2. Get the launcher file:<\/p>\n<pre class=\"brush: bash; toolbar: false; auto-links: false;\">sudo wget 'https:\/\/help.ubuntu.com\/community\/MATLAB?action=AttachFile&amp;do=get&amp;target=matlab-r2010a.desktop' -O \/usr\/share\/applications\/matlab.desktop\r\n<\/pre>\n<p>3. Edit the launcher file:<\/p>\n<pre class=\"brush: bash; toolbar: false;\">sudo gedit \/usr\/share\/applications\/matlab.desktop &amp;\r\n<\/pre>\n<p>The contents of the launcher file (&#8220;matlab.desktop&#8221;) should be similar to what is written below. Modify &#8216;<strong>Name<\/strong>&#8216;, &#8216;<strong>Exec<\/strong>&#8216;, and <strong>&#8216;Categories<\/strong>&#8216; fields according to your configuration. <span style=\"text-decoration: underline;\">Don&#8217;t forget to put &#8216;<strong>-desktop<\/strong>&#8216; at the end of the &#8216;<strong>Exec<\/strong>&#8216;.<\/span> Otherwise, MATLAB will show the splash screen, but will not start.<\/p>\n<pre class=\"brush: bash; toolbar: false;\">#!\/usr\/bin\/env xdg-open\r\n[Desktop Entry]\r\nType=Application\r\nIcon=\/usr\/share\/icons\/matlab.png\r\nName=MATLAB R2010b\r\nComment=Start MATLAB - The Language of Technical Computing\r\nExec=\/usr\/local\/MATLAB\/R2010b\/bin\/matlab -desktop\r\nCategories=Development;Programming;<\/pre>\n<p>FYI. The &#8216;<strong>-desktop<\/strong>&#8216; option may not be necessary when MATLAB is executed from the command line.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For the installation instruction of MATLAB, refer to the following document. https:\/\/help.ubuntu.com\/community\/MATLAB To add MATLAB to the GNOME menu, 1. Get an icon: sudo wget http:\/\/upload.wikimedia.org\/wikipedia\/commons\/2\/21\/Matlab_Logo.png -O \/usr\/share\/icons\/matlab.png 2. Get the launcher file: sudo wget &#8216;https:\/\/help.ubuntu.com\/community\/MATLAB?action=AttachFile&amp;do=get&amp;target=matlab-r2010a.desktop&#8217; -O \/usr\/share\/applications\/matlab.desktop 3. Edit the launcher file: sudo gedit \/usr\/share\/applications\/matlab.desktop &amp; The contents of the launcher file (&#8220;matlab.desktop&#8221;) should [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[76,73,77],"class_list":["post-305","post","type-post","status-publish","format-standard","hentry","category-computer","tag-gnome","tag-linux","tag-matlab"],"_links":{"self":[{"href":"https:\/\/jaewon.hwang.info\/jaewon\/wp-json\/wp\/v2\/posts\/305","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jaewon.hwang.info\/jaewon\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jaewon.hwang.info\/jaewon\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jaewon.hwang.info\/jaewon\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jaewon.hwang.info\/jaewon\/wp-json\/wp\/v2\/comments?post=305"}],"version-history":[{"count":0,"href":"https:\/\/jaewon.hwang.info\/jaewon\/wp-json\/wp\/v2\/posts\/305\/revisions"}],"wp:attachment":[{"href":"https:\/\/jaewon.hwang.info\/jaewon\/wp-json\/wp\/v2\/media?parent=305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jaewon.hwang.info\/jaewon\/wp-json\/wp\/v2\/categories?post=305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jaewon.hwang.info\/jaewon\/wp-json\/wp\/v2\/tags?post=305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}