vuejs 实时监控类页面实现

Arch + XFCE install

Craynic posted @ 2015年7月31日 23:56 in 未分类 , 1481 阅读

Base files 

Download Arch iso image and reboot. Follow the installation guide to install. The file is in /root (Online version).

Boot loader

Boot loader is a little troublesome.

Here I use syslinux. Install syslinux in the new system. Only one-line command is needed to config syslinux: syslinux-install_update -i -a -m (for Arch only). Remember to check /boot/syslinux/syslinux.cfg to see whether the partition for root is set correctly.

Now you can reboot.


Network is not enabled by default. Enable and start systemd-networkd and dhcpcd in systemd, and you should be able to use network.

pacman -S networkmanager

Enable and start NetworkManager in systemctl. Now you can use nmcli to manage your wireless network: nmcli c -a .

Also wifi-menu could be used. Remember to stop networkmanager when using wifi-menu.


pacman -S sudo

You can install base-devel. It contains many useful tools, including sudo.

Remember to add yourself to sudoers via visudo.


Yaourt is used to install AUR packages. Add these lines to /etc/pacman.conf :

SigLevel = Never
Server =$arch

And, pacman -Sy yaourt .

yaourt has been deprecated.


Install base-devel.

pacman -S base-devel

install pikaur.

git clone
cd pikaur
makepkg -si


pacman -S xfce4


pacman -S mlocate

Now you can use locate.

Input method

Here I use fcitx, and rime as input method engine. fcitx-configtool is used to config fcitx.

pacman -S fcitx-im fcitx-configtool fcitx-rime

Add following lines to .bash_profile :

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


alsa + pulse

pacman -S alsa-utils pulseaudio pulseaudio-alsa

ALSA is set muted by default. Run following command to unmute:

amixer sset Master unmute    



pacman -S xorg-xinput

xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 1
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 2
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Axes" 6 7 4 5


pacman -S fprintd

Add following line to /etc/pam.d/<auth_type>

auth      sufficient

 <auth_type> could be system-local-login, sudo, and so on.

One inconvenient thing is that, you cannot skip it when you do not want to swip your finger.


For Chromium: yaourt -S chromium-pepper-flash

It download chrome.rpm and extract pepper.

Chrome include pepper itself.

For FF: pacman -S flashplugin

It's old version 11.2.

Has change. Check Arch wiki.


(for thinkpad only)

modprobe -r thinkpad_acpi

modeprobe thinkpad_acpi fan_control=1

cat /proc/acpi/ibm/fan

echo [command] > /proc/acpi/ibm/fan

  • 无匹配

登录 *

loading captcha image...
or Ctrl+Enter