{"action":"created","issue":{"url":"https://api.github.com/repos/colinkeenan/silentcast/issues/33","repository_url":"https://api.github.com/repos/colinkeenan/silentcast","labels_url":"https://api.github.com/repos/colinkeenan/silentcast/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/colinkeenan/silentcast/issues/33/comments","events_url":"https://api.github.com/repos/colinkeenan/silentcast/issues/33/events","html_url":"https://github.com/colinkeenan/silentcast/issues/33","id":186085075,"number":33,"title":"Setup Not Working","user":{"login":"Xarcell","id":6114450,"avatar_url":"https://avatars.githubusercontent.com/u/6114450?v=3","gravatar_id":"","url":"https://api.github.com/users/Xarcell","html_url":"https://github.com/Xarcell","followers_url":"https://api.github.com/users/Xarcell/followers","following_url":"https://api.github.com/users/Xarcell/following{/other_user}","gists_url":"https://api.github.com/users/Xarcell/gists{/gist_id}","starred_url":"https://api.github.com/users/Xarcell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xarcell/subscriptions","organizations_url":"https://api.github.com/users/Xarcell/orgs","repos_url":"https://api.github.com/users/Xarcell/repos","events_url":"https://api.github.com/users/Xarcell/events{/privacy}","received_events_url":"https://api.github.com/users/Xarcell/received_events","type":"User","site_admin":false},"labels":[{"id":128538292,"url":"https://api.github.com/repos/colinkeenan/silentcast/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2016-10-29T15:43:57Z","updated_at":"2016-10-30T17:47:47Z","closed_at":null,"body":"I am a ubuntu novice. \r\n\r\nAnyway, I have installed it per instructions.\r\n\r\nWhen I load it, it comes to the first screen. I edit my path to where I want the images at, and click ok, then nothing else happens. I don't know if this is intentional or not. Either way, it seems that is all I can do with this app.\r\n\r\nThe instructions say there should be additional setup pages? Also, there are no silentcast icons in the notification area.\r\n\r\nI am using ubuntu 16.04."},"comment":{"url":"https://api.github.com/repos/colinkeenan/silentcast/issues/comments/257166128","html_url":"https://github.com/colinkeenan/silentcast/issues/33#issuecomment-257166128","issue_url":"https://api.github.com/repos/colinkeenan/silentcast/issues/33","id":257166128,"user":{"login":"colinkeenan","id":2450827,"avatar_url":"https://avatars.githubusercontent.com/u/2450827?v=3","gravatar_id":"","url":"https://api.github.com/users/colinkeenan","html_url":"https://github.com/colinkeenan","followers_url":"https://api.github.com/users/colinkeenan/followers","following_url":"https://api.github.com/users/colinkeenan/following{/other_user}","gists_url":"https://api.github.com/users/colinkeenan/gists{/gist_id}","starred_url":"https://api.github.com/users/colinkeenan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinkeenan/subscriptions","organizations_url":"https://api.github.com/users/colinkeenan/orgs","repos_url":"https://api.github.com/users/colinkeenan/repos","events_url":"https://api.github.com/users/colinkeenan/events{/privacy}","received_events_url":"https://api.github.com/users/colinkeenan/received_events","type":"User","site_admin":false},"created_at":"2016-10-30T17:47:46Z","updated_at":"2016-10-30T17:47:46Z","body":"Of course, it's better to have python figure out the path. We already did that 2 lines down, so I just defined that as a variable, `filepath` and ` \"{}/stop{}\".format(filepath,args.silentcast_number),` shows the icon now:\r\n\r\n```\r\n#!/usr/bin/python\r\nimport gi\r\ngi.require_version('Gtk', '3.0')\r\ngi.require_version('AppIndicator3', '0.1')\r\nfrom gi.repository import Gtk\r\nfrom gi.repository import AppIndicator3 as appindicator\r\nimport os,argparse\r\n\r\nfilepath = os.path.dirname(os.path.realpath(__file__))\r\n\r\nparser = argparse.ArgumentParser()\r\nparser.add_argument(\"silentcast_number\", help=\"The number of Silentcast instances running. \\\r\n        The system tray indicator icon will show the silentcast_number in it: either 1 or 2.\")\r\nargs = parser.parse_args()\r\n\r\nclass IndicatorSilentcast:\r\n    def __init__(self):\r\n        self.indicator = appindicator.Indicator.new_with_path (\r\n                \"silentcast\",\r\n                \"{}/stop{}\".format(filepath,args.silentcast_number),\r\n                appindicator.IndicatorCategory.APPLICATION_STATUS,\r\n                filepath)\r\n        self.indicator.set_status (appindicator.IndicatorStatus.ACTIVE)\r\n.\r\n.\r\n.\r\n```"}}
{"actor":{"display_login":"colinkeenan"}}