linux

Dynamic wallpaper for i3

Mar 29, 2020
i3, linux

Some time ago, I was using macOS. The thing I liked about this OS since Mojave version was the dynamic wallpaper feature. Wallpaper representing picture of the Mojave desert in California was dynamically changing during the day. In the morning, we could see the dawn and sunrise, later picture during the midday, in the evening, desert during the dusk and finally picture at night. I liked the fact that wallpaper were adjusting to the time of the day. ...

Spotify song in i3 status bar

Feb 20, 2020
linux, i3, python

While customizing my i3 status bar, I wanted to have currently played Spotify song in it. Some time ago, I created an open source script in Python called spotify-cli-linux and I wanted to use it. When we want to put something custom into the i3 status bar, the easiest way to do it, is to save data into the file and then read the file. I created the following config inside ~/. ...

I switched to i3 WM

Feb 16, 2020
linux, arch, i3

Introduction # From a long time I wanted to try lightweight WM (Window Manager) for Linux. I installed i3 once a few years ago, but I had no idea how to use it, so I just closed this thing and got back to Gnome. Recently, I watched several videos and tutorials about Linux and i3 on youtube, which helped me to learn this WM, how it works and how to use it. ...

Fixing font rendering on Firefox and Arch Linux

Nov 1, 2019
arch, linux

After the recent Firefox update (70.0.1 64-bit), I’ve got a problem with font rendering on Arch Linux. I’ve installed this update probably on 31.10.2019 or 01.11.2019 (I’m not exactly sure right now). On several pages (e.g. Facebook or Github) fonts weren’t rendered correctly. It looked like fonts without anti-aliasing what was quite ugly. I figured out that I can go to the Firefox Settings and in the “Fonts and Colors” section, go to “Advanced” and turn off the option “Allow pages to choose their own fonts, instead of your selection above”. ...

Fixing Gnome Boot problem

Oct 22, 2019
linux

I recently had an issue with Gnome on Arch Linux during the system boot. After turning my computer on, I saw gray screen with message like: Oh no! Something has gone wrong. A problem has occurred and the system can't recover... and I couldn’t log in or do anything and started searching solutions for this problem via my phone. First, I switched to terminal mode with Alt+F2(you can switch back to GUI with Alt+F1), logged in and updated system via pacman: sudo pacman -Syu. ...

Cleaning root partition on Linux

Oct 17, 2019
linux

Size of the root partition / on my system is 25 GB. I recently had a situation where I received notification from the system that there’s too little free space on that partition, which was around 1 GB. My first attempt was to clean pacman cache with sudo pacman -Sc. It helped for a moment, but I kept receiving this notification. I searched for the solutions regarding extending the root partition and noticed that it wouldn’t be that easy and probably require making backup and reinstalling the system. ...

Formatting USB disk on Linux

Sep 1, 2019
linux

Sometimes we may want to format external USB drive. I recently encountered a situation, where I had bootable USB drive with operating system ready to install, but I wanted to remove all this stuff and use disk for storing data. I couldn’t format this disk with GUI tools for some reason and I kept getting errors or information that it’s not possible. In case you don’t know, on Linux everything is always possible, so I quit that GUI tool, opened terminal and start playing with good old and simple programs. ...

Arch Linux - installation notes no. 2 (GUI and utils)

Jul 27, 2019
arch, linux

Introduction # In my previous article I roughly described Arch Linux installation process. After going through whole process, we will end up with clean terminal without any graphical environment etc. In most cases, we will need it on the desktop. Desktop Environment (DE) / Windows Manager (WM) # There are two main types of the Linux graphical environments for desktop: Window Managers Desktop Environments Window Managers are much simpler, require a lot of configuration, learning how to use them and you see all windows at once. ...

Arch Linux - installation notes

Jul 24, 2019
arch, linux

Introduction # For a long time, I was considering switching from Ubuntu do Arch Linux distribution, but I didn’t have enough knowledge, time and energy to do this. I definitely knew it requires some specific knowledge and manual steps to perform. I also didn’t wat to spend too much time on reading the documentation. Moreover, I know that sometimes I could have specific issues related to my hardware, which are not listed in documentation and I have to deal with them on my own. ...

Solving problems with AVD and KVM on Linux

Aug 16, 2018
android, linux

I installed Android SDK and Android Studio on my new ThinkPad T470s with Ubuntu Linux 18.04.1 LTS. As usual, I wanted to create a new Android phone emulator called AVD (Android Virtual Device). I was able to create a new device, but unfortunately I encoutered problems. After opening AVD window, I saw the error message… /dev/kvm is not found # KVM (Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V). ...