{"action":"created","issue":{"url":"https://api.github.com/repos/SavinaRoja/PyUserInput/issues/92","repository_url":"https://api.github.com/repos/SavinaRoja/PyUserInput","labels_url":"https://api.github.com/repos/SavinaRoja/PyUserInput/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/SavinaRoja/PyUserInput/issues/92/comments","events_url":"https://api.github.com/repos/SavinaRoja/PyUserInput/issues/92/events","html_url":"https://github.com/SavinaRoja/PyUserInput/issues/92","id":166207163,"number":92,"title":"Wrong keys inputted when the layout is changed through GNOME ","user":{"login":"steelcowboy","id":9201644,"avatar_url":"https://avatars.githubusercontent.com/u/9201644?v=3","gravatar_id":"","url":"https://api.github.com/users/steelcowboy","html_url":"https://github.com/steelcowboy","followers_url":"https://api.github.com/users/steelcowboy/followers","following_url":"https://api.github.com/users/steelcowboy/following{/other_user}","gists_url":"https://api.github.com/users/steelcowboy/gists{/gist_id}","starred_url":"https://api.github.com/users/steelcowboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steelcowboy/subscriptions","organizations_url":"https://api.github.com/users/steelcowboy/orgs","repos_url":"https://api.github.com/users/steelcowboy/repos","events_url":"https://api.github.com/users/steelcowboy/events{/privacy}","received_events_url":"https://api.github.com/users/steelcowboy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-18T22:20:19Z","updated_at":"2016-07-19T09:11:24Z","closed_at":null,"body":"I noticed that GNOME's keyboard switcher does not use setxkb, so as far as X is concerned if I change to Colemak my keyboard is still in QWERTY so it presses the corresponding key _locations_. Therefore, GNOME should be treated as a special case for when the X server is found.  \r\n  \r\nI can't figure out just how GNOME sets the keyboard layout. I'd like to fix the issue myself but need to figure out how to interface with GNOME stuff in Python (maybe dbus?). Any suggestions?"},"comment":{"url":"https://api.github.com/repos/SavinaRoja/PyUserInput/issues/comments/233574689","html_url":"https://github.com/SavinaRoja/PyUserInput/issues/92#issuecomment-233574689","issue_url":"https://api.github.com/repos/SavinaRoja/PyUserInput/issues/92","id":233574689,"user":{"login":"pepijndevos","id":168609,"avatar_url":"https://avatars.githubusercontent.com/u/168609?v=3","gravatar_id":"","url":"https://api.github.com/users/pepijndevos","html_url":"https://github.com/pepijndevos","followers_url":"https://api.github.com/users/pepijndevos/followers","following_url":"https://api.github.com/users/pepijndevos/following{/other_user}","gists_url":"https://api.github.com/users/pepijndevos/gists{/gist_id}","starred_url":"https://api.github.com/users/pepijndevos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pepijndevos/subscriptions","organizations_url":"https://api.github.com/users/pepijndevos/orgs","repos_url":"https://api.github.com/users/pepijndevos/repos","events_url":"https://api.github.com/users/pepijndevos/events{/privacy}","received_events_url":"https://api.github.com/users/pepijndevos/received_events","type":"User","site_admin":false},"created_at":"2016-07-19T09:11:24Z","updated_at":"2016-07-19T09:11:24Z","body":"Special-casing Gnome sounds like a bad idea. Before you know it we need code for every DE out there. We need a general solution for this.\r\n\r\nI mean, if you change Gnome settings and open a non-Gnome app like xterm, does it also use the incorrect keyboard layout? If so, I'd consider that a Gnome bug. If not, we need to figure out a better way to detect key codes."}}
{"actor":{"display_login":"pepijndevos"}}