Category Archives: Operating systems

Linux: configuring KDE Connect and connection to an Android phone

24 June 2020
 

 A really nice Android phone and a Linux OS integration. Besides the KDE Connect, you can use gnome-shell-extension-gsconnect if you’d prefer the Gnome project. In this post, we will set up KDE COnnect between an Android HTC phone and Arch Linux. On Android install the KDE Connect from the Play Market. On Linux, install from… Read More »

Docker: configure tzdata and timezone during build

17 May 2020
 

 During a Docker image build – it stops asking to configure the tzdata. Dockerfile at this moment is the next: FROM ubuntu:18.04 RUN apt update && apt install -y python-pip python-dev ssh python-boto3 RUN pip install ansible==2.4.3.0 Let’s reproduce – run the build: And here it hangs waiting for us enter data, and even after… Read More »

Linux: no sound after suspend/sleep – solution

30 April 2020
 

 I have a laptop with Arch Linux. It’s suspended with the systemctl suspend. The issue: after it’s wake up there is no sound. From the information found during the investigation (see links below) the issue happens because of the NVIDIA drivers and isn’t specific to the Arch Linux – can happen with any other Linux… Read More »

Steam: Civilization V, Arch Linux and ERROR:Invalid resolutions constraints: 0x0 must not be greater than 0x0

27 April 2020
 

 I’m using Steam on Arch Linux (see the Arch Linux: Steam installation). And I have Civilization V game here – my favorite game for last N-years. I have NVIDIA drivers installed and most of the games work fine, even World Of Tanks, but I wasn’t able to play Civilization from the moment I’ve installed Steam… Read More »

Linux: processes core dumps, systemd-coredump and Debian

14 March 2020
 

 Need to get a dump from fro ma PHP process on Debian 9. In this post will take a Linux kernel mechanism to create and manage processes dumps. Kernel’s dumps are created in another way, check Kdump на Arch Wiki. Linux Core Dump The kernel will create a process dump if it performed an invalid… Read More »

Linux: gnome-keyring setup as Freedesktop SecretService

26 February 2020
 

 Currently, I’m using KeePass as passwords, RSA-keys, and as the Freedesktop SecretService, see the KeePass: an MFA TOTP codes, a browser’s passwords, SSH keys passwords storage configuration and Secret Service integration post. The first issue I faced with during such a setup is the fact that KeePass’ database is synced between my computers (it’s database… Read More »

Linux: PHP-FPM, Docker, STDOUT and STDERR – no an application’s error logs

24 February 2020
 

 We have a Docker image with NGINX, PHP-FPM, and Supervisor. In the same image, we have our PHP application included, which outputs its errors to the /dev/stderr as per its php.ini file: … [global] error_log=/dev/stderr … The problem is, that if run kubectl logs –  there will be no error output from the application. So,… Read More »