{"action":"created","issue":{"url":"https://api.github.com/repos/arduino/Arduino/issues/3226","labels_url":"https://api.github.com/repos/arduino/Arduino/issues/3226/labels{/name}","comments_url":"https://api.github.com/repos/arduino/Arduino/issues/3226/comments","events_url":"https://api.github.com/repos/arduino/Arduino/issues/3226/events","html_url":"https://github.com/arduino/Arduino/pull/3226","id":80487344,"number":3226,"title":"Replaced/improved Linux install and uninstall scripts.","user":{"login":"fiechr","id":12040376,"avatar_url":"https://avatars.githubusercontent.com/u/12040376?v=3","gravatar_id":"","url":"https://api.github.com/users/fiechr","html_url":"https://github.com/fiechr","followers_url":"https://api.github.com/users/fiechr/followers","following_url":"https://api.github.com/users/fiechr/following{/other_user}","gists_url":"https://api.github.com/users/fiechr/gists{/gist_id}","starred_url":"https://api.github.com/users/fiechr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fiechr/subscriptions","organizations_url":"https://api.github.com/users/fiechr/orgs","repos_url":"https://api.github.com/users/fiechr/repos","events_url":"https://api.github.com/users/fiechr/events{/privacy}","received_events_url":"https://api.github.com/users/fiechr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/arduino/Arduino/labels/Component:%20IDE","name":"Component: IDE","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"ffissore","id":510465,"avatar_url":"https://avatars.githubusercontent.com/u/510465?v=3","gravatar_id":"","url":"https://api.github.com/users/ffissore","html_url":"https://github.com/ffissore","followers_url":"https://api.github.com/users/ffissore/followers","following_url":"https://api.github.com/users/ffissore/following{/other_user}","gists_url":"https://api.github.com/users/ffissore/gists{/gist_id}","starred_url":"https://api.github.com/users/ffissore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ffissore/subscriptions","organizations_url":"https://api.github.com/users/ffissore/orgs","repos_url":"https://api.github.com/users/ffissore/repos","events_url":"https://api.github.com/users/ffissore/events{/privacy}","received_events_url":"https://api.github.com/users/ffissore/received_events","type":"User","site_admin":false},"milestone":null,"comments":42,"created_at":"2015-05-25T10:29:08Z","updated_at":"2015-11-21T23:19:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/arduino/Arduino/pulls/3226","html_url":"https://github.com/arduino/Arduino/pull/3226","diff_url":"https://github.com/arduino/Arduino/pull/3226.diff","patch_url":"https://github.com/arduino/Arduino/pull/3226.patch"},"body":"This install script adds a menu item, desktop icon and file association (mime type) for the current user on Linux - even if the Arduino installation is placed outside of the user's home dir (such as in /opt or /usr/local) - which didn't worked before.\r\n\r\nIf the xdg-utils aren't available on the target system, a more basic approach is used (just generate and copy the file).\r\n\r\nThe uninstall script is a simple wrapper and calls the install script to undo the changes.\r\n\r\nAlso added three more icon resolutions (64px, 72px, 96px) - by using the 256px file - maybe there is a better (vector based) source available for exporting to these resolutions...\r\n\r\nModified build.xml for copying the existing/added icons and existing mime.xml file, both changed/added scripts and adjusted file permissions (ugo+x) for all *.sh files to be executable by others by default after archive extraction. A more conservative approach would be to set only install/uninstall.sh ugo+x.\r\n\r\nI tested this on different machines and it works fine so far."},"comment":{"url":"https://api.github.com/repos/arduino/Arduino/issues/comments/158689978","html_url":"https://github.com/arduino/Arduino/pull/3226#issuecomment-158689978","issue_url":"https://api.github.com/repos/arduino/Arduino/issues/3226","id":158689978,"user":{"login":"jonnius","id":4456588,"avatar_url":"https://avatars.githubusercontent.com/u/4456588?v=3","gravatar_id":"","url":"https://api.github.com/users/jonnius","html_url":"https://github.com/jonnius","followers_url":"https://api.github.com/users/jonnius/followers","following_url":"https://api.github.com/users/jonnius/following{/other_user}","gists_url":"https://api.github.com/users/jonnius/gists{/gist_id}","starred_url":"https://api.github.com/users/jonnius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonnius/subscriptions","organizations_url":"https://api.github.com/users/jonnius/orgs","repos_url":"https://api.github.com/users/jonnius/repos","events_url":"https://api.github.com/users/jonnius/events{/privacy}","received_events_url":"https://api.github.com/users/jonnius/received_events","type":"User","site_admin":false},"created_at":"2015-11-21T23:19:00Z","updated_at":"2015-11-21T23:19:00Z","body":"Sorry, i was in the wrong directory. I can confirm that it works as expected! Thanks!"}}