Skip to content

Instantly share code, notes, and snippets.

@JosefJezek
Last active January 17, 2021 16:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JosefJezek/a540bce6f9e491dc1ba5d594cfee487f to your computer and use it in GitHub Desktop.
Save JosefJezek/a540bce6f9e491dc1ba5d594cfee487f to your computer and use it in GitHub Desktop.
[Awesome Ubuntu] #Ubuntu

Awesome Ubuntu

Apps

sudo apt install -y curl gparted git vim

GNOME Shell Extensions

zRAM

sudo apt install -y zram-config

zramctl

Set lz4 and swapon -p 100.

sudo vi /usr/bin/init-zram-swapping

echo lz4 > /sys/block/zram${DEVNUMBER}/comp_algorithm
echo $mem > /sys/block/zram${DEVNUMBER}/disksize
mkswap /dev/zram${DEVNUMBER}
swapon -p 100 /dev/zram${DEVNUMBER}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment