Skip to content

Instantly share code, notes, and snippets.

Ask me any questions on free and open source software!

Dennis Ivanov sxiii

Ask me any questions on free and open source software!
View GitHub Profile
sxiii /
Last active Dec 28, 2021
Scrapers, Parsers, Spiders
sxiii /
Created Dec 20, 2021
Run Satisfactory on Linux (Arch, Garuda, Manjaro)

To properly run Satisfactory on Linux, only one change is needed.

Add this:


Into the file $HOME/.steam/steam/steamapps/compatdata/526870/pfx/drive_c/users/steamuser/Local Settings/Application Data/FactoryGame/Saved/Config/WindowsNoEditor/Engine.ini

Run the game from Steam as usual without nay more tweaks.

sxiii /
Last active Dec 19, 2021
Nvidia Arch Linux DXVK Debug (run World War Z Aftermatch on Arch Linux with hardware directx/proton acceleration)


I've got some games stopped working on ArchLinux (Garuda) via Steam -> Vulkan/Proton -> DXVK It was hard to debug but finally I did it

Originally I tried to reinstall steam, game, proton, try different versions etc but nothing helped At some point I found out that game launches with PROTON_USE_WINED3D=1 %command% argument in steam game properties However, the performance of the game was really bad and textures was kinda wrong and too dark

So I found out the problem: Nvidia does not like amd vulkan files to be installed.

sxiii /
Created Dec 6, 2021
Convert ZIP with Windows filepaths to Linux (/ instead of \)
# Convert ZIP archive with Windows paths inside it to UNIX paths (backslashes \ to normal slashes / in paths)
# You need 7zip package for that matter
# Archive in this example is called -> don't forget to change it in two places
# The script works well even with large files (I tested on 8 GB file; it took couple of seconds)
# Resuling file can be unpacked OK with normal Linux tools
7z rn $(7z l | grep '\\' | awk '{ print $6, gensub(/\\/, "/", "g", $6); }' | paste -s)
sxiii /
Last active Feb 19, 2022
Linux - v4l2-ctl - Load Webcam Settings From Text File (saved by camset)
# Back story
# v4l2-cli by itself does not accept config file
# camset allows us to save setting to text file, but it requires GUI to load it, which is inconvinient
# What I've done
# So I've written script that allows us to load settings from the config file, created with camset earlier
# Code is based on Camset (
# Run like: `python myconfig.txt` (using myconfig.txt saved by camset)
# Change card to fit your video device
sxiii /
Last active Oct 24, 2021
Install MRTG into Arch

Let's say you want to install MRTG to Archlinux...

  1. First things first, you need Apache, PHP, PHP-GD, GD library on itself. sudo pacman -S gd autoconf apache php-gd perl
  2. Install development version of GD: pikaur -S gd-git (instead of pikaur you can use yay or any other AUR helper)
  3. Then enable mod_fcgi in Apache:

I will not include this in the manual as this is covered by ArchWiki and a lot of articles

  1. After that, you can either follow steps here: or here:
  2. Add mrtg user:
sxiii /
Created Sep 26, 2021
How to add Windscribe VPN to OpenRC (rc init service, rc-service)

Using Artix Linux or any other OpenRC-based distro?

It's pretty easy to add Windscribe to OpenRC:

  1. sudo nano /etc/init.d/windscribe Paste the following into the file and save it with ctrl+o; enter:

description="Windscribe VPN CLI Service"
sxiii /
Last active May 14, 2022
Remove Unnecessary Locales Fedora

Small guide that helps to free up space by removing unneccessary locales from Fedora
With some additional information on how to make more space on your system (advices in the end)
Tried on Fedora 34, but should work on other distros as well (RPM-Based?)

Step 0. Bonus step -- check available space before procedure:

df -lh

Step 1. Enter the locales directory

cd /usr/share/locale/

Step 2. Check that there is files to remove


sxiii /
Created Jul 31, 2021
Fedora 34 AMDGPU OpenCL Pro Driver (Based On Ubuntu Driver)

If you need to get working OpenCL on AMD Navi on Fedora, follow this steps:

sudo dnf -y groupinstall 'RPM Development Tools'
cd ~/rpmbuild/SOURCES
wget --referer
cd ~/rpmbuild/SPECS
git clone amdgpu-pro-opencl
cd amdgpu-pro-opencl
rpmbuild -ba amdgpu-pro-opencl.spec