Jun's Blog

Output, activities, memo and etc.

Info-tech

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…

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…

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…

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…

The best devices/apps 2020

As a 2nd part of my reflection in 2020, I share my best devices and apps I bought in 2020. Devices Fairphone 3 [1] When I wanted to buy the battery replaceable phone that users can replace it easily by themselves, this phone attracted me. …

i3: Install & set up Japanese input environment

I installed and did set up Japanese input environment on i3 window manager on Fedora. Here is the working log. Install Install the following packages at first. $ sudo dnf install fcitx $ sudo dnf install fcitx-configtool $ sudo dnf install…

i3: window manager

I have an issue that is mouse lag in Gnome 3, Fedora 32. I could not find the solution after checking it. This issue does not happen on other installed window managers KDE Plasma and dwm. And it also did not happen on Gnome 3 in another la…

Install Fedora 32

Note to install Fedora 32 to a laptop. I like the way to install it from the USB bootable media. Go to https://getfedora.org/en/, then check the way https://getfedora.org/en/workstation/download/. Create the USB media Referr this web site.…

Install Miniconda3 on Fedora

Install Miniconda referring the Miniconda and Installing in silient mode. Install /home/root/local/miniconda3-py38-4.8.3 is installed directory in my case. $ wget https://repo.anaconda.com/miniconda/Miniconda3-py38_4.8.3-Linux-x86_64.sh $ …

RHEL 8, 7 and Fedora container images

Something great is happening.. It's time to add RHEL8, 7 to your applications' CI test case. RHEL8 $ docker run --rm -t registry.access.redhat.com/ubi8 bash -cx "uname -a; cat /etc/os-release" + uname -a Linux b065f4dfb56b 4.4.74-boot2dock…

Install podman & useful podman commands

I would show you how to install podman the alternative docker. The difference between docker and podman is docker: Running the docker daemon to operate the containers. podman: Do not need to run a daemon to operate the containers. As a ini…