Skip to content

Instantly share code, notes, and snippets.

@xiupos
Last active October 23, 2025 08:08
Show Gist options
  • Select an option

  • Save xiupos/8f148a72ca7e99674f0338d5cce7a5e6 to your computer and use it in GitHub Desktop.

Select an option

Save xiupos/8f148a72ca7e99674f0338d5cce7a5e6 to your computer and use it in GitHub Desktop.

sudo without password

sudo bash -c "echo '%wheel ALL=(ALL:ALL) NOPASSWD: ALL' >> /etc/sudoers"

logout & login

yay

# set mirror
sudo pacman-mirrors --country Japan --api --protocol https && sudo pacman -Syu

# install yay
sudo pacman -S base-devel
git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si
cd .. && rm -rf yay

browser and editor

yay -S google-chrome visual-studio-code-bin vim

login github

setup dotfiles

yay -S stow
cd ~
git clone --recursive [email protected]:xiupos/dotfiles.git .dotfiles
cd .dotfiles
make

setup git

ssh-keygen -t ed25519 -C "[email protected]"
cat ~/.ssh/id_ed25519.pub

register the public key to github

# test the key
ssh [email protected]

setup terminal

yay -S tmux xclip guake
sudo ln -s /usr/share/applications/guake.desktop /etc/xdg/autostart/
guake --restore-preferences ~/.dotfiles/other/guake_prefs

reopen chrome

setup im

# install fcitx5-cskk
yay -S fcitx5-im fcitx5-cskk
cat << EOF >> /etc/environment
GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
XMODIFIERS=@im=fcitx
EOF

# set key layout
gsettings set org.gnome.desktop.input-sources show-all-sources true

logout & login

apps

yay -S discord keybase keybase-gui
yay -Rc firefox manjaro-hello manjaro-settings-manager manjaro-settings-manager-notifier pamac-cli pamac-gnome-integration pamac-gtk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment