Generating QR Code from Linux command line

Published on Author admin

To generate QR Code from Linux command line you can use qrencode tool. Use-case: * transfer config/text files from Linux machine to mobile phone * transfer config/text files from Linux machine when it is not possible to directly copy it (i.e. SSH session inside remote RDP session where copy to clipboard is disabled) Installation: dnf… Continue reading Generating QR Code from Linux command line

Running Docker on Fedora 31 - revert systemd configuration to use cgroup v1

Published on Author admin

Fedora 31 is first major distro with cgroup v2 (unified hierarchy). Follow below steps to make Docker working on it: Add Docker CE repository: sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo Install Docker CE: sudo dnf install docker-ce When you try to run Docker container on freshly installed Fedora 31, you will get following error message: docker:… Continue reading Running Docker on Fedora 31 - revert systemd configuration to use cgroup v1

Enable hibernation on Fedora Linux

Published on Author admin

Enable hibernation To enable hibernation (suspend to disk) on Fedora Linux follow below steps: Get path to your current SWAP partition: sudo blkid | grep swap Edit /etc/default/grub file and put resume= parameter at the end of line containing GRUB_CMDLINE_LINUX string. Assuming that SWAP partition path is located at /dev/mapper/linux_vg-swap, the resume= parameter should look… Continue reading Enable hibernation on Fedora Linux

Linux & Android - copy files using ADB instead of MTP

Published on Author admin

When using MTP is too slow or is totally not working, you can use ADB to copy files from/to your Android phone via USB cable. Install Android tools on Fedora: yum install android-tools Enable debug USB mode on Android phone Connect your Android phone to PC via USB cable List connected Android devices, should show… Continue reading Linux & Android - copy files using ADB instead of MTP