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.

Arch Linux Environmental Setup FAQ

Dependencies

  • Issue of dependency conflict or failure to find the dependency that should be there:

    sudo pacman -Syu –debug
    It triggers a prompt
    This also performs wide-range package upgrades.

  • Issue of CMake / makepkg -si:

    1
    2
    3
    4
    5
    6
    7
    8
    ==> Starting build()...
    CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".
    CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
    CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
    CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
    -- Configuring incomplete, errors occurred!
    ==> ERROR: A failure occurred in build().
    Aborting...

    To resolve such building depedencies:

    sudo pacman -S base-devel

    1
    2
    3
    4
    5
    Packages (12)
    autoconf-2.71-4 automake-1.16.5-2 bison-3.8.2-5
    debugedit-5.0-5 flex-2.6.4-5 gc-8.2.2-1 guile-3.0.9-1
    m4-1.4.19-3 make-4.4.1-2 patch-2.7.6-9 pkgconf-1.8.1-1
    base-devel-1-2
  • Install pytorch with ROCm backend (read more)

    For CPUs with AVX2 instruction set support, that is, CPU microarchitectures beyond Haswell (Intel, 2013) or Excavator (AMD, 2015), install python-pytorch-opt-rocm to benefit from performance optimizations. Otherwise install python-pytorch-rocm.

    sudo pacman -S python-pytorch-opt-rocm

    This may generate an installation as large as:

    1
    2
    3
    4
    Total Download Size:    2654.00 MiB
    Total Installed Size: 29579.85 MiB

    :: Proceed with installation? [Y/n]

Appearance