A story about a Linux beginner putting Linux on a Windows tablet

This is Qiita's first post. It's a poor sentence, but it would be helpful if you could get along with me.

Windows tablet is heavy (subject is huge)

I'm using an ASUS Transbook R106HA (although the contents seem to be T102HA) purchased around October 2018, but with 4GB of memory, it's still severe and heavy for Windows 10. did. If I use Windows, I thought it would be okay to use my laptop laptop, so I left it until June 2019.

The reason I decided to reuse it

The battery of the notebook PC that I usually use is exhausted, and if the lecture is for 3 consecutive periods, I have fallen into a situation where it will run out in the middle unless the charge is inserted once. Then, as a result of thinking that I could improve the tablet I mentioned earlier and use it, I decided to install Linux, Maru.

In making Linux

I would like to install Linux in advance. For the time being, introduce the specifications.

ASUS Transbook T102HA(R106HA)
CPU Intel Atom x5-Z8350
storage eMMC:64GB
RAM 4GB

Also, even if you wear a keyboard dock soberly, it's good that it doesn't weigh 1 kg. And as for the distribution to be included, this time I have selected the Xubuntu 18.04 LTS version. The reason is that the load on the CPU is relatively small.

Please refer to here for the installation procedure.

It went smoothly until the installation was completed.

Occurrence of trouble

I had some troubles when I tried using it, so I will write it in addition to the memorandum.

--Screen related troubles

As mentioned in the article I referred to earlier, if this tablet is the default, the vertical state of the main body will be the default.

If you rotate the screen 90 degrees to the right, it will be in the normal orientation when the main unit is laid down, so set the orientation to the right from xrandr -o right or screen settings on the terminal. However, since the coordinates when touched do not move, it is necessary to calibrate the touch panel as well.

Hitting xinuput list will output a list of input devices such as mouse and keyboard. So get the name of the touch panel. Then enter the command xinput set-prop'dev-name''Coordinate Transformation Matrix' 0 1 0 -1 0 1 0 0 1 to calibrate. ('dev-name' can be replaced with id, but it is not recommended because it will change when forced termination etc.)

For the acquisition of the input device name and the principle, this is Reference. From here, the Coordinate Transformation Matrix is

\begin{matrix}
\cos\theta & \sin\theta & 0 \\
-\sin\theta & \cos\theta & 0 \\
0 & 0 & 1
\end{matrix}

It has become. 0 degrees (normal) and 90 degrees (when correcting the touch coordinates to the right) are

\theta = 0 \\
\begin{matrix}
1 & 0 & 0 \\
0 & 1 & 0 \\
0 & 0 & 1 
\end{matrix} \\
\theta = 90 \\
\begin{matrix}
0 & 1 & 0 \\
-1 & 0 & 0 \\
0 & 0 & 1 \\
\end{matrix}

Will be. Even if I remember, I think I will only use it at 0 or 90 degrees after all ...

I wrote it in ~ / .profile. I think it's probably better to write it somewhere else. (Not applicable on the login screen)

--Bluetooth starts without permission

For some reason, immediately after installation, Bluetooth was turned on by default at startup. At first I thought that it was in either the profile or the config, and when I searched for ~~ with the clumsy keyword of ~~ linux bluetooth automatic connection ~~, here I arrived at the article.

[policy]
AutoEnable == true

Make changes and reboot. But failed. As a result of rushing and looking at various things, I was able to prevent it from turning on automatically if I turned it off because Blueman Bluetooth Manager was included in the automatic start application.

After maintenance

I was able to solve the cause of the inconvenience in using it. Since it is a tablet PC as a future issue, I would like to be able to detect screen rotation and automatically switch the screen orientation. As an aside, I used to install Linux Mint MATE before installing Xubuntu, but I changed to Xubuntu because the battery life is very poor (it only lasts for about an hour). It was a good experience to be able to experience the difference between distros in this way. ~~ Or rather, there is a problem on the side of Linux Mint who can not change the screen brightness ~~

Postscript (2020/1/28)

I was able to talk at a later date → https://qiita.com/Requin/items/cde193aaf4b9ff5dae78

Recommended Posts

A story about a Linux beginner putting Linux on a Windows tablet
A story about a Linux beginner passing LPIC101 in a week
Create a Linux environment on Windows 10
A story about a GCP beginner building a Minecraft server on GCE
A story about putting Chrome OS (not Chromium) on surface GO
[Windows] A story of a beginner who stumbles on Anaconda's PATH setting.
A story about a 503 error on Heroku open
A story about trying to run JavaScripthon on Windows and giving up.
Open a ZIP created on Windows in Linux
A story about displaying article-linked ads on Jubatus
Linux (WSL) on Windows
A story about building an IDE environment with WinPython on an old Windows OS.
A story about migrating entire Linux disk via SSH
SoC FPGA: A small story when using on Linux
Linux on Windows -1-: debian introduction
Use Linux on Windows 10 (WSL2)
A story about creating a UNIX / Linux compatible OS from scratch
A story about a python beginner stuck with No module named'http.server'
WSL2 ~ Linux on Windows ~ (Part 1: Introduction)
Run a Linux server on GCP
A story about using Python's reduce
pykintone on Windows Subsystem for Linux
A story about wanting to think about garbled characters on GAE / P
A story about a beginner making a VTuber notification bot from scratch in Python
A story I was addicted to trying to install LightFM on Amazon Linux
[Memorandum] A story about trying OpenCV tutorial (face recognition) in a Windows environment
A story about creating an anonymous channel on Slack from zero knowledge
A story of a deep learning beginner trying to classify guitars on CNN
A story about a beginner trying hard to set up CentOS 8 (procedure memo)
A story about deploying a Twitter-linked app created using Flask + gunicorn on Heroku
Verification of how to periodically execute a script on a Linux server on Windows
Build Linux on a Windows environment. Steps to install Laradock and migrate
[UE4] Build DedicatedServer on Windows and Linux
A story about remodeling Lubuntu into a Chromebook
Install wsl2 and master linux on windows
A story about machine learning with Kyasuket
Build a simple WebDAV server on Linux
Make Unity Accelerator a service on Linux
Creating a python virtual environment on Windows
Build a Samba server on Arch Linux
A story about Python pop and append
I built a TensorFlow environment on windows10
Run matplotlib on a Windows Docker container
A story about trying to install uwsgi on an EC2 instance and failing
A story about a programming beginner who made a business efficiency map application with GeoDjango
Automatic Zakuzaku, Bitcoin. A story about a Python beginner making a coin check 1-minute chart
About Linux
[I'm an IT beginner] I tried my best to implement Linux on Windows
About Linux
About Linux
About Linux
About Linux ①
A addictive story when using tensorflow on Android
A tool for creating symbolic links on Windows
Install Windows 10 from a Linux server with PXE
Simply build a Python 3 execution environment on Windows
A story about operating a GCP instance from Discord
A story about Go's global variables and scope
Cross-compile windows version from nim on arch | linux
A story about implementing a login screen with django
Organize files on Windows with Linux commands-using WSL-