Loading

Tips using Manjaro

Set swappiness value

The default swappiness value is set 60 as you can check it via the following command: cat /proc/sys/vm/swappiness

The bigger the value is, the more active Linux will use swap.

To let the system use RAM actively, you could reduce the value in the following way:

vim /etc/sysctl.conf

and put in the following content:

vm.swappiness=20

Then use command sudo systemctl -p to let it take effect.

Install trizen - the aur package installation tool

For sure it is better than yaourt. 😃

sudo pacman -S trizen

Install Microsoft and Mac fonts

There is an english fonts package called 'ttf-ms-fonts' in aur. Just use

trizen -S ttf-ms-fonts ttf-mac-fonts ttf-monaco

to install it.

And here is some other fonts:

YaHei-Consolas字体

cd /tmp&&git clone https://github.com/GitHubNull/YaHei-Consolas-Hybrid-1.12.git --depth 1&&sudo sh YaHei-Consolas-Hybrid-1.12/setup.sh

Yahei-Monaco字体

cd /tmp&&git clone https://github.com/maxsky/Yahei-Monaco-Hybird-Font.git --depth 1&&sudo mkdir -p /usr/share/fonts/truetype&&sudo cp -r Yahei-Monaco-Hybird-Font /usr/share/fonts/truetype&&cd /usr/share/fonts/truetype/Yahei-Monaco-Hybird-Font&&sudo chmod 644 *&&sudo mkfontscale&&sudo mkfontdir&&sudo fc-cache -fv

Monaco字体&雅黑Monaco字体

cd /tmp&&git clone https://github.com/JianqingXiao/manjaro-linux-config --depth 1&&sudo cp -r manjaro-linux-config/res/font/Monaco /usr/share/fonts&&cd /usr/share/fonts/Monaco&&sudo chmod 644 *&&sudo mkfontscale&&sudo mkfontdir&&sudo fc-cache -fv

Wallpaper changer

sudo pacman -S variety

Then you are able to use it to change your wallpaper every several minutes automatically.

posted @ 2018-10-08 02:23  dylanchu  阅读(176)  评论(0编辑  收藏  举报