Allgemein

Metaebene, persönliches, Blog-bezogenes

How to hibernate and resume from swap file in Ubuntu 20.04 using full disk encryption

On my laptop, I am running full disk encryption (LUKS with a single encrypted ext4 partition), and a single, large swap file as large as my system RAM (16GB). Here’s how to make it work: Make your swapfile have at least the size of your systems RAM: Note the UUID of the partiton containing your

How to hibernate and resume from swap file in Ubuntu 20.04 using full disk encryption Weiterlesen »

Clean default sources.list file for Ubuntu 20.04 focal

deb http://de.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse deb http://de.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse deb http://de.archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse deb http://de.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse deb-src http://de.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse deb-src http://de.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse deb-src http://de.archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse deb-src http://de.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe

Clean default sources.list file for Ubuntu 20.04 focal Weiterlesen »

Saving battery life on linux using powertop

Most distributions come with a handy tool called powertop, that is able to automatically set kernel parameters to save energy. sudo powertop –auto-tune Settings are not permanent, to you can use the following snippet to create and load a systemd unit file to load the settings after rebooting your machine: cat << EOF | sudo

Saving battery life on linux using powertop Weiterlesen »

Workaround of the month: Fix broken n32 o32 virtalenv on Gentoo mips when emerging spidermonkey-52.9.1pre1

Virtualenv ist utterly broken when you run Gentoo on MIPS using n32. This will lead to spidermonkey-52.9.1pre1 failing to emerge, because of „ImportError: No module named pkgutil“ or the like. Here’s how to fix it: Step 1: as root, create a user patch directory and download my patch for virtualenv into it, so emerge applies it

Workaround of the month: Fix broken n32 o32 virtalenv on Gentoo mips when emerging spidermonkey-52.9.1pre1 Weiterlesen »

Nach oben scrollen