微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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.d/99-sysctl.conf

and put in the following content:

vm.swappiness=20

Then reboot to let it take effect.

Actually the filename Could be anyone with the ".conf" extension. Like "100-manjaro.conf",etc.

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.

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