The backslash of the Japanese keyboard is "ro"

Overview

When I was playing with Japanese Kali Linux (2020.2) in Virtual Box on Mac, I was having trouble entering the backslash \. As a result, I found that it was assigned to ro. It seems to be convenient, so I set it so that I can input in the same way on Mac. In Windows 10, both \ and ro were assigned to\(looks like\).

Is this common sense ...?

on (Kali) Linux

It was translated into Japanese by the following method. The keyboard layout was Japanese (OADG 109A). Kali Linux 2020.1 Introduction and Japanese localization|Security| DoRuby

When I was working in the terminal, I needed a command containing \. Following the Mac method, pressing ʻAlt + ` entered the mysterious character . This is really different. When I pressed the \ key in the Windows glue, \ came out. An error occurs when the command is executed without worrying about it. Akan? So, when I was touching various things, I found that I could input \ with ro (next to the left of right Shift).

on Mac OSX

The underscore / underscore _ is remembered by the finger as Shift + ro, but on Mac you can enter _ with just ro without Shift. Then let's adapt it to Linux. See below for how to change the key bindings using Karabiner-Elements. Settings to make it easier to enter backslashes on Mac by Karabiner-Elements --Monalog

Addendum: If you apply it as it is, the input will be replaced even in VirtualBox, and it was a mess. Exclude VirtualBox with frontmost_application_unless.

Setting example
{
  "title": "backslash",
  "rules": [
    {
      "description": "underscore to backslash",
      "manipulators": [
        {
          "from": {
            "key_code": "international1"
          },
          "to": [
            {
              "key_code": "international3",
              "modifiers": [
                "option"
              ]
            }
          ],
          "type": "basic",
          "conditions": [
            {
              "type": "frontmost_application_unless",
              "bundle_identifiers": [
                "^org\\.virtualbox\\.app\\.VirtualBoxVM"
              ]
            }
          ]
        }
      ]
    }
  ]
}
Reference) [Karabiner-Elements setting items are summarized --Qiita](https://qiita.com/s-show/items/a1fd228b04801477729c#conditionsbundle_identifiers)

on Windows 10

By the way, when I checked how Windows was, \ and ro were assigned to the same input, that is,\that looks like\. Which one it looks like depends on the application.

Why didn't you notice it until now ...

Recommended Posts

The backslash of the Japanese keyboard is "ro"
Japanese translation of the man-db manual
Science "Is Saito the representative of Saito?"
Japanese translation of the util-linux manual
Japanese translation of the iproute2 manual
What is the cause of the following error?
Japanese translation of the LDP man-pages manual
[python] [meta] Is the type of python a type?
The update of conda is not finished.
Japanese translation: PEP 20 --The Zen of Python
The answer of "1/2" is different between python2 and 3
The origin of Manjaro Linux is "Mount Kilimanjaro"
FAQ: Why is the comparison of numbers inconsistent?
The value of pyTorch torch.var () is not distributed
This is the only basic review of Python ~ 1 ~
This is the only basic review of Python ~ 2 ~
Around the place where the value of Errbot is stored
What is the true identity of Python's sort method "sort"? ??
Scroll Japanese on the LED of RaspberryPi Sense HAT
Zip 4 Gbyte problem is a story of the past
What is a recommend engine? Summary of the types
When you think the update of ManjaroLinux is strange
Why is the first argument of [Python] Class self?
The copy method of pandas.DataFrame is deep copy by default
The beginning of cif2cell
The meaning of self
the zen of Python
The story of sys.path.append ()
Japanese localization of Pycharm
Revenge of the Types: Revenge of types
About the garbled Japanese part of pandas-profiling in Jupyter notebook
Sort the string array in order of length & Japanese syllabary
Make the function of drawing Japanese fonts in OpenCV general
What is the default TLS version of the python requests module?
The image display function of iTerm is convenient for image processing.
Initial setting of Mac ~ Python (pyenv) installation is the fastest
Numerical approximation method when the calculation of the derivative is troublesome
Can't input Japanese in Flatpak application? The cause is Fcitx.
Is there a secret to the frequency of pi numbers?
Is the lottery profitable? ~ LOTO7 and the law of large numbers ~