Arch Linux with Plasma 5.9
I don’t like systemctl.
I like Arch Linux thanks to its simplicity. However, Sytemd breaks the beauty. It complicates OS. Booting time is extremely fast, but the maintenance time is extended. I don’t like typing such a long sentence for every little step.
Temporally switching from Gentoo to Arch Linux
Naturally, I’ll swicth back to Gentoo. Recently, I changed my CPU and Motherboad. And Gentoo stopped working. I tried to rebuild Kernel from Live CD, but I don’t know why, "chroot" was impossible. I decided to reinstall Gentoo. Before this whole day operation, I thought trying some other distros because I don’t know them at least four years.
Never forget, Unity-Chan!™ is always active. Ubuntu is easy to try, but the desktop is too slow. I changed DE to Plasma and felt something weird. Ubuntu will rely with Gnome more than before, thus it won’t be my choice anymore.
openSUSE Leap 42.2
What’s the point of that light bulb on background? It was a disaster. Extremely slow booting over 5 minutes. Too many experimental services such as "Wicked". It’s really wicked. Why this alpha version is the first choice for the end-users? I went to the official website and clicked the most visible Download link, then I got this ISO. I installed it and watched Plymouth seems like it’s taking me forever.
After all, Desktop was woking very slow and the appearance was awful. How I loved openSUSE 13. I think that a new user may not "Leap" over this wall, they will just get back the way to discover another distro like me.
This distro finally became a Systemd faction, but still fast. Arch Linux can be my 2nd choice along with Debian. In fact, my 2nd choice was openSUSE, but it’s quasi dead actually. siduction or Chakra could be my 3rd choice. I’m using Debian on my old, but precious Eee PC 1015PD. Source-based distro is not ideal for this cheap Netbook. So, Debian with Openbox was the best answer.
Arch Linux Installation
First of all, the installation guide is imcomplete, ommiting the critical sections such as Partition, Format and Grub. Necessary informations are scattered over ArchWiki, not centralized. It’s so strange. Before "Systemd", Arch Linux installation guide was very organized.
Preparation for Plasma
Start installing Arch Linux. I pre-order these groups while the installation.
pacstrap /mnt base base-devel grub xorg-server plasma-meta
Partitioning & Formatting
Here is the most critical part that Arch's guide lacks. We need to know how to part the disks. The best instruction is always on "Gentoo Handbook" Preparing the disks section. The example shown on Gentoo Handbook is definitely practical. I just followed it.
Run "Parted". I use a 64GB SSD attached on an old BIOS motherboard. So I need a little but essential space for installing Grub. This partition should be "/dev/sda1". UEFI doesn’t require it.
mklabel gpt unit mib mkpart primary 1 3 name 1 grub set 1 bios_grub on mkpart primary 3 131 name 2 boot mkpart primary 131 643 name 3 swap mkpart primary 643 -1 name 4 rootfs
Quit Parted and format each partition except sda1 which we have nothing to do. "/dev/sda2" will have Kernel, initramfs and Grub settings only. ext2 is sufficient.
mkfs.ext2 /dev/sda2 mkfs.ext4 /dev/sda4 mkswap /dev/sda3 swapon /dev/sda3
Grub on Arch Linux equals Grub2 on Gentoo. Arch's guide lacks this part either.
grub-install /dev/sda grub-mkconfig -o /boot/grub/grub.cfg
The installation is not finished yet. I need my user accout. Arch's guide doesn’t explain it, so I consult anytime "Gentoo Handbook". This time, it’s on Finalizing section.
useradd -m -G users,wheel,video -s /bin/bash larry passwd
I added myself, larry in example, into "wheel" group for enabling "sudo" command. Now edit "/etc/sudoers", change its permission from unreadable to writable. After editing the file, don’t forget putting the permission back to 440.
chmod 440 /etc/sudoers
Plasma is ready, but SDDM won’t be appeared automatically at first boot. Now, use systemctl to enable SDDM and probably need to restart dbus service. When I tried login just after enabled SDDM, I received dbus connection error.
systemctl enable sddm.service
That’s problematic. Arch's Guide doesn’t mention to it, but Network is not working at first boot. Gentoo Handbook previews it and teaches us how to configure Network before the first boot. Anyway, configure Network in complex "IP + Systemd" way that I don’t get it at all.
Enabling the services
I use a wired connection with DHCP, so I have two services to be enabled. And make a symlink to "resolv.conf". This is really irrational, in other word, ridiculous. It’s not resolve, but resolv. They hate "e" that implies Internet Explorer, maybe.
systemctl enable systemd-networkd.service systemctl enable systemd-resolved.service ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
Check the device name and activete it
In my case, the device is identified as "enp8s0". I activate it and Network starts working. Network Manager is not required in this way.
ls /sys/class/net ip link set enp8s0 up
Windows® related configurations
No way. My "Windows 10" is indispensable for playing Japanese DRM movies such as Blu-ray or WMV. And certain softwares and games are only available on Windows®.
Moreover, I’m needing Windows® for Photoshop over decade. Wine can handle Photoshop CS2, but it has the usage limitation. It sometimes causes fatal error. So I save a file every 5 minutes. It’s not ready for my job.
I don’t know why, but "os-prober" package doesn’t have relation with Grub. We need install it manually. Grub needs this package to recognize Windows®.
pacman -S os-prober && grub-mkconfig -o /boot/grub/grub.cfg
NTFS is readable by default, but ntfs-3g is always required for writing.
pacman -S ntfs-3g
Tweaks for daily use
I add some lines to ".bashrc" and ".xprofile" for preventing the letter corruption and using Fcitx. For displaying Asian letters, Noto Sans CJK & TC and finally released Noto Serif CJK & TC are absolutely nesessary. I recommend installing these perfect Google-Adobe collaboration fonts.
Generally, I use Linux in en_US locale. I think that’s the most safe status because almost GNU staff are made in US. 2nd line is for colorizing my name green on Bash prompt.
export LANG=en_US.UTF-8 export PS1="\e[0;32m\]\u@\H \e[1;34m\w $\e[m
Fcitx is Input Method framework for Asian languages. Additional packages such as fcitx-gtk3, fcitx-qt4, fcitx-qt5 and kcm-fcitx are required. Some of them must be in the dependencies. We can do nothing without at least fcitx-qt5.
export XMODIFIERS=@im=fcitx export QT_IM_MODULE=fcitx export GTK_IM_MODULE=fcitx
Replacing vi to vim
After installing vim, we need manually updating the symlink on Arch Linux. It’s annoying. vi-vim-symlink is handy. It’s available in AUR.
PSD and TIFF display & Thumbnail preview
Several additional packages are required to display PSD, TIFF and Movie thumbnails on Dolphin.
pacman -S kimageformats qt5-imageformats kdegraphics-thumbnailers ffmpegthumbs
Sound Blaster Recon3D Fatal1ty
I use this Sound Card. I’m wrong. S/PDIF is forever not working on Linux because of this die-hard Microsoft martyr called Creative never releasing Linux driver. S/PDIF output works occasionally only on Gentoo in my experience. There will be a condition, but no one knows what we are needing or lacking. For Analog Stereo, alsa-firmware is required otherwise no sound.
pacman -S alsa-firmware
Facebook's problematic font-family
Facebook font-family is problematic. It’s OSX oriented. They use Helvetica as default. Most of users don’t have this font installed OS. In my case, I need to add Alias on "~/.config/fontconfig/fonts.conf".
<alias> <family>Helvetica</family> <prefer> <family>Noto Sans CJK JP</family> </prefer> </alias>
Do not blackout me!
Why Xorg freely blackout me? I never ordered it. Windows® is more obedient. I ask help from ArchWiki to stop this tyranny.
The old cursed "xorg.conf" is fainally obsoleted. Nowadays, we use individual setting file. Then, add the contents below. "Identifier" should be replaced by your display name.
Section "Monitor" Identifier "BenQ GW2765" Option "DPMS" "false" EndSection Section "ServerLayout" Identifier "ServerLayout0" Option "StandbyTime" "0" Option "SuspendTime" "0" Option "OffTime" "0" Option "BlankTime" "0" EndSection
Adobe Photoshop CS2 on Wine
I finally succeeded to install Adobe Photoshop CS2, it’s officially free. I had been stuck because I tried to install from a HDD mounted as "user". The error message of Wine helps nothing for this sort of problem, it’s practically useless. If you have a problem, doubt at first the permission of your HDD.
pacman -S wine winetricks wine_gecko wine-mono WINEARCH=win32 WINEPREFIX=~/.wine winecfg winetricks corefonts vcrun6