This procedure was tested on FreeBSD-CURRENT build from d8819d88af52.
- Enable linuxulator and install linux userland:
# sysrc linux_enable="YES" # service linux start # pkg install linux_base-c7
#!/usr/bin/env python | |
import logging | |
import os | |
from datetime import datetime, timedelta | |
import django | |
django.setup() |
This procedure was tested on FreeBSD-CURRENT build from d8819d88af52.
# sysrc linux_enable="YES"
# service linux start
# pkg install linux_base-c7
Install runj and containerd:
pkg install runj containerd
Currently containerd port is missing rc.d script so we need to create one:
cat <<EOF > /usr/local/etc/rc.d/containerd
#! /bin/sh
# PROVIDE: containerd
# REQUIRE: DAEMON NETWORKING
I hereby claim:
To claim this, I am signing this object:
### Problem description | |
To improve my productivity I bought a 4K display and wanted to use it altogether with old 1K display. | |
It turned out that mixing two different DPIs doesn't work out of the box so some hacks are needed. | |
### Solution | |
##### 1. Set HiDPI as a default | |
To set HiDPI as default please refer to https://wiki.archlinux.org/index.php/HiDPI#X_Resources |