search

All

Encrypt user home with eCryptfs Sun, Apr 11, 2021 02:00 CEST

We encrypt a user home directory with eCryptfs. The consequence is that the contents of this directory are only accessible if at least one of the following is true:

  • You know the user’s password.
  • The user is logged in* AND you have read permission to the user’s directory (if you are root for instance).

* or has processes surviving logout (for instance lingering services).

This may increase privacy, depending on how the system is used.

If the user home is not encrypted, it would suffice to be root (without the user necessarily being logged in). Note that being root on another system and mounting the partition hosting the user’s home suffices.

Configure microcode with GRUB Fri, Dec 25, 2020 01:00 CET

All users with an AMD or Intel CPU should install the microcode updates to ensure system stability.

Configure microcode with systemd-boot Fri, Dec 25, 2020 01:00 CET

All users with an AMD or Intel CPU should install the microcode updates to ensure system stability.

Bluetooth on Arch Linux Mon, Dec 21, 2020 15:52 CET

Install software pacman -S bluez bluez-utils If you want bluetooth to power on the chip as soon as bluetooth.service is running /etc/bluetooth/main.conf [Policy] AutoEnable=true Enable and start the bluetooth service systemctl enable --now bluetooth Connect bluetooth headset/speaker. pacman -S pulseaudio-bluetooth systemctl --user restart pulseaudio bluetoothctl agent on bluetoothctl power on bluetoothctl scan on bluetoothctl pair ... bluetoothctl connect ... Tip: Instead of typing bluetoothctl for each command you can start a REPL by calling bluetoothctl without arguments.

Automatically Mount LUKS Encrypted Device with Crypttab and Fstab Thu, Nov 12, 2020 20:00 CET

Put that second drive to use!

NGiИX hostname resolution boot crash Tue, Aug 18, 2020 02:00 CEST

NGiИX crashes on boot when proxying via hostname resolution.

Setup Canon i-SENSYS MF8080Cw printer with CUPS on Arch Linux Mon, Aug 17, 2020 02:00 CEST

Configuration:

  • Printer: Canon i-SENSYS MF8080Cw
  • Driver: Canon MF8000C Series UFRII LT
  • Discovery: DNSSD

Setup HP LaserJet CP1025 printer with CUPS on Arch Linux Mon, Aug 17, 2020 02:00 CEST

Configuration:

  • Printer: HP LaserJet CP1025
  • Driver: HP LaserJet cp1025, hpcups 3.20.6, requires proprietary plugin (color)
  • Discovery: none (USB)

Suspend Resume Hooks Wed, Jun 24, 2020 10:15 CEST

For instance, to lock the screen on suspend. Can also be used to toggle WiFi, Bluetooth, etc.

Poll for Hangouts Notifications Mon, Dec 9, 2019 18:57 CET

Can extract unread messages count or content, currently typing information, etc.