{"id":1927,"date":"2024-11-15T09:58:15","date_gmt":"2024-11-15T14:58:15","guid":{"rendered":"https:\/\/blog.uvm.edu\/tbplante\/?p=1927"},"modified":"2025-01-17T10:20:31","modified_gmt":"2025-01-17T15:20:31","slug":"creating-a-desktop-shortcut-to-stata-in-linux","status":"publish","type":"post","link":"https:\/\/blog.uvm.edu\/tbplante\/2024\/11\/15\/creating-a-desktop-shortcut-to-stata-in-linux\/","title":{"rendered":"Creating a desktop shortcut to Stata in Ubuntu Linux"},"content":{"rendered":"\n<p>I&#8217;m a Linux novice and installed Stata 18 on my new Ubuntu 24.10 dual boot laptop. But! Stata doesn&#8217;t show up as an installed program in my launcher. I found the installed files, including the executable for the GUI-based version of Stata 18 (&#8220;xstata-se&#8221;) in the <strong>\/usr\/local\/stata18\/<\/strong> folder. I wanted to make a desktop shortcut to that folder but there doesn&#8217;t seem to be an option to make a shortcut from the Ubuntu file launcher. Instead, I followed the directions from the user &#8216;forester&#8217; <a href=\"https:\/\/www.linux.org\/threads\/how-to-create-a-shortcut-of-a-folder-in-ubuntu-at-desktop.41946\/\" data-type=\"link\" data-id=\"https:\/\/www.linux.org\/threads\/how-to-create-a-shortcut-of-a-folder-in-ubuntu-at-desktop.41946\/\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a> and did it from the terminal.<\/p>\n\n\n\n<p>Pop open your terminal by clicking ctrl+alt+T and plop in the text that follows, substituting your user name where indicated below <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo ln -s \/usr\/local\/stata18\/ \/home\/&#091;your user name]\/Desktop  <\/code><\/pre>\n\n\n\n<p>After you enter your password, a new link should appear on your desktop<\/p>\n\n\n\n<p>FYI: If you are using a different version of Stata, the number will be different for the Stata folder (e.g., stata19).<\/p>\n\n\n\n<p>Also, I had tried to create a desktop link to the xstata-se file itself, but clicking the link wouldn&#8217;t run Stata. Popping open the parent folder that the executable lives in is pretty close so I&#8217;ll stick with it. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m a Linux novice and installed Stata 18 on my new Ubuntu 24.10 dual boot laptop. But! Stata doesn&#8217;t show up as an installed program in my launcher. I found the installed files, including the executable for the GUI-based version of Stata 18 (&#8220;xstata-se&#8221;) in the \/usr\/local\/stata18\/ folder. I wanted to make a desktop shortcut &hellip; <a href=\"https:\/\/blog.uvm.edu\/tbplante\/2024\/11\/15\/creating-a-desktop-shortcut-to-stata-in-linux\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Creating a desktop shortcut to Stata in Ubuntu Linux<\/span><\/a><\/p>\n","protected":false},"author":4473,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[477491],"tags":[703508,703506,703509,502556,703507],"class_list":["post-1927","post","type-post","status-publish","format-standard","hentry","category-stata-code","tag-desktop-shortcut","tag-linux","tag-shortcut","tag-stata","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/blog.uvm.edu\/tbplante\/wp-json\/wp\/v2\/posts\/1927","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.uvm.edu\/tbplante\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.uvm.edu\/tbplante\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.uvm.edu\/tbplante\/wp-json\/wp\/v2\/users\/4473"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.uvm.edu\/tbplante\/wp-json\/wp\/v2\/comments?post=1927"}],"version-history":[{"count":3,"href":"https:\/\/blog.uvm.edu\/tbplante\/wp-json\/wp\/v2\/posts\/1927\/revisions"}],"predecessor-version":[{"id":2000,"href":"https:\/\/blog.uvm.edu\/tbplante\/wp-json\/wp\/v2\/posts\/1927\/revisions\/2000"}],"wp:attachment":[{"href":"https:\/\/blog.uvm.edu\/tbplante\/wp-json\/wp\/v2\/media?parent=1927"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.uvm.edu\/tbplante\/wp-json\/wp\/v2\/categories?post=1927"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.uvm.edu\/tbplante\/wp-json\/wp\/v2\/tags?post=1927"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}