加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

Tips using Manjaro

发布时间:2020-12-14 04:19:55 所属栏目:大数据 来源:网络整理
导读: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 coul

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.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读