{"action":"created","issue":{"url":"https://api.github.com/repos/AurousGroup/Feature-Tracker/issues/19","labels_url":"https://api.github.com/repos/AurousGroup/Feature-Tracker/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/AurousGroup/Feature-Tracker/issues/19/comments","events_url":"https://api.github.com/repos/AurousGroup/Feature-Tracker/issues/19/events","html_url":"https://github.com/AurousGroup/Feature-Tracker/issues/19","id":110987084,"number":19,"title":"[Ubuntu/Linux] [script] Automatically add Aurous to dash","user":{"login":"Boltgolt","id":5780600,"avatar_url":"https://avatars.githubusercontent.com/u/5780600?v=3","gravatar_id":"","url":"https://api.github.com/users/Boltgolt","html_url":"https://github.com/Boltgolt","followers_url":"https://api.github.com/users/Boltgolt/followers","following_url":"https://api.github.com/users/Boltgolt/following{/other_user}","gists_url":"https://api.github.com/users/Boltgolt/gists{/gist_id}","starred_url":"https://api.github.com/users/Boltgolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Boltgolt/subscriptions","organizations_url":"https://api.github.com/users/Boltgolt/orgs","repos_url":"https://api.github.com/users/Boltgolt/repos","events_url":"https://api.github.com/users/Boltgolt/events{/privacy}","received_events_url":"https://api.github.com/users/Boltgolt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-12T14:39:23Z","updated_at":"2015-10-15T07:44:15Z","closed_at":null,"body":"The following script will add Aurous to the unity dash, and give it an icon while running.\r\n\r\n![In the dash](http://i.imgur.com/J8whMSu.png)\r\n![While running](http://i.imgur.com/kd7AKLf.png)\r\n\r\nPlease run it in the same folder as Aurous.jar\r\n\r\n```\r\n#!/bin/bash\r\n\r\npushd `dirname $0` > /dev/null\r\nSCRIPTPATH=`pwd -P`\r\npopd > /dev/null\r\n\r\nsudo apt-get install gksu\r\nwget \"http://boltgolt.nl/desktopLogo.png\"\r\n\r\ntouch Aurous.desktop\r\n\r\necho \"[Desktop Entry]\" > Aurous.desktop\r\necho \"Name=Aurous\" >> Aurous.desktop\r\necho \"Exec=gksudo -m \\\"Aurous needs to run as root.\\\" -- java -jar $SCRIPTPATH/Aurous.jar\" >> Aurous.desktop\r\necho \"Icon=$SCRIPTPATH/desktopLogo.png\" >> Aurous.desktop\r\necho \"Terminal=false\" >> Aurous.desktop\r\necho \"StartupNotify=true\" >> Aurous.desktop\r\necho \"Type=Application\" >> Aurous.desktop\r\n\r\nchmod +x Aurous.desktop\r\nsudo desktop-file-install Aurous.desktop\r\n\r\necho \"Done!\"\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/AurousGroup/Feature-Tracker/issues/comments/148307074","html_url":"https://github.com/AurousGroup/Feature-Tracker/issues/19#issuecomment-148307074","issue_url":"https://api.github.com/repos/AurousGroup/Feature-Tracker/issues/19","id":148307074,"user":{"login":"Boltgolt","id":5780600,"avatar_url":"https://avatars.githubusercontent.com/u/5780600?v=3","gravatar_id":"","url":"https://api.github.com/users/Boltgolt","html_url":"https://github.com/Boltgolt","followers_url":"https://api.github.com/users/Boltgolt/followers","following_url":"https://api.github.com/users/Boltgolt/following{/other_user}","gists_url":"https://api.github.com/users/Boltgolt/gists{/gist_id}","starred_url":"https://api.github.com/users/Boltgolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Boltgolt/subscriptions","organizations_url":"https://api.github.com/users/Boltgolt/orgs","repos_url":"https://api.github.com/users/Boltgolt/repos","events_url":"https://api.github.com/users/Boltgolt/events{/privacy}","received_events_url":"https://api.github.com/users/Boltgolt/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T07:44:15Z","updated_at":"2015-10-15T07:44:15Z","body":"Thanks for the solution! ```&&``` links commands together, so your solution would be ```cd /path/to/Aurous && gksudo -- java -jar /path/to/Aurous/Aurous.jar```\r\n\r\nThe png in ```assets``` has no empty space around it and now shadow, making it hard to see when launched. You can try using that one to see the difference."}}