{"action":"created","issue":{"url":"https://api.github.com/repos/lyokha/vim-xkbswitch/issues/26","repository_url":"https://api.github.com/repos/lyokha/vim-xkbswitch","labels_url":"https://api.github.com/repos/lyokha/vim-xkbswitch/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/lyokha/vim-xkbswitch/issues/26/comments","events_url":"https://api.github.com/repos/lyokha/vim-xkbswitch/issues/26/events","html_url":"https://github.com/lyokha/vim-xkbswitch/issues/26","id":166350289,"number":26,"title":"Не работает на Ubuntu 16.04","user":{"login":"james-bay","id":6966475,"avatar_url":"https://avatars.githubusercontent.com/u/6966475?v=3","gravatar_id":"","url":"https://api.github.com/users/james-bay","html_url":"https://github.com/james-bay","followers_url":"https://api.github.com/users/james-bay/followers","following_url":"https://api.github.com/users/james-bay/following{/other_user}","gists_url":"https://api.github.com/users/james-bay/gists{/gist_id}","starred_url":"https://api.github.com/users/james-bay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/james-bay/subscriptions","organizations_url":"https://api.github.com/users/james-bay/orgs","repos_url":"https://api.github.com/users/james-bay/repos","events_url":"https://api.github.com/users/james-bay/events{/privacy}","received_events_url":"https://api.github.com/users/james-bay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-19T14:47:12Z","updated_at":"2016-07-19T14:57:49Z","closed_at":null,"body":"Здравствуйте! На свежеустановленную Ubuntu 16.04 только поставил vim. Никаких плагинов для vim-а нет. Сделал все по инструкции, собрал xkb-switch, скопировал плагин в (~/.vim/plugin, ~/.vim/doc, ~/.vim/xkbswitch.tr). Прописал в ~/.vimrc следующее:\r\n```\r\nlet g:XkbSwitchEnabled = 1 \r\nlet g:XkbSwitchLib = '/usr/lib/libxkbswitch.so' \r\nlet g:XkbSwitchIMappings = ['ru']\r\n```\r\n\r\nИ не работает. \r\nПопробовал: \r\n```\r\n$ xkb-switch -l \r\nus\r\nru\r\n```\r\nВ vim-е переключается с русской на английскую:\r\n```\r\n:call libcall('/usr/lib/libxkbswitch.so', 'Xkb_Switch_setXkbLayout', 'us')\r\n```\r\nтакже:\r\n```\r\n:echo g:XkbSwitchEnabled\r\n> 1\r\n\r\n:echo g:XkbSwitchLib\r\n> /usr/local/lib/libxkbswitch.so\r\n\r\n:echo g:XkbSwitchIMappings\r\n> ['ru']\r\n\r\n:echo libcall('/usr/local/lib/libxkbswitch.so', 'Xkb_Switch_getXkbLayout', '')\r\n> ru\r\n```\r\nПодскажите пожалуйста, что можно сделать?"},"comment":{"url":"https://api.github.com/repos/lyokha/vim-xkbswitch/issues/comments/233659781","html_url":"https://github.com/lyokha/vim-xkbswitch/issues/26#issuecomment-233659781","issue_url":"https://api.github.com/repos/lyokha/vim-xkbswitch/issues/26","id":233659781,"user":{"login":"lyokha","id":1219667,"avatar_url":"https://avatars.githubusercontent.com/u/1219667?v=3","gravatar_id":"","url":"https://api.github.com/users/lyokha","html_url":"https://github.com/lyokha","followers_url":"https://api.github.com/users/lyokha/followers","following_url":"https://api.github.com/users/lyokha/following{/other_user}","gists_url":"https://api.github.com/users/lyokha/gists{/gist_id}","starred_url":"https://api.github.com/users/lyokha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lyokha/subscriptions","organizations_url":"https://api.github.com/users/lyokha/orgs","repos_url":"https://api.github.com/users/lyokha/repos","events_url":"https://api.github.com/users/lyokha/events{/privacy}","received_events_url":"https://api.github.com/users/lyokha/received_events","type":"User","site_admin":false},"created_at":"2016-07-19T14:57:49Z","updated_at":"2016-07-19T14:57:49Z","body":"Добрый день. Говорят в поледних Убунтах есть проблема c самим *xkb-switch*, см. [этот баг](https://github.com/ierton/xkb-switch/issues/9). Проверьте, может ли *xkb-switch* переключать раскладки сам:\r\n\r\n```sh\r\nxkb-switch -s ru\r\nxkb-switch -s en\r\n```\r\n\r\nЕсли не сработает, то надо добиваться починки xkb-switch для Убунту."}}
{"actor":{"display_login":"lyokha"}}