Jun's Blog

Output, activities, memo and etc.

Entries from 2021-01-01 to 1 year

Sway, i3: Set up Japanese input with fcitx5.

In the past, I did set up Japanese input by fcitx. As a reference, here are the blog pages. However I noticed there is fcitx5 that is successor version of fcitx. It looks the UI is better. According to the ArchWiki fcitx5, fcitx5-mozc is "…

Setup and use Alacritty on Fedora

I am trying to use Sway window manager on Fedora, stopping the i3 window manager. Here is a Sway installation guide on Fedora. And after installing the Sway, I see the terminal emulator Alacritty is used as the window manager's default ter…

Upgrade Fedora 34 to 35

I referred How to Upgrade Fedora 34 to Fedora 35? - #7 by marcedwin - Ask Fedora. Here are the steps. $ sudo dnf upgrade --refresh $ sudo dnf install dnf-plugin-system-upgrade $ sudo dnf system-upgrade download --releasever=35 --allowerasi…

Fedora 35: Enable WiFi

I replaced wifi antenna cables on my Framework Laptopo as I broke those. I followed the Antena Replacement Guide. Fortunately it was succeeded. Now the Wifi works on Fedora 35 on my Framework Laptop. After replacing the Wifi cables, the Wi…

Cooking for the ketogenic diet

I introduced what I eat for my ketogenic diet at Ketogenic diet - Another Japan in the World. And today I would share what I am eating at home when I am cooking at home. The base of the food as a energy is a butter. This butter is an organ…

Part names of beef

I am trying to learn the price and taste and and etc for each part of the beef. This page might be updated repeatedly. Wikipedia beef English: Beef - Wikipedia, Cut of beef - Wikipedia Wikipedia beef Japanese: 牛肉 - Wikipedia Wikipedia be…

Fedora 35: Show GRUB 2 menu

After installing Fedora 35 on my Framework Laptop, I noticed the GRUB 2 menu is hidden on boot. Seeing a Ask Fedora page, the change looks since Fedora 2X. Anyway, here are the current setting related to GRUB 2. $ cat /etc/default/grub GRU…

Ketogenic diet

Seeing my photos on the previous blog page, I feel that I rarely take photos that I am on, especially the full body photo is very rare. Here is a photo of my full body in 2015. Comparing the photos of between past and now, I see my appeara…

BioHackathon Europe

