tak0kadaの何でもノート

発声練習、生存確認用。

医学関連は 医学ノート

Antergosインストール用スクリプト

シェルスクリプトで大半のソフトウェアがインストールできるようになった。見た目の設定だけはAntergosのインストール後にやることリスト - tak0kadaの何でもノートを見て頑張る必要がある。

set -euxo pipefail

sudo pacman -S --noconfirm yay
YAY="yay -S --noconfirm"

$YAY nvidia lib32-nvidia-utils nvidia-settings arandr
$YAY gdm
sudo sed -i -e 's/#WaylandEnable=false/WaylandEnable=false/' /etc/gdm/custom.conf
sudo systemctl disable lightdm && sudo systemctl enable gdm
$YAY gnome-session-properties

# options for xrandr is configured using arandr and nvidia-settings
mkdir -p ~/.config/autostart
cat << EOF > ~/.config/autostart/update-monitor-position.desktop
[Desktop Entry]
Type=Application
Exec=/usr/bin/xrandr --output USB-C-0 --off --output HDMI-1 --off --output HDMI-0 --primary --mode 1920x1200 --pos 0x400 --rotate normal --output DP-3 --mode 1680x1050 --pos 2970x0 --rotate left --output DP-2 --off --output DP-1 --off --output DP-0 --mode 1680x1050 --pos 1920x0 --rotate left
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=Update Monitors Position
Name=Update Monitors Position
Comment[en_US]=Force monitors position using xrandr
Comment=Force monitors position using xrandr
Icon=display
EOF

$YAY chrome-gnome-shell
$YAY numix-circle-icon-theme

$YAY lilyterm-git peco
$YAY tmux xsel xclip nkf
$YAY neovim vim-youcompleteme-git python-neovim code git git-cola svn #python2-neovim-git
$YAY python-pip
sudo pip install cppman
# echo y | cppman -c
$YAY zeal devdocs-desktop

$YAY gparted ghex extundelete
$YAY tlp upower lm_sensors
$YAY libreoffice-fresh-ja xournalpp marp mendeleydesktop aur/dropbox nautilus-dropbox dropbox-cli
$YAY inkscape gimp kolourpaint imagej kazam simple-scan
$YAY skypeforlinux-stable-bin slack-desktop
$YAY playonlinux

$YAY virtualbox virtualbox-guest-iso virtualbox-host-modules-arch linux-lts-headers  virtualbox-ext-oracle vagrant
#sudo depmod -a
vagrant plugin install sahara
vagrant plugin install vagrant-vbox-snapshot
vagrant plugin install vagrant-vbguest
vagrant plugin install vagrant-share
vagrant plugin install vagrant-hostsupdater
$YAY docker
sudo groupadd -f docker
# https://docs.docker.com/install/linux/linux-postintall/
sudo usermod -aG docker tak0kada
# sudo chown tak0kada:tak0kada /home/tak0kada/.docker -R
# sudo chmod g+rwx /home/tak0kada/.docker -R
sudo systemctl enable docker


$YAY adobe-source-han-sans-jp-fonts otf-source-han-code-jp otf-ipafont ttf-ubuntu-font-family noto-fonts-cjk noto-fonts-emoji ttf-symbola ttf-freefont
sudo svn export --force https://github.com/powerline/fonts/trunk/NotoMono /usr/share/fonts/NotoMono
sudo chown -R root /usr/share/fonts/NotoMono
sudo svn export --force https://github.com/powerline/fonts/trunk/UbuntuMono /usr/share/fonts/UbuntuMono
sudo chown -R root /usr/share/fonts/UbuntuMono
fc-cache -vf

sudo sed -i -e "s/#ja_JP.UTF-8/ja_JP.UTF-8/" /etc/locale.gen
sudo locale-gen
localectl set-locale LANG="ja_JP.UTF-8"
localectl set-keymap us
LANG=C xdg-user-dirs-gtk-update
$YAY fcitx fcitx-mozc fcitx-configtool fcitx-im
cat << EOF > ~/.xprofile
export XMODIFIERS="@im=fcitx"
export XMODIFIER="@im=fcitx"
export GTK_IM_MODULE=fcitx
export GT_IM_MODULE=fcitx
export DefaultIMModule=fcitx
EOF

$YAY opencv opencv-samples
$YAY python ipython python-pip python-pipenv python-numpy python-scipy python-matplotlib python-sympy python-pandas python-scikit-learn python-rpy2 python-cffi python-pillow python-mayavi python-seaborn cython python-cymem python-language-server
$YAY tk
$YAY r rstudio-desktop-bin
$YAY jupyter
$YAY base base-devel gcc clang cmake boost boost-libs openmp openmpi cuda eigen openblas-lapack pybind11

git clone https://github.com/tak0kada/dotfiles.git

set +euxo pipefail