Add section on installing ryuk on Windows
This commit is contained in:
parent
797e882b85
commit
64929e58ef
1 changed files with 50 additions and 35 deletions
85
README.org
85
README.org
|
@ -47,48 +47,63 @@
|
|||
|
||||
* Installation
|
||||
|
||||
** X11
|
||||
** Linux
|
||||
|
||||
To install and use the X11 keyboard, copy the ~xkb/ryuk~ file to where
|
||||
XKB looks for these files. In my case this is
|
||||
~/usr/share/X11/xkb/symbols~. Once put in the proper place, next to,
|
||||
for example, ~us~, set your =XkbVariant= to ~ryuk~. For example, I have in
|
||||
my ~/etc/X11/xorg.conf.d/10-evdev.conf~ file the following:
|
||||
On Linux there's 2 ways you can install the keyboard layout. [[X11]] for the
|
||||
graphical environment and [[TTY]] for the non-graphical environment.
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
# ...
|
||||
*** X11
|
||||
|
||||
Section "InputClass"
|
||||
Identifier "evdev keyboard catchall"
|
||||
MatchIsKeyboard "on"
|
||||
MatchDevicePath "/dev/input/event*"
|
||||
Driver "evdev"
|
||||
Option "XkbLayout" "ryuk"
|
||||
EndSection
|
||||
To install and use the X11 keyboard, copy the ~xkb/ryuk~ file to where
|
||||
XKB looks for these files. In my case this is
|
||||
~/usr/share/X11/xkb/symbols~. Once put in the proper place, next to,
|
||||
for example, ~us~, set your =XkbVariant= to ~ryuk~. For example, I have in
|
||||
my ~/etc/X11/xorg.conf.d/10-evdev.conf~ file the following:
|
||||
|
||||
# ...
|
||||
#+END_SRC
|
||||
#+BEGIN_SRC conf
|
||||
# ...
|
||||
|
||||
Since your distribution may have Xorg configured differently, you
|
||||
may have to specify it in a different file or a different section,
|
||||
but please note that only the line starting with ~Option~ was put
|
||||
there by me.
|
||||
Section "InputClass"
|
||||
Identifier "evdev keyboard catchall"
|
||||
MatchIsKeyboard "on"
|
||||
MatchDevicePath "/dev/input/event*"
|
||||
Driver "evdev"
|
||||
Option "XkbLayout" "ryuk"
|
||||
EndSection
|
||||
|
||||
** TTY
|
||||
# ...
|
||||
#+END_SRC
|
||||
|
||||
To install the TTY keyboard layout you should gzip the
|
||||
~kbd/ryuk.map~ file, which can be achieved by running ~make~ from the
|
||||
~kbd~ map, and put the resulting file where the kbd utilities can find
|
||||
them. In my case this is ~/usr/share/kbd/keymaps/i386/colemak/~, and I
|
||||
choose the ~colemak~ directory because the ~ryuk~ files are based
|
||||
directly off the colemak files.
|
||||
Since your distribution may have Xorg configured differently, you
|
||||
may have to specify it in a different file or a different section,
|
||||
but please note that only the line starting with ~Option~ was put
|
||||
there by me.
|
||||
|
||||
Once put in the proper place you should specify that the TTY should
|
||||
use your keymap by putting the following in your ~/etc/vconsole.conf~:
|
||||
*** TTY
|
||||
|
||||
#+BEGIN_SRC sh
|
||||
KEYMAP=ryuk
|
||||
#+END_SRC
|
||||
To install the TTY keyboard layout you should gzip the
|
||||
~kbd/ryuk.map~ file, which can be achieved by running ~make~ from the
|
||||
~kbd~ map, and put the resulting file where the kbd utilities can find
|
||||
them. In my case this is ~/usr/share/kbd/keymaps/i386/colemak/~, and I
|
||||
choose the ~colemak~ directory because the ~ryuk~ files are based
|
||||
directly off the colemak files.
|
||||
|
||||
This should work at least on systems that use systemd. I don't know
|
||||
how other init systems set it.
|
||||
Once put in the proper place you should specify that the TTY should
|
||||
use your keymap by putting the following in your ~/etc/vconsole.conf~:
|
||||
|
||||
#+BEGIN_SRC sh
|
||||
KEYMAP=ryuk
|
||||
#+END_SRC
|
||||
|
||||
This should work at least on systems that use systemd. I don't know
|
||||
how other init systems set it.
|
||||
|
||||
** Windows
|
||||
|
||||
On Windows you will need to install the [[https://www.microsoft.com/en-us/download/details.aspx?id=22339][Microsoft Keyboard Layout Creator 1.4]]
|
||||
to be able to compile the keyboard layout. Once installed open the =ryuk.klc=
|
||||
file in it and go to Project -> Build DLL and Setup Package. Once this has
|
||||
finished it'll ask you if you want to open the directory it's built the files
|
||||
in (which should be =%USERPROFILE%\Documents\ryuk=). Go to that directory and
|
||||
run =setup.exe=. After the installation is finished you'll have to restart
|
||||
Windows and then you can start using the keyboard layout.
|
||||
|
|
Loading…
Reference in a new issue