Skip to content

Instantly share code, notes, and snippets.

@xiupos
Last active April 21, 2024 14:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xiupos/8f148a72ca7e99674f0338d5cce7a5e6 to your computer and use it in GitHub Desktop.
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 git

git config --global user.name "xiupos"
git config --global user.email "me@xiupos.net"
ssh-keygen -t ed25519 -C "me@xiupos.net"
cat ~/.ssh/id_ed25519.pub

register the public key to github

# test the key
ssh git@github.com

setup dotfiles

cd ~
git clone --recursive git@github.com:xiupos/dotfiles.git .dotfiles
ln -s .dotfiles/.tmux.conf .tmux.conf
ln -s .dotfiles/.tmux .tmux
ln -s ../.dotfiles/.config/chrome-flags.conf .config/chrome-flags.conf

reopen chrome

setup terminal

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

setup im

# install ibus-skk
yay -S ibus-skk skk-jisyo
cat << EOF >> /etc/environment
GTK_IM_MODULE=ibus
QT_IM_MODULE=ibus
XMODIFIERS=@im=ibus
EOF

# set custom rule
git clone git@github.com:xiupos/Sapporo.git ~/.config/libskk/rules/Sapporo

# set key layout
gsettings set org.gnome.desktop.input-sources show-all-sources true
sudo sed -ie s/jp/eu/g /usr/share/ibus/component/skk.xml

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