{"id":135,"date":"2011-04-26T20:41:06","date_gmt":"2011-04-26T18:41:06","guid":{"rendered":"http:\/\/blog.garion.org\/?p=135"},"modified":"2011-04-26T20:41:06","modified_gmt":"2011-04-26T18:41:06","slug":"using-virt-manager-on-macosx-with-dvorak-keyboard-layout","status":"publish","type":"post","link":"https:\/\/joost.vunderink.net\/blog\/2011\/04\/26\/using-virt-manager-on-macosx-with-dvorak-keyboard-layout\/","title":{"rendered":"Using virt-manager on MacOSX with Dvorak keyboard layout"},"content":{"rendered":"<p>I have a hosted Ubuntu machine that runs KVM for virtualisation. I just created a new VM, and wanted to use virt-manager to get a graphical VNC connection to the machine.<\/p>\n<p>So, I did the following on my macbook with Dvorak keyboard layout:<\/p>\n<pre>ssh -X kvm-host.mydomain.nl\r\nsudo virt-manager -c qemu:\/\/\/system<\/pre>\n<p>I double-clicked the new VM, and got the graphical screen with the login prompt. However, when I started typing my username, I quickly noticed that the letters that appeared in no way corresponded to the keyboard layout I use, Dvorak. It wasn&#8217;t even a Dvorak\/Qwerty juxtaposition, but was utterly unusable. For example, the 8 key produced an Enter character.<\/p>\n<p>Google helped me find <a href=\"http:\/\/blog.loftninjas.org\/2010\/11\/17\/virt-manager-keymaps-on-os-x\/\">a blog post which described the same issue<\/a>. So I ran <strong>virsh edit my-vm-name<\/strong> and added <strong>keymap=&#8217;en-us&#8217;<\/strong> to the <strong>&lt;graphics&gt;<\/strong> tag, restarted my vm, and restarted libvirt on the host. That improved things already &#8211; the 8 key produced an 8. But now I was stuck with Dvorak vs Qwerty problems.<\/p>\n<p>Some more searching found me <a href=\"http:\/\/copilotco.com\/mail-archives\/qemu.2009\/msg14271.html\">a blog post which contains a Dvorak keymap file for qemu<\/a>. I put that in <strong>\/usr\/share\/qemu\/keymaps\/en-dv<\/strong> and changed <strong>en-us<\/strong> to <strong>en-dv<\/strong> in the <strong>&lt;graphics&gt;<\/strong> tag.<\/p>\n<p>I think it&#8217;s great that people write down problems like these and the solutions they found! Makes it much easier for others to solve similar problems. Hopefully, one day, someone will find this blog post and fix their problem because of it \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have a hosted Ubuntu machine that runs KVM for virtualisation. I just created a new VM, and wanted to use virt-manager to get a graphical VNC connection to the machine. So, I did the following on my macbook with &hellip; <a href=\"https:\/\/joost.vunderink.net\/blog\/2011\/04\/26\/using-virt-manager-on-macosx-with-dvorak-keyboard-layout\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[43,46,41,214,44,45,40,219,42],"class_list":["post-135","post","type-post","status-publish","format-standard","hentry","category-sysadmin","tag-dvorak","tag-dvorak-keyboard-layout","tag-kvm","tag-linux","tag-macbook","tag-macosx","tag-qemu","tag-sysadmin","tag-virt-manager"],"_links":{"self":[{"href":"https:\/\/joost.vunderink.net\/blog\/wp-json\/wp\/v2\/posts\/135"}],"collection":[{"href":"https:\/\/joost.vunderink.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/joost.vunderink.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/joost.vunderink.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/joost.vunderink.net\/blog\/wp-json\/wp\/v2\/comments?post=135"}],"version-history":[{"count":3,"href":"https:\/\/joost.vunderink.net\/blog\/wp-json\/wp\/v2\/posts\/135\/revisions"}],"predecessor-version":[{"id":138,"href":"https:\/\/joost.vunderink.net\/blog\/wp-json\/wp\/v2\/posts\/135\/revisions\/138"}],"wp:attachment":[{"href":"https:\/\/joost.vunderink.net\/blog\/wp-json\/wp\/v2\/media?parent=135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/joost.vunderink.net\/blog\/wp-json\/wp\/v2\/categories?post=135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/joost.vunderink.net\/blog\/wp-json\/wp\/v2\/tags?post=135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}