tech

Virtual Machine GPU passthrough

Setup cursor theme

  • Install nwg-look
paru -S bibata-cursor-theme-bin # (recommended)

IME

  • Install fctix5
sudo pacman -S fcitx5 fcitx5-gtk fcitx5-qt fcitx5-configtool fcitx5-chewing fcitx5-material-color
  • Go to kde setting > input method and add chewing to the input method

Pacman

list foreign pkgs (AUR), which are installed by makepkg command

pacman -Qme

remove pkgs and the dependencies that are not used by other pkgs

pacman -Rns _package_name_

Firewall

  • Iptables wiki

  • To open the port to enable the service such as rosboard

systemctl enable iptables.service

Applauncher

rofi

Solve Bluetooth keyboard paired but do not type on keypress

lsusb
modprobe btusb
 
bluetoothctl
disconnect
 
scan on
pairable on
# Find the ID of the bluetooth keyboard
 
pair #ID 
trust #ID 
connect #ID 
 
quit

Grub theme

  • To change the grub theme
git clone https://github.com/Lxtharia/minegrub-theme.git
 
cd ./minegrub-theme
sudo cp -ruv ./minegrub /boot/grub/themes/
 
sudo nano /etc/default/grub
 
# Change or add the following line
GRUB_THEME=/boot/grub/themes/minegrub/theme.txt
 
# Exit and update grub
sudo grub-mkconfig -o /boot/grub/grub.cfg

Flathub

sudo pacman -S flatpak
flatpak install flathub com.brave.Browser
flatpak install flathub com.discordapp.Discord

Disable kde wallet

  1. go to brave://flags
  2. search for flag Enable Brave Wallet
  3. change the value to disable
cd .config/ && vim kwalletrc
  1. add the following content
[Wallet]
Enabled=false

VScode

yay -S visual-studio-code-bin

JetBrain Mono Font

sudo pacman -S ttf-jetbrains-mono