Development notes

Thoughts, notes and ideas about development

How to Enable Nvidia CUDA for Davinci Resolve on Linux

This post describes how to fix the error No OpenCL Hardware Acceleration Detected on Linux. First of all make sure that latest NVidia drivers, nvidia-modules, nvidia-kernels are installed for the latest driver version. For Ubuntu 19.04, nvidia 418 drivers and linux kernel 5.0.0-25 the terminal command will look like: sudo apt install nvidia-kernel-common-418 nvidia-dkms-418 linux-modules-nvidia-418-5.0.0-25-generic Install NVidia Cuda toolkit To install nvidia cuda toolkit use the following: sudo apt install nvidia-cuda-toolkit Do Logout after successfull toolkit installation. Continue reading

Wasteland 2 Director's Cut: Can't save or enter at Ranger Citadel under Linux

The Linux version of Wasteland 2: Director's Cut has a weird bug which doesn’t allow either to save or enter (sometimes) into Ranger Citadel location. This is an engine-level issue in the used Unity version: Unity loads into memory multiple copies of the sames game files. To fix this issue we need to update permissions for max open file limits in Linux. Open /etc/security/limits.conf file as root user (or using sudo) and add the following 2 lines at the end of the file: Continue reading

Visual Studio Code: How to enable fonts ligatures in Ubuntu

Visual Code supports fonts ligatures out of the box. But also an appropriate font with ligatures support is required. Fira Code is one of such fonts. Fira Code can be used not only in Visual Studio Code but also in other editors and IDE (e.g. Intellij Idea). First of all we need to install Fira Code. For Ubuntu based distributions it’s better to install font from official repositories. (With other installations ligatures didn’t work for me). Continue reading

How to change font size in Skype for Linux

Skype for Linux doesn’t scale fonts well on monitor with high DPI out of the box. Below I provide 2 solutions how to increase font size. Increase Electron’s fonts Because Skype for Linux uses Electron under the hood, which is just a web browser, we can increase font by using Ctrl + Shift + =. Or via menu: Using such approach menu will still have a small font. Continue reading

How to enable high DPI mode in Firefox

In our days High DPI monitors become more popular. But unfortunately, still there are issues with some applications on such monitors mostly on all operating systems. And Firefox on Linux is not an exclusion. All what is written bellow mostly relevant to Firefox on Linux, because on Windows and Mac OS Firefox looks good out of the box on high DPI monitors. Right now (when I’m writing this) in Linux only KDE can scale monitors out of the box. Continue reading

Linux: how to make Bluetooth working

This post describes step by step solution of how to make Bluetooth working on Lenovo V580c in linux distributions: Ubuntu 17.10 and Manjero 2017. My Lenovo laptop uses BCM43142 chipset. Find bluetoth chipset and device ID First of all we need to make sure that we have appropriate Chipset. Open terminal and enter the following command: lsusb | grep Bluetooth The output will look like: Bus 001 Device 004: ID 105b:e065 Foxconn International, Inc. Continue reading

How to start Ghost as a service on Ubuntu 16.04

Official Ghost documentation Deploying Ghost describes how to start Ghost as a service using script for /etc/init.d. This approach work well only for Ubuntu prior version 16.04. In this tutorial I’ll describe how to start Ghost as a service using new systemd service manager. Requirements Ghost should be already installed. *How to install Ghost described here: How to install Ghost on Ubuntu 16.04. Ghost is installed in /var/www/ghost Create systemd script Open terminal as root (or sudo user). Continue reading
Older posts