This Gist assumes that the installation of ArchLinux(CUI) is over. If installation is not finished please look at here and finish the installation.
-
First of all, install "sudo" so that you can operate with administrator privileges.
pacman -S --noconfirm sudo
Uncomment
% wheel ALL = (ALL) ALL
and write{username} ALL=(ALL) ALL
# visudo ... %wheel ALL=(ALL) ALL ... {username} ALL=(ALL) ALL
-
Install X window system server related packages and others collectively.
pacman -S xorg-server xorg-apps xorg-xinit xorg-xclock xterm xorg-twm
If the CPU is intel, install the xf86-video-intel video driver.
pacman -S xf86-video-intel
For now, when X is started with startx, installation of X is OK. Three xterm windows start up. When xterm starts up, work on xterm.
startx
-
Install gnome and gnome-extra packages.
pacman -S gnome gnome-extra gnome-tweak-tool
Enable Display Manager (GDM). Set up so far and restart it, you will be logged in graphically. So far, the desktop environment is in place. If it is an English environment it is enough.
systemctl enable gdm.service reboot
Successful if the desktop is displayed after rebooting. Although it is partly displayed in Japanese, in order to display Japanese, it is necessary to set the following Japanese environment.
-
In order to create a Japanese environment, AUR 's package is required, so install yaourt. Update pacman's database by filling in /etc/pacman.conf below.
# vim /etc/pacman.conf [archlinuxfr] SigLevel = Never Server = http://repo.archlinux.fr/$arch
After adding, execute the following command. The database of pacman is updated.
pacman --sync --refresh yaourt
Install mozc and Anthy as Japanese input. For ibus you only need to specify the mozc package. The default input method of GNOME should be ibus. If you use other input methods such as UIM or Fcitx, you will need to install another mozc package.
yaourt -S mozc pacman -S ibus-anthy
Installation takes many time.
Previously, I felt it was troublesome to install multiple packages and write settings. Now I just install the mozc package and set up GNOME. Very easy.
Next, setting of gnome setting. Activate gnome settings from the activity. Select Japanese from Language of Region & Language. Log back in to validate the setting.