Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 1 KB

others.md

File metadata and controls

40 lines (33 loc) · 1 KB

Other useful commands/utilities

Stem darkening

sudo echo "FREETYPE_PROPERTIES=\"cff:no-stem-darkening=0 autofitter:no-stem-darkening=0\""  | tee -a /etc/enviroment

Flags for electron-based apps

--ozone-platform-hint=auto
--enable-features=AcceleratedVideoDecodeLinuxZeroCopyGL,AcceleratedVideoDecodeLinuxGL,VaapiVideoEncoder,WebRTCPipeWireCapturer,TouchpadOverscrollHistoryNavigation,VaapiIgnoreDriverChecks,VaapiOnNvidiaGPUs
--enable-gpu-rasterization
--ignore-gpu-blocklist
--enable-zero-copy
--disable-gpu-memory-buffer-video-frames

Set Electron apps to use wayland

ELECTRON_OZONE_PLATFORM_HINT=auto

Set Flatpak locale via Flatseal

LC_ALL=en_US.UTF-8

Fix Fn keys on keyboards that use Apple keyboards

On typical distros, run

echo "options hid_apple fnmode=0" | sudo tee -a /etc/modprobe.d/hid_apple.conf

and regenerate GRUB or reinstall kernel using dracut.

On Fedora Siverblue, run

rpm-ostree kargs --append-if-missing=hid_apple.fnmode=0"

and reboot.