(At least in Manjaro Linux) By default, after install i3, the config file is placed at:
~/.i3/config
To add some new entry to i3status (whose output is usually placed at the bottom-right of the screen):
#!/bin/bash | |
set -x | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root (use sudo)" 1>&2 | |
exit 1 | |
fi | |
is_Raspberry=$(cat /proc/device-tree/model | awk '{print $1}') |
1. You must be using the Nvidia kernel (`nvidia-smi` should show info). This basically implies that the kernel recognizes the GPU. | |
2. Follow the instructions provided at https://www.tensorflow.org/install/pip: | |
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -o Miniconda3-latest-Linux-x86_64.sh | |
bash Miniconda3-latest-Linux-x86_64.sh | |
source ~/.bashrc | |
conda create --name tf python=3.9 | |
conda activate tf | |
conda install -c conda-forge cudatoolkit=11.2 cudnn=8.1.0 |
# 1. Download a kernel: | |
wget https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.1.tar.xz | |
tar xvf linux-6.1.tar.xz | |
# 2. Configure the kernel (supposing a Manjaro kernel): | |
cd linux-6.1 | |
make localmodconfig |
$ sudo pacman -S rclone (Manjaro)
rclone config
List avaiable (and usable) graphics hardware:
xrandr --listproviders
Find OpenGL renderer:
glxinfo | grep "OpenGL renderer"
sudo powertop
Example:
sudo pacman -Fy glxinfo