Manjaro安装后简单配置

一个相见恨晚的Linux操作系统

Manjaro到底有多受欢迎?

DistroWatch是一个包含了各种Linux发行版及其他自由/开放源代码的类Unix操作系统。 
(如OpenSolaris、MINIX及BSD等)的新闻、人气排名、以及其他一般信息等的网站。  
它包含了数百种发行版的信息。
原文链接:https://distrowatch.com/table.php?distribution=manjaro  

screenshot

Manjaro安装后简单配置

1. 换源

编辑这个文件

/etc/pacman.conf

在文末添加一下内容

[archlinuxcn]  
SigLevel = Never  
Server = https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch

保存退出

全部改为国内镜像源

sudo pacman-mirrors -c China

= = = = = = = = = = = = = = = = = = =

强制更新一下 :

sudo pacman -Syyu

一路回车就行
= = = = = = = = = = = = = = = = = = =

2.安装软件

需要安装的软件 pacman 里都有

1.安装vim

sudo pacman -S vim

高亮UseSyslog

sudo -E vim /etc/pacman.conf

在里面把color的注释去掉

更新一下

sudo pacman -Syy

2.更换shell

默认为bash,更换为fish,后期用起来更方便

安装fish
sudo pacman -S fish
---
更改shell为fish
chsh -s /usr/bin/fish
---
安装oh-my-fish(一个友好的shell)
curl -L https://get.oh-my.fish | fish

国内原因,安装oh-my-fish如果出问题,可以用git克隆到本地再安装

git clone https://github.com/oh-my-fish/oh-my-fish
cd oh-my-fish
bin/install --offline

然后这时候在终端下输入fish就进入fish了

简单配置一下fish

fish下输入:

fish_config

然后它会自动打开浏览器

选一个主题,然后点set theme

promt栏里选个提示符,然后点promt set
然后就可以关闭浏览器了
回到终端,回车即可

3.安装 录屏软件(推荐simplescreenrecorder这个比较小)

sudo pacman -S simplescreenrecorder

4.安装 VScode

sudo pacman -S visual-studio-code-bin

或者

sudo pacman -S code

5.安装网易云音乐

sudo pacman -S netease-cloud-music

6.搜狗输入法

sudo pacman -S fcitx-sogoupinyin  
sudo pacman -S fcitx-im  
sudo pacman -S fcitx-configtool  # 图形化配置界面  

修改配置文件 vim ~/.xprofile 添加以下几句

export GTK_IM_MODULE=fcitx

export QT_IM_MODULE=fcitx

export XMODIFIERS="@im=fcitx"

然后重启就完事了(ctrl+space切换输入法)

如果搜狗输入法异常

cd ~/.config
    sudo rm -rf SogouPY SogouPY.users sogou-qimpanel fcitx

然后重新安装搜狗输入法就行了!

原文地址:https://www.cnblogs.com/codehhr/p/12886872.html