Another system information fetching tool written in C++
Sysfex is just another system information fetching tool for linux-based systems, written in C++
Required for installing Sysfex:
CMake
: for compilinglibx11
(or libx11-dev
) : for getting screen resolution on Xorgviu
: backend for rendering imageClone Sysfex from it's GitHub repository using Git:
git clone https://github.com/mehedirm6244/sysfex
cd sysfex
Compile Sysfex:
mkdir build && cd build
cmake ..
cmake --build . -j 4
Make sure that the present working directory is sysfex
cd ..
Copy files to proper directories:
sudo cp -r presets/. /opt/sysfex
sudo chmod -R 755 /opt/sysfex
sudo cp build/sysfex /usr/bin
sudo chown ${USER} /usr/bin/sysfex
Make local configuration file which can be modified further
mkdir -p ${HOME}/.config/sysfex
cp -r presets/. ${HOME}/.config/sysfex
Remove Sysfex from system:
sudo rm /usr/bin/sysfex
sudo rm -rf /opt/sysfex
Remove local config:
rm -rf ${HOME}/.config/sysfex
Use sysfex --help
for listing all available flags
Sysfex supports global (for all user) as well as local configurations (for current user). Sysfex will initialize configurations from ${HOME}/.config/sysfex
if the directory exists, or from /opt/sysfex
otherwise.
The configuration for Sysfex is split into two files
File name | Description |
---|---|
config |
Stores instructions on how to print stuffs, such as: gaps, character used in color blocks, separator character, which ascii to print etc |
info |
Stores instructions on what to be printed, such as: model name, screen resolution, kernel version etc |