I installed Manjaro Linux to my laptop. This article is the memo to setup.

Why Manjaro Linux?

I had used Ubuntu for 1 year; the version was 17.04, 17.10 and 18.04 LTS.

I almost satisfied with the distribution, but I had a few problems. Especially, when I used Ubuntu, Japanese IME was broken every update. It bothered me because I’m Japanese and it was tiresome to fix every time. In addition, I’d like to have used another distribution.

Manjaro Linux is based on Arch operating system, and adopts rolling release. I’ve never used distribution with rolling releases. Manjaro Linux attracted my interest because the distribution’s instllation was easier than Arch Linux; I struggled to install Arch Linux and gave up several months ago…

Which Image of Manjaro Linux

I downloaded to USB from the official page of Manjaro Linux. Get Manjaro | Manjaro Linux

I chose Manjaro XFCE Edition (17.1.10) minimal.

Initial Setting

I executed following commands:

$ sudo pacman -S pacman                // Install pacman
$ sudo pacman -Syu                     // Update system
$ sudo pacman -Syy                     // Sync repositories
$ sudo pacman -S base-devel git        // Install some packages and git
$ sudo pacman -Sy package-query yaourt // Install yaourt
$ sudo pacman -Scc                     // Delete cache

Keyboard Settings

I changed Capslock key to Ctrl. Capslock is not good civilization…;)

$ grep -E "(ctrl|caps):" /usr/share/X11/xkb/rules/base.lst // check option
$ localectl --no-convert set-x11-keymap us pc105 "" ctrl:nocaps

Logged in the computer again, then Capslock was gone!

Inputting Japanese

I’ve used Fcitx-Mozc. Mozc is Google IME for open source.

$ sudo pacman -S ttf-sazanami
$ sudo pacman -S fcitx-mozc fcitx-gtk2 fcitx-gtk3 fcitx-qt4

After instllation finished, created ~/.xprofile and wrote below:

export XMODIFIERS="@im=fcitx"
export XMODIFIER="@im=fcitx"
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export DefaultIMModule=fcitx

Then, edited ~/.bashrc like:

export GTK_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
export QT_IM_MODULE=fcitx

Relogged in the computer, settings above was enabled.

Browsers

$ yaourt -S google-chrome
$ yaourt -S vivaldi

SSH

$ systemctl enable sshd.service

Development Environments

$ git clone [email protected]:akito19/dotfiles.git
$ cd dotfiles
$ ./init.sh

And, change shell to Zsh.

$ chsh -S $(which zsh)

Almost completed! However, there were many files that ownerships were the root. In that case, executed for the files/directories:

$ chown -R $USER

It hasn’t completed all settings, but I exhausted to write….