[Updated from time to time] PostmarketOS related notes

Last updated 5/20/2020

Installation

Refer to kapper1224's blog and Official wiki. However, since the official wiki does not have related items, it is necessary to use a lot of searches. Other reliable sources of information are Official GitLab Mainly Issue and OSAKANA TARO. This article uses Nexus 7 2012 grouper.

Phosh related as of 2020/04/22

It's faster than Plasma-mobile, but overall heavier. There is no interaction with tap operations. If you tap and succeed, you will get up in about 40 seconds, and if you fail to tap, there is no reaction, so you just have to wait.

most important

There is a Terminal disappearing bug. Be sure to install gnome-terminal and other working Terminals. As officially stated, if you use a password other than a number, you will not be able to unlock it and it will get stuck.

Bluetooth GUI Setting does not work properly. From Terminal

sudo apk add bluez-depricated
sudo /etc/init.d/bluetooth start
sudo hciconfig hci0 up
sudo blutoothctl

After that, [Arch Linux Wiki](https://wiki.archlinux.jp/index.php/Bluetooth#CLI_.E3.81.AB.E3.82.88.E3.82.8B.E8.A8.AD.E5.AE Same as .9A).

Japanese related

Around ʻapk search font, for the time being, around sudo apk add font-ipa`.

App related

There is surprising information in categories such as Apps.

Browser related

By default, most browsers disappear without error immediately after startup or while drawing a web page. Firefox has been confirmed to work with Settings here. For the time being, it works only with MOZ_ENABLE_WAYLAND = 1. Dillo started as it is, but there is something wrong with the input from the virtual keyboard.

Anbox Also on the Official wiki, but not available on Armv7. However, I tried to use it without noticing it, but the error was different, so it seems to be a bug bug.

qemu related

Some grabs require the --display = gtk option for pmbootstrap qemu. You can use --host-qemu because of lack of qemu driver in chroot. The collision detection of the mouse arrow is not at the tip of the arrow, but in the upward direction of the arrow.

setting file

It was also created arbitrarily in $ HOME / .config / pmbootstrap.cfg. From the behavior, I could assume a configuration file that I could not find in the document, so I found it by reading helpers / envkernel.sh. Documents and google searches aren't very reliable, and you can't do anything without reading the source.

Power related

Normally, the power cannot be turned off from the Power button. There is a power mark on the top, and it is possible from there. However, there is no confirmation that the power is off. Battery-related displays are unreliable. On Android, the battery that lasts for more than a day runs out in about two hours. If it runs out on the Nexus 7, it will be recharged from the promised overdischarge. It will not be possible to use it on the go. If it runs out, the screen will gradually darken.

investigating

Overuse of sudo. You should be able to reduce it further by setting. Is xorg-server-xwayland not included in the initial stage? <I checked the source and found it. Overall, wayland and xwayland are suspicious. Is it issue of this? Many gtk3 apps from GDK_BACKEND = wayland cannot be started. Terminal-related things aren't working properly either. Termite works fine, isn't it suspicious about xwayland? phosh: incorrect keyboard input in Xwayland apps Even with termite, I can't input control keys with a standard keyboard. Some keys such as up and down home can be arranged from the lower right of ABC mode. Keyboard-related research will be required even if it is used only with CUI.

Impressions

advantage

At present, transplantation seems to be working hard. There are more supported models and UI options than Ubuntu touch, and I feel the efforts of the people involved. As long as you follow the official method and use it in an environment close to the official one, you can enjoy using it without feeling any problems. The development status and support seem to be active.

Disadvantage

I had an unpleasant feeling when I was mainly using Python, but I feel it ad hoc from the design stage, such as how to place settings and configuration files. It is organized and not in the right place. It's distributed and the only way to find it is to read the source. pmbootstrap etc. are also compacted. It is a huge black box, and there is no processing such as halfway through. This is the opposite of simple routes such as Arch Linux or Alpine Linux. Only the options considered in advance are set as positive, and the options are passed to the callee for the time being. From the above, there is a strong impression that the correctness of the developer is being pushed to the user. Also, it is very difficult to play because it requires modification from the source level.

Conclusion

The installation is interesting and recommended, and it seems to be troublesome for engineers to actually use it on mobile phones. Due to the huge technical debt, there is a concern that something a little will follow the same path as conventional mobile Linux.

Recommended Posts

[Updated from time to time] PostmarketOS related notes
Notes on machine learning (updated from time to time)
vtkXMLUnstructuredGridReader Summary (updated from time to time)
vtkOpenFOAMReader Summary (Updated from time to time)
Engineer vocabulary (updated from time to time)
Tensorflow memo [updated from time to time]
Private Python handbook (updated from time to time)
Summary of vtkThreshold (updated from time to time)
[Notes / Updated from time to time] This and that of Azure Functions
[Note] AI / machine learning / python related websites [updated from time to time]
Summary of gcc options (updated from time to time)
[Updated from time to time] LetCode algorithm and library
OpenFOAM post-processing cheat sheet (updated from time to time)
progate Python learning memo (updated from time to time)
Useful help sites, etc. (updated from time to time)
Machine learning python code summary (updated from time to time)
Apache settings, log confirmation, etc. (* Updated from time to time)
Anaconda updated from 4.2.0 to 4.3.0 (python3.5 updated to python3.6)
[Updated from time to time] Review of Let Code NumPy
I read the Chainer reference (updated from time to time)
[Updated from time to time] Summary of design patterns in Java
Python (from first time to execution)
Updated to Python 2.7.9
Deep Learning from scratch ① Chapter 6 "Techniques related to learning"
Sum from 1 to 10
Understand design patterns by comparing implementations in JavaScript and Java [Updated from time to time]
[Updated from time to time] Python memos often used for data analysis [N division, etc.]
A memorandum of commands, packages, terms, etc. used in linux (updated from time to time)
(Updated from time to time) Storage location of various VS Code configuration files Memorandum memo
Python --Notes when converting from str type to int type
Notes on upgrading discord.py from async to rewrite version
Changes from Python 3.0 to Python 3.5
Changes from Python 2 to Python 3.0
List of my articles that may be useful in competition pros (updated from time to time)
Transition from WSL1 to WSL2
From editing to execution
Updated Hospital_dashboard to ver.2.0
[Introduction to matplotlib] Read the end time from COVID-19 data ♬
Summary of folders where Ruby, Python, PostgreSQL, etc. are installed on macOS (updated from time to time)