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 sudoUncomment
% wheel ALL = (ALL) ALLand 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-twmIf the CPU is intel, install the xf86-video-intel video driver.
pacman -S xf86-video-intelFor 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-toolEnable 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 rebootSuccessful 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/$archAfter adding, execute the following command. The database of pacman is updated.
pacman --sync --refresh yaourtInstall 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-anthyInstallation 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.