User:Nekobooks

From ArchWiki

archlinux installation

system

  • install
archinstall: 
  • additional packages:
  1. fish
  2. stow
  3. git
  4. p7zip
  5. greetd
  6. wofi
  7. neovim
  8. neofetch
  9. bluez
  10. blueman
  11. firefox-i18n-zh-tw
  12. telegram-desktop
  13. thunar
  14. ristretto
  15. feh
  16. ibus-rime
  17. rime-bopomofo
  • services needs to enable manually:
sudo systemctl enable bluetooth.service

packages

stow

mkdir -p ~/dotfiles/env_sway/.config/(sway|fish...etc)
cd ~/dotfiles
stow env_sway

pikaur

  • install
git clone https://aur.archlinux.org/packages/pikaur.git
cd pikaur & makepkg fsri

greetd & greetd-wlgreet-git

  • install
sudo pikaur -S greetd-wlgreet-git
sudo systemctl enable greetd.service
  • sudo vi /usr/local/bin/sway-run
#Session
export XDG_SESSION_TYPE=wayland
export XDG_SESSION_DESKTOP=sway
export XDG_CURRENT_DESKTOP=sway
#Wayland Stuff
export MOZ_ENABLE_WAYLAND=1
export QT_QPA_PLATFORM=wayland
export SDL_VIDEODRIVER=wayland
export _JAVA_AWT_WM_NONREPARENTING=1
#Taiwan Traditional Chinese
export LANG=zh_TW.UTF-8
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIRES=@im=IBUS

exec sway $@
  • sudo vi /etc/greetd/config.toml
[default_session]
command = "sway-run --config /etc/greetd/sway-config"

fish

  • stow
  • vi .config/fish/config.fish

sway

  • stow
  • vi .config/sway/config
set $menu 'wofi -d -S drun'

bluetooth

mod+d > bluetooth manager

zh fonts

curl -L -o https://github.com/be5invis/Sarasa-Gothic/releases/download/v0.40.7/sarasa-gothic-ttc-0.40.7.7z
7z x -osarasa sarasa-gothic-ttc-0.40.7.7z
sudo mv sarasa /usr/share/fonts/

input-method : rime

export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS=@im=ibus

foot

  • stow
mkdir -p ~/dotfiles/env_sway/.config/foot/
cd ~dotfiles/
stow env_sway
  • edit
[main]
include=/usr/share/foot/themes/dracula
font=Sarasa Term Slab TC:size=14

Telegram-desktop

curl -L -o 'https://github.com/TDesktop-x64/tdesktop/releases/download/v1.0.83/64Gram_1.0.83_linux.zip'
7z e -x!Updater 64Gram_1.0.83_linux.zip
sudo mv Telegram /usr/bin/telegram-desktop

wine or virtualbox