{"id":943,"date":"2014-01-18T09:18:16","date_gmt":"2014-01-18T09:18:16","guid":{"rendered":"http:\/\/scunster.co.uk\/?p=943"},"modified":"2014-01-23T21:07:12","modified_gmt":"2014-01-23T21:07:12","slug":"create-a-custom-icon-desktop-shortcut","status":"publish","type":"post","link":"https:\/\/scunster.co.uk\/?p=943","title":{"rendered":"Create a custom icon &#038; desktop shortcut"},"content":{"rendered":"<p>Create a file called yourappname.desktop and save it to the desktop directory of the users home directory.<\/p>\n<p>Edit the file and add the following information<\/p>\n<p><code>[Desktop Entry]<br \/>\nName=someName<br \/>\nComment=<br \/>\nExec=\/path\/to\/script.sh<br \/>\nIcon=\/path\/to\/icon<br \/>\nTerminal=false<br \/>\nType=Application<\/code><\/p>\n<p>Copy the file over to \/usr\/share\/applications and make sure that you have set the correct permissions on the desktop files, icons and the script \/ program that you are wanting the shortcut to run.<\/p>\n<p><code>chmod 755 \/path\/to\/icon-or-file<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Create a file called yourappname.desktop and save it to the desktop directory of the users home directory. Edit the file and add the following information [Desktop Entry] Name=someName Comment= Exec=\/path\/to\/script.sh Icon=\/path\/to\/icon Terminal=false Type=Application Copy the file over to \/usr\/share\/applications and make sure that you have set the correct permissions on the desktop files, icons and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[186],"tags":[],"class_list":["post-943","post","type-post","status-publish","format-standard","hentry","category-slitaz"],"_links":{"self":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/943","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=943"}],"version-history":[{"count":2,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/943\/revisions"}],"predecessor-version":[{"id":945,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/943\/revisions\/945"}],"wp:attachment":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=943"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=943"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=943"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}