Skip to main content

Arch Linux

Packages

GRUB

/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet cryptdevice=/dev/nvme0n1p2:cryptroot root=/dev/mapper/cryptroot"
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg

Theme

yay -S grub-theme-tela-color-1080p-git
sudo cp -r /usr/share/grub/themes/tela-color-1080p /boot/grub/themes
sudo vim /etc/default/grub #GRUB_THEME="/boot/grub/themes/tela-color-1080p/theme.txt"
sudo grub-mkconfig -o /boot/grub/grub.cfg

Btrfs

btrfs filesystem defragment -r -v -czstd /
  • View compression types and ratios
compsize -x /

cryptsetup

  • Open
cryptsetup open /dev/sda1 cryptroot
  • Mount
mount -t btrfs /dev/mapper/cryptroot /mnt

Dual boot

timedatectl set-local-rtc 1 --adjust-system-clock

sudo vim /etc/default/grub #GRUB_DISABLE_OS_PROBER=false
sudo grub-mkconfig -o /boot/grub/grub.cfg

Wayland

Questions?

Issues

  • No iBus in chrome when using wayland
  • No iBus in chrome when using Electron Apps
  • Notification jump in telegram

Chrome

--enable-features=UseOzonePlatform --ozone-platform=wayland

Telegram

QT_QPA_PLATFORM=wayland

Clipboard

yay -S wl-clipboard

GNOME

Software Center Update: - Design/OS/SoftwareUpdates - GNOME Wiki! - systemd.offline-updates

Fractional Scaling

gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"

Reset:

gsettings reset org.gnome.mutter experimental-features

ref: https://wiki.archlinux.org/title/HiDPI#Fractional_scaling

RAW Thumbnails

yay -S raw-thumbnailer
~/.local/share/thumbnailers/raw.thumbnailer
[Thumbnailer Entry]
TryExec=/usr/bin/raw-thumbnailer
Exec=/usr/bin/raw-thumbnailer -s %s -o %o -i %i
MimeType=image/x-3fr;image/x-adobe-dng;image/x-arw;image/x-bay;image/x-canon-cr2;image/x-canon-crw;image/x-cap;image/x-cr2;image/x-crw;image/x-dcr;image/x-dcraw;image/x-dcs;image/x-dng;image/x-drf;image/x-eip;image/x-erf;image/x-fff;image/x-fuji-raf;image/x-iiq;image/x-k25;image/x-kdc;image/x-mef;image/x-minolta-mrw;image/x-mos;image/x-mrw;image/x-nef;image/x-nikon-nef;image/x-nrw;image/x-olympus-orf;image/x-orf;image/x-panasonic-raw;image/x-pef;image/x-pentax-pef;image/x-ptx;image/x-pxn;image/x-r3d;image/x-raf;image/x-raw;image/x-rw2;image/x-rwl;image/x-rwz;image/x-sigma-x3f;image/x-sony-arw;image/x-sony-sr2;image/x-sony-srf;image/x-sr2;image/x-srf;image/x-x3f;

ref: https://jan.alphadev.net/blog/2018/gnome-raw-thumbnail-generation/

Extensions

sudo pacman -S chrome-gnome-shell

H.264

sudo pacman -S gst-libav

Input Method

yay -S fcitx5-im fcitx5-mozc fcitx5-chinese-addons
yay -S gnome-shell-extension-kimpanel-git