headmelted / codebuilds

Community builds of Visual Studio Code for Chromebooks and Raspberry Pi
https://code.headmelted.com
MIT License
1.03k stars 56 forks source link

Use dvorak keyboard layout #34

Closed nullset closed 7 years ago

nullset commented 7 years ago

Hi, I just installed VSCode via your instructions, and it works amazingly well! Thanks for all your hard work! One question though ... I typically use the Dvorak keyboard layout (yes, I'm one of those people) and I can't figure out how to start the chroot for VS Code with the keyboard of my choice. Any pointers?

DanielFallon commented 7 years ago

you should be able to enter the chroot manually using enter-chroot, see the crouton documentation for more details on that

once inside, this build is based on ubuntu. The command to fix it I believe looks like this?

setxkbmap -layout us,us -variant dvorak
nullset commented 7 years ago

Great, thanks for the help. Unfortunately when trying to do that I only get an error back Cannot open display "default display". Looking on various forums it appears that it may be an issue with Xiwi, as I've not seen anything that definitively fixes the issue.

magic-k commented 7 years ago

You closed this issue a bit prematurely. Yes it's a xiwi thing but there's a ~/.xiwirc exact for that. The problem ist, that setxkbmap needs an xserver so you can't set the language in a terminal. I have the following in my ~/.xiwirc setxkbmap de

With that i can start vscode with startxiwi and have german keyboard layout.