I joined the BioHackathon Europe in Barcelona. That's a hacking event, co-working event related to biology. This time it's to select one project from 37 projects (There are 38 projects on the page, but the "Single Cell Multi-Omics Analysis…

PacBio HiFi sequencing

When I joined Biohackathon Europe in Barcelona recently, I knew PacBio HiFi (High Fidelity) sequencing technology [1] that is highly accurate long read sequencing by circular consensus long-read [2]. For the long read sequencing, there is …

Miniconda, Bioconda on Fedora and Galaxy

This page is the memo about installing miniconda (conda command) on Fedora Linux. I referred the document [1]. I wanted to install a bioconda package. Because I wanted to build a Galaxy tool using Planemo [2]. The tutorial is using biocond…

libinput and related tools

Recently I see customizing the libinput is useful to use input devices such as keyboard, trackpad (touchpad), trackpoind and mouse effectively on Linux. Here are the useful documents. https://wayland.freedesktop.org/libinput/doc/latest/ ht…

i3: Mouse emulation on keyboard

When I was looking at the ZSA's customizable keyboard: Plank EZ page - mouse emulation the keyboard on the firmware (hardware level), I was inspired. Maybe it's possible to emulate the mouse on the keyboard on the software level? The way 1…

i3: Setup bluetooth keyboard

I did set up my bluetooth keyboard by the company Golodtouch by command line on the i3 window manager on Fedora 34. Here are the list I checked to do it. I referred the [1][2][3]. Check the bluetooth service. $ systemctl status bluetooth C…

i3: Set up Japanese input environment - kkc

Seeing https://wiki.archlinux.org/title/Localization/Japanese, the project Anthy is actually dead project. So, I changed the Japanese input from fcitx-anthy to fcitx-kkc. $ sudo dnf remove fcitx-anthy $ sudo dnf install fcitx-kkc

i3: Touch-pad: natural scrolling and lock

Natural scrolling The natural scrolling is like double finger swipe like Mac OSX. As a default of i3 config, the double finger swipe scrolling is opposite direction. To enable it, add the following file, and restart the X. $ sudo vi /etc/X…

How to use "git bisect".

I used git bisect command related to this issue on the Ruby project. The situation is that the some tests in test/ruby/test_jit.rb fail on the v2_7_4 tag, but pass on v2_7_3 tag on the ruby/ruby repository. So, here is steps to find which …

Freeplane: A better compatible FreeMind alternative

While a mind map tool "FreeMind"'s development has not been updated for a long time and I see some bugs there, I can see the Freeplane is a better compatible FreeMind software on Mac and Linux now. You can open a .mm file created by FreeMi…

How to debug C code in Ruby (ruby/ruby).

This article is to debug the C source code running a specific unit test in Ruby itself (ruby/ruby). First you can set your preferred compiler flags like this. Build $ autoconf $ optflags=-O0 debugflags="-g3 -ggdb3 -gdwarf-4" \ ./configure …

i3: Set up Czech input environment 3

Last time I shared the top of Czech input environment here. I see the Czech UCW keyborad is the best choice so far. $ vi .config/i3/config ... exec --no-startup-id "setxkbmap -layout us,cz -variant ,ucw -option grp:caps_switch" ... $ setxk…

i3: Set up Czech input environment 2

I wrote the article to set up Czech keyboard input environment. junaruga.hatenablog.com This time I would share what I improved for the topic, as I heard the info from my colleagues. Thanks! The key command is setxkbmap (= Set X keyboard m…

Feodra: Where is my core file?

I am trying to make a friend with binary and debug reading 2 books "BINARY HACKS" and "DEBUG HACKS" written in Japanese. This time I would write about the segmentation fault and core file to debug on Fedora 33. Change the maximum size of t…

SSH key best practice

When investigating the current best practice to create a secure SSH key, I found this page. encryption - What are ssh-keygen best practices? - Information Security Stack Exchange The page said that the key "ed25519" was introduced at OpenS…

How to rollback from cgroups v1 to v2.

August 2020, last year, I changed the cgroups from v2 as a default setting to v1 on my Fedora because I wanted to run Docker on my Fedora [1]. The Docker did not support cgroups v2 at that time. However the time has passed. The Docker 20.1…

i3: Set up Czech input environment

In my past blog, I wrote about how to set up i3 Japanese input environment [1]. This time I wrote about how to set up Czech input environment on i3. The articles [2], [3] were helpful. First check the current keyword setting by setxkbmap c…

Molecule Generation Experience

I wrote the article about the molecule recommendation before [1]. Now the interesting service called "IBM" MolGX" (IBM Molecule Generation Experience) was launched from IBM Research [2][3][4]. Updated by 12th March 2021. IBM Research also …

A sustainable laptop: Framework laptop

I see the success of the business model of FairPhone who does things differently unlike other phone companies, and the growth, who was featured by World Economic Forum recently [1]. Now we can see the laptop version from a new company "Fra…

Nature Aging launched

Nature Aging [1] was launched on 14th January 2021. Here is the message. [2] One of the articles: "Artificial intelligence in longevity medicine" [3] looks interesting. One of the authors, Alex Zhavoronkov who published the book "THE AGELE…

Memo: WHO Model List of Essential Medicines

This one. [1][2]. According to [3] - definition, the essential medicines are those that satisfy the priority health care needs of the population. According to [1], are the medications considered to be most effective and safe to meet the mo…

Scaling the Scientific Method

2 challenges related to scaling scientific method I did read the book Lifespan [1], that is a new detailed inclusive report and history of aging biology. I see 2 challenges in the process of the science. First, verifying a hypothesis needs…