Last active
February 9, 2017 02:28
-
-
Save nibral/7103063e8e77557d0568a6dacdf73b50 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| BIOS+GPT環境で起動してzshが立ち上がったところから | |
| ---- | |
| # loadkeys jp106 | |
| # ping -c 3 www.google.com | |
| # lsblk(インストール先ディスク確認、以下/dev/sdaの例) | |
| # gdisk /dev/sda | |
| * /dev/sda1に100MB(/boot, コード8300) | |
| * /dev/sda2に残り全部(/, コード8300) | |
| * /dev/sda3にBIOS Boot Partition(コードef02) | |
| # mkfs.ext4 /dev/sda1 | |
| # mkfs.ext4 /dev/sda2 | |
| # mount /dev/sda2 /mnt | |
| # mkdir /mnt/boot | |
| # mount /dev/sda1 /mnt/boot | |
| # vim /etc/pacman.d/mirrorlist | |
| * 日本のサーバを一番上に | |
| # vim /etc/pacman.conf | |
| * AURを追加 | |
| [archlinuxfr] | |
| SigLevel=Never | |
| Server=http://repo.archlinux.fr/$arch | |
| # pacstrap /mnt base base-devel grub lightdm lightdm-gtk-greeter mate mate-extra ¥¥ | |
| networkmanager network-manager-applet gnome-keyring gnome-icon-theme yaourt vim ¥¥ | |
| xorg-server xorg-server-utils mesa mesa-libgl xf86-video-intel ¥¥ | |
| fcitx-im fcitx-configtool fcitx-mozc | |
| # cat /etc/pacman.conf > /mnt/etc/pacman.conf | |
| # genfstab -p /mnt >> /mnt/etc/fstab | |
| # arch-chroot /mnt /bin/bash | |
| # ln -s /usr/share/zoneinfo/Asia/Tokyo /etc/localtime | |
| # hwclock --systohc --utc | |
| # vim /etc/locale.gen | |
| * en_US.UTF-8とja_JP.UTF-8のコメントを外す | |
| # locale-gen | |
| # echo LANG=ja_JP.UTF-8 > /etc/locale.conf | |
| # echo "KEYMAP=jp106" > /etc/vconsole.conf | |
| # echo "<ホスト名>" > /etc/hostname | |
| # passwd | |
| # useradd -m -g users -G wheel <一般ユーザ名> | |
| # passwd <一般ユーザ名> | |
| # visudo | |
| * %wheel ALL=(ALL) ALLのコメントを外す | |
| # grub-install --recheck /dev/sda | |
| # grub-mkconfig -o /boot/grub/grub.cfg | |
| # systemctl enable NetworkManager | |
| # systemctl enable lightdm | |
| # exit | |
| # reboot | |
| 再起動したらMATE Terminalで作業続行 | |
| ---- | |
| # yaourt -Syy | |
| # yaourt -S gtk-engine-murrine google-chrome ttf-koruri ttf-vlgothic | |
| * 確認しなくていい時は--noconfirm | |
| # vim ~/.xprofile | |
| export GTK_IM_MODULE=fcitx | |
| export QT_IM_MODULE=fcitx | |
| export XMODIFIERS=@im=fcitx | |
| その他 | |
| ---- | |
| lightdmとかXorgの起動に失敗してGUIが出ない時はCtrl+Alt+F2でCUIに切り替えてなんとかする | |
| * 戻る時はCtrl+Alt+F7 | |
| localeが英語になってるとfcitxが動かない(ような気がする) | |
| fcitxがインライン入力できない | |
| * fcitxの設定->アドオン->拡張にチェック->Fcitx XIM Frontentの設定->On The Spotを使うにチェック | |
| * アプレットのキーボードを右クリック->再起動でFcitxを再起動 | |
| lightdmのカスタマイズ | |
| * /etc/lightdm/lightdm-gtk-greeter.confを編集するか、lightdm-gtk-greeter-settingsを入れる | |
| * 背景色...background=#000000 | |
| * 日付...clock-format=%Y/%m/$d(%a) %H:%M,strftime準拠 | |
| ロック中の背景を変更する | |
| * 適当な場所に背景画像を保存する(/usr/share/backgrounds/とか) | |
| # vim /usr/share/glib-2.0/schemas/mate-background.gschema.override | |
| ``` | |
| [org.mate.background] | |
| picture-filename='<保存したファイルへのパス>' | |
| ``` | |
| # glib-compile-schemas /usr/share/glib-2.0/schemas/ | |
| # reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment