1- #################################
2- Using ydotool with nerd-dictation
3- #################################
1+ #####################################
2+ Using `` ydotool `` with nerd-dictation
3+ #####################################
44
55This guide explains how to get and configure ``ydotool `` to simulate typing with ``nerd-dictation ``,
66which brings support for typing on Wayland and languages other than English.
77
8- When should I use ydotool
9- =========================
8+ When should I use `` ydotool ``?
9+ ==============================
1010
1111By default, ``nerd-dictation `` uses the ``xdotool `` program to simulate writing with the keyboard.
1212
1313This program has two major limitations:
1414
15- # It is only compatible with Xorg, not with Wayland.
16- If you want to use Wayland, the program will not type anything.
17- # It suffers from considerable slowdowns when writing characters not found in the English language,
18- temporarily freezing your computer's display.
15+ #. It is only compatible with Xorg, not with Wayland.
16+ If you want to use Wayland, the program will not type anything.
17+ #. It suffers from considerable slowdowns when writing characters not found in the English language,
18+ temporarily freezing your computer's display.
1919
2020There is a program named ``ydotool `` that you can use as an alternative to ``xdotool ``.
2121``ydotool `` does not rely on the X server, so it is compatible with Wayland.
@@ -25,8 +25,8 @@ It also offers better performance in languages other than English.
2525The flip side is that it requires some system configuration to use conveniently.
2626Also, it lacks accessible documentation, which is why it is not the default.
2727
28- Installing ydotool
29- ==================
28+ Installing `` ydotool ``
29+ ======================
3030
3131You will need to download the latest version of the program found on its git repository:
3232https://github.com/ReimuNotMoe/ydotool/releases/
@@ -37,8 +37,8 @@ You should then place them in a place that's available on your ``$PATH`` environ
3737**Warning: ** While ``ydotool `` is available on the ``apt `` package manager on Ubuntu 22.04 LTS,
3838the Debian package is outdated.
3939
40- Configuring ydotool
41- ===================
40+ Configuring `` ydotool ``
41+ =======================
4242
4343To simulate typing, the program needs access to your ``/dev/uinput `` device.
4444By default, this requires root privileges every time you run ``ydotool ``,
@@ -82,8 +82,8 @@ for performance reasons. You needs to run ``ydotoold`` before you start using ``
8282To avoid running it every time you start the computer, you can add it to your startup programs.
8383The steps depend on your distribution, so we'll let you look this up.
8484
85- Running nerd dictation with ydotool
86- ===================================
85+ Running nerd dictation with `` ydotool ``
86+ =======================================
8787
8888To run ``nerd-dictation `` with ``ydotool ``, use the ``--simulate-input-tool `` argument.
8989
0 commit comments