Batch compress files
Batch compress files with the following tools
- find : https://linux.die.net/man/1/find
- GNU parallel: https://zenodo.org/records/1146014 (PDF) and https://www.gnu.org/software/parallel/parallel_tutorial.html (HTML)
- 7z
- xz
Batch compress files with the following tools
Stuff related to GNU/Linux.
The following tools make installation USB keys from ISO files.
See Shell programming.
Input methods enable multilingual inputs, including CJK (Chinese, Japanese, and Korean).
Fcitx is a lightweight input method framework that provides environment-independent language support for Linux. The development energy mainly focuses on the release of the new version 5.
command -v apt && sudo apt install fcitx5 fcitx5-chewing fcitx5-material-color
command -v pacman && sudo pacman -S fcitx5-im fcitx5-chewing fcitx5-material-color
Add the following lines to ~/.xprofile or ~/.profile if fcitx does not load on startup.
export INPUT_METHOD=fcitx5
export GTK_IM_MODULE=fcitx5
export QT_IM_MODULE=fcitx5
export XMODIFIERS=\@im=fcitx5
ibus is an input method framework using DBUS. ibus integrates better with the GNOME desktop environment.
command -v apt && sudo apt install ibus ibus-chewing
command -v pacman && sudo pacman -S ibus ibus-chewing
Add these lines to ~/.xprofile or ~/.profile if ibus does not load on startup.
sudo add-apt-repository -y ppa:papirus/papirus # Papirus icon theme
sudo apt update && sudo apt install -y papirus-icon-theme qt5-style-kvantum qt5ct
A clean theme for both KDE and Gnome.
sudo add-apt-repository -y ppa:papirus/papirus
sudo apt update && sudo apt install materia-gtk-theme materia-kde
Fonts for materia theme:
Roboto or M+).vinceliuice/Qogir-theme is a flat Design theme for GTK.
Download and run the install script from vinceliuice/Qogir-theme.
Use heredoc to pass the string as-is between two delimiters (e.g. EOF)
cat << "EOF" >> ~/.xprofile
# ~/.xprofile
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
ibus-daemon -drx
EOF
Will append the following lines to ~/.xprofile:
Reload nvidia GPU driver to fix "NVML: Driver/library version mismatch" error without rebooting. Source
Add the following entry to /etc/fstab to automatically mount NAS drives at boot