{"id":22,"date":"2012-12-21T19:42:05","date_gmt":"2012-12-21T19:42:05","guid":{"rendered":"http:\/\/en.khanzadeh.net\/?p=22"},"modified":"2012-12-21T19:42:05","modified_gmt":"2012-12-21T19:42:05","slug":"shortcut-for-your-terminal-commend","status":"publish","type":"post","link":"https:\/\/skhanzadeh.ir\/en\/2012\/12\/21\/shortcut-for-your-terminal-commend\/","title":{"rendered":"Shortcut for your Terminal Commend"},"content":{"rendered":"<p>Maybe you know this learn but I want say this useful shortcut and new user o Linux use that.<br \/>\n<!--more--><\/p>\n<p>&nbsp;<br \/>\n&nbsp;<br \/>\n1.open gEdit.<br \/>\n2.go to View Menu&gt;Highlight Mode&gt;Other&gt;.desktop [this help gedit to detect your codes].<br \/>\n3.and Insert bellow code in that:<\/p>\n<pre>#!\/usr\/bin\/env xdg-open\n\n[Desktop Entry]\u00a0 &lt;-- this is basic code\nType=Application &lt;-- type of your shortcut\nTerminal=true &lt;-- must be true because we want to run Terminal's Code \nExec=sudo \/opt\/lampp\/lampp start &lt;-- insert your terminal code here\nName=Lampp &lt;-- insert a name for your shortcut<\/pre>\n<p>4.Now you can save your file as .desktop with your custome name.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Maybe you know this learn but I want say this useful shortcut and new user o Linux use that.<\/p>\n","protected":false},"author":1,"featured_media":23,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,9],"tags":[53,54,60,96,137,146,150],"class_list":["post-22","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-article","category-linux","tag-debian","tag-desktop","tag-easy","tag-linux","tag-shortcut","tag-terminal-2","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/skhanzadeh.ir\/en\/wp-json\/wp\/v2\/posts\/22","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skhanzadeh.ir\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skhanzadeh.ir\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skhanzadeh.ir\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skhanzadeh.ir\/en\/wp-json\/wp\/v2\/comments?post=22"}],"version-history":[{"count":0,"href":"https:\/\/skhanzadeh.ir\/en\/wp-json\/wp\/v2\/posts\/22\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/skhanzadeh.ir\/en\/wp-json\/wp\/v2\/media\/23"}],"wp:attachment":[{"href":"https:\/\/skhanzadeh.ir\/en\/wp-json\/wp\/v2\/media?parent=22"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skhanzadeh.ir\/en\/wp-json\/wp\/v2\/categories?post=22"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skhanzadeh.ir\/en\/wp-json\/wp\/v2\/tags?post=22"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}