{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/6523","labels_url":"https://api.github.com/repos/atom/atom/issues/6523/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/6523/comments","events_url":"https://api.github.com/repos/atom/atom/issues/6523/events","html_url":"https://github.com/atom/atom/issues/6523","id":71136746,"number":6523,"title":"Install from source on linux creates desktop entry with wrong icon location","user":{"login":"firstdoit","id":1633518,"avatar_url":"https://avatars.githubusercontent.com/u/1633518?v=3","gravatar_id":"","url":"https://api.github.com/users/firstdoit","html_url":"https://github.com/firstdoit","followers_url":"https://api.github.com/users/firstdoit/followers","following_url":"https://api.github.com/users/firstdoit/following{/other_user}","gists_url":"https://api.github.com/users/firstdoit/gists{/gist_id}","starred_url":"https://api.github.com/users/firstdoit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firstdoit/subscriptions","organizations_url":"https://api.github.com/users/firstdoit/orgs","repos_url":"https://api.github.com/users/firstdoit/repos","events_url":"https://api.github.com/users/firstdoit/events{/privacy}","received_events_url":"https://api.github.com/users/firstdoit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-26T23:42:32Z","updated_at":"2015-04-27T00:26:23Z","closed_at":null,"body":"When installing from source by following [this guide](https://github.com/atom/atom/blob/master/docs/build-instructions/linux.md) the following `.desktop` entry is created in `/usr/local/share/applications/atom.desktop`:\r\n\r\n```\r\n[Desktop Entry]\r\nName=Atom\r\nComment=A hackable text editor for the 21st Century.\r\nGenericName=Text Editor\r\nExec=/usr/local/share/atom/atom %U\r\nIcon=/usr/local/share/atom/resources/app/resources/atom.png\r\nType=Application\r\nStartupNotify=true\r\nCategories=GNOME;GTK;Utility;TextEditor;Development;\r\nMimeType=text/plain;\r\n```\r\n\r\nHowever, `/usr/local/share/atom/resources/app/resources/atom.png` does not exist.\r\n\r\n```\r\n$ ls /usr/local/share/atom/resources/app/\r\napm  atom.sh\r\n```\r\n\r\nI solved it by simply copying the atom icon in `atom/resources/atom.png` over to the expected path.\r\n\r\n```\r\ncd atom\r\nsudo cp --parents resources/atom.png /usr/local/share/atom/resources/app/\r\n```\r\n\r\nI didn't find this bug last week when installing release 0.192.0. Maybe this was introduced on 0.193.0 because of the `asar` archive file."},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/96451537","html_url":"https://github.com/atom/atom/issues/6523#issuecomment-96451537","issue_url":"https://api.github.com/repos/atom/atom/issues/6523","id":96451537,"user":{"login":"50Wliu","id":2766036,"avatar_url":"https://avatars.githubusercontent.com/u/2766036?v=3","gravatar_id":"","url":"https://api.github.com/users/50Wliu","html_url":"https://github.com/50Wliu","followers_url":"https://api.github.com/users/50Wliu/followers","following_url":"https://api.github.com/users/50Wliu/following{/other_user}","gists_url":"https://api.github.com/users/50Wliu/gists{/gist_id}","starred_url":"https://api.github.com/users/50Wliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/50Wliu/subscriptions","organizations_url":"https://api.github.com/users/50Wliu/orgs","repos_url":"https://api.github.com/users/50Wliu/repos","events_url":"https://api.github.com/users/50Wliu/events{/privacy}","received_events_url":"https://api.github.com/users/50Wliu/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T00:26:23Z","updated_at":"2015-04-27T00:26:23Z","body":"It doesn't exist for me either but Icon is just `atom.png` for me (possibly because I was using the Webupd8 PPA before building from source).  Launcher icon is still definitely Atom though..."}}