The goodness of the touch screen disappeared when the tablet PC was made into a Manjaro i3 environment

Work memo with Manjaro i3 in TECLAST X4.

I put a mouseless window manager in the X4, which is supposed to be 2-in-1 on the touch screen, and I am straying.

Purpose

――Preparing an environment where you can write with Manjaro, I just wanted to try it

Preparation environment

--TECLAST X4 11.6 inches --USB flash memory 8GB

It is a tablet PC with a delicate weight to carry around.

result

Achievement

--Manjaro i3, worked --Tiling type likes! --You can now access GitHub, watch Twitter, and post on Qiita.

Unachieved

--Transparent with Picom! Wanted to try --Neither tmux nor Vim even hit the rc file --I put VSCode, but just put it and settings.json/keybindings.json remains as it is 2020-12-27-000509_1920x1080_scrot.png

Simple flow of OS installation

  1. Get the iso file of Manjaro i3
  2. Create a USB flash drive for booting from an iso file with Rufus
  3. USB boot and start installation
  4. Start the PC and enter the BIOS screen by pressing the ESC key when the boot logo is displayed.
  5. At the bottom of the Save & Exit tab, there is a list where you can select the boot source, so select the USB flash drive you plugged in.
  6. The boot confirmation screen is displayed, and Boot as it is without changing tz, keytable, and lang.
  7. The LIVE Manjaro i3 environment starts and "Manjaro Hello" is displayed in the center of the screen.
  8. There is a network-like icon at the bottom right, so connect to Wifi etc.
  9. Select "Launch installer" at the bottom of Manjaro Hallor
  10. If the installer is garbled and you don't see any letters at all, there is a pull-down at the bottom center of the first screen of the installer, from which you can select the language, so select English.
  11. After that, follow the installation wizard, tz and keytable can be changed here as well
  12. Reboot when the whole process is complete

After OS installation

--For Mod, Win key was the initial value --In Terminal, Mod + Return was the initial shortcut key

First update

#Searching for a nearby repository (fasttrack takes a long time for a total scan, so
$ sudo pacman-mirrors --geoip
$ sudo pacman -Syu

Minimum required package

#If it is already included, it will be treated as a reinstall
$ sudo pacman -S gvim git zsh

#This is also just in case
$ sudo pacman -S ntp
$ timedatectrl status
$ sudo timedatectrl set-ntp true

Then AUR

$ yay -S google-chrome
$ yay -S visual-studio-code-bin

#Backup tool
$ yay -S timeshift
* Timeshift from dmenu-Initial setting with launcher

Terminal environment (Zsh + Prezto)

$ zsh
$ git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
$ setopt EXTENDED_GLOB
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
  ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
done
$ chsh -s /usr/bin/zsh

Reference: https://dev.classmethod.jp/articles/zsh-prezto/

Japanese input

$ sudo pacman -S fcitx-im fcitx-configtool fcitx-mozc fcitx-gtk2 fcitx-gtk3 fcitx-qt5

~/.xprofile


# Key repeat
xset r rate 200 30 (key repeat)

# ctrl/Replace caps
setxkbmap -option "ctrl:nocaps"

# Japanese input method
export LANG="ja_JP.UTF-8"
export XMODIFIERS="@im=fcitx"
export XMODIFIER="@im=fcitx"
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export DefaultIMModule=fcitx

~/.i3/config


# Autostart applications
exec --no-startup-id fcitx

Japanese font

$ sudo pacman -S adobe-source-han-sans-jp-fonts
$ sudo pacman -S noto-fonts-emoji

Font setting procedure

  1. Ctrl + Mod + b
  2. 7 System & Settings
  3. 1 Appeearance
  4. 3 Set font
  5. Select Source Han Sans JP Normal

Avoid garbled characters in Conky gadgets in English

/usr/bin/start_conky_maia


#!/bin/bash

LC_ALL=C conky -c /usr/share/conky/conky1.10_shortcuts_maia &&
LC_ALL=C conky -c /usr/share/conky/conky_maia &&

exit 0

Power saving

$ yay -S tlp powertop
$ sudo tlp start

Wallpaper change

$ nitrogen

Other personal settings

~/.i3/config


#############################
## user settings           ##
#############################
#Japanese input
exec --no-startup-id fcitx

# Alt +To bind window close with F4
bindsym Mod1+F4 kill

#Shortcut key to start the browser
bindsym $mod+Shift+Return exec google-chrome-stable

#Change focus target movement to match vim
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right

#Moving the focused window itself
bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right

#Specifying the direction to divide
bindsym $mod+backslash split h;exec notify-send 'tile horizontally'
bindsym $mod+minus split v;exec notify-send 'tile vertically'

bindsym $mod+Ctrl+Shift+h exec xdg-open /usr/share/doc/manjaro/i3_help.pdf

at the end

The mouselessness has been achieved brilliantly and the touch screen is not utilized! Consider the opportunity to touch somehow! In any case, it's been a long time since I tried the work and Qiita, but it was good as a change of mood because it was the end of the year.

Recommended Posts

The goodness of the touch screen disappeared when the tablet PC was made into a Manjaro i3 environment
[Python / C] I made a device that wirelessly scrolls the screen of a PC remotely.
I made a function to check the model of DCGAN
I made a dot picture of the image of Irasutoya. (part1)
I made a dot picture of the image of Irasutoya. (part2)
When generating a large number of graphs with matplotlib, I do not want to display the graph on the screen (jupyter environment)
When I start the virtual environment of conda, the prompt of bash collapses
I made a slack bot that notifies me of the temperature
[Kaggle] I made a collection of questions using the Titanic tutorial
I made a calendar that automatically updates the distribution schedule of Vtuber
I made a GAN with Keras, so I made a video of the learning process.
I made a program to check the size of a file in Python
I made a mistake in fetching the hierarchy with MultiIndex of pandas
I made a function to see the movement of a two-dimensional array (Python)
[Words spelled to me when I was in the first grade ①] I'm not afraid to build a programming environment.
The result was better when the training data of the mini-batch was made a hybrid of fixed and random with a neural network.
I made a tool to estimate the execution time of cron (+ PyPI debut)
What I was addicted to when creating a web application in a windows environment
I made an appdo command to execute a command in the context of the app
Creating software that mirrors the Android screen to a PC 2 Real-time touch edition
Summary of linux command techniques that I knew when I was a fledgling engineer
I made a tool to automatically back up the metadata of the Salesforce organization
I made a script to record the active window using win32gui of Python
A story that I was addicted to when I made SFTP communication with python
I made a github action that notifies Slack of the visual regression test