Manjaro UI Improvement

These usages are helpful to build a solution of NAS Status Monitor Visualization.

Fix pacman-mirrors: ModuleNotFoundError

Look for the missing modules failed to be imported:

1
sudo pacman -S python3 python-urllib3 python-charset-normalizer python-idna

Fix blocking pacman upgrade failure

Option 1:
1
2
sudo pacman-mirrors -g -f5
pamac upgrade --force-refresh
Option 2:
1
sudo pacman-mirrors --fasttrack && sudo pacman -Syyu

Also check for

1
yay -Suy

It’s sometimes possibly also needs to remove conflicting packages to proceed, rather than trying to install by force using the pacman options -d/-dd/-nodeps.

Allow installing dependencies from AUR

1
sudo pacman -S yay

UI tools

1
2
3
yay -S gotop
sudo pacman -S bspwm sxhkd polybar picom dunst dmenu nitrogen
sudo pacman -S mpd ncmpcpp

UI modules

1
2
sudo pacman -S rofi calc xorg xorg-xinit xorg-xbacklight alsa-utils
yay -S pywal networkmanager-dmenu

Font dependencies

1
2
sudo pacman -S ttf-font-awesome [ttf-dejavu]
yay -S ttf-material-design-iconic-font ttf-unifont ttf-cascadia-code ttf-nerd-fonts-symbols ttf-material-icons

Check if TTF fonts are present in the OS:

1
2
fc-cache -f -v
fc-list | grep ...

Clock

1
systemctl start mpd.service

Press = after starting ncmpcpp in CLI.

Configure a ZFS volume for Time Machine on NAS

Preparation

A ZFS pool should surely pre-exist there to allow for the operations introduced later.

  • Key point: Why not split, or shrink existing volumes for a Time Machine volume?

    Not viable. A ZFS partition always tries to occupy as much space as possible, so does ZFS volumes under it, sharing the entire space of it. To reserving some space is exactly what the quota property is designed for.

    In addition, you can use the reservation property to guarantee that a specified amount of disk space is available to a file system. Both properties apply to the dataset on which they are set and all descendents of that dataset.

    More…

  • Creating a new ZFS filesystem

    zfs create -o compression=lz4 pool/filesystem

    where the purpose of an optional argument -o compression=lz4 is to turn on the compression for this dataset.

Read more