manjaro折腾手记

以前装过Arch,有点折腾,写了个hello world就卸载了。没用过AUR,甚至也没去了解。

听说manjaro继承Arch,几乎开箱即用,对硬件支持非常好,源里面的软件更新非常快。但是没有装中文输入法,装了下搜狗拼音和VSCode。

VSCode的安装是用AUR上的visual-studio-code-bin。  用的是自动化的AUR编译安装打包工具yaourt。

在AUR上搜索到visual-studio-code-bin包后,然后安装yaourt,用以下命令就可以安装VSCode了:

yaourt -S visual-studio-code-bin

以上命令运行过程中会说这个包有潜在的危险,不用管,一路next就可以了,这样就安装好了。manjaro Xfce的DE下类似于windows的开始界面可以搜索到VSCode了。

然后安装搜狗输入法。

 

#打开配置文件
  /etc/pacman.conf
在文件末尾添加

[archlinuxcn]
SigLevel = Optional TrustedOnly
Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch

#导入GPG Key
sudo pacman -Syy && sudo pacman -S archlinuxcn-keyring

现在可以安装软件了,比如 chrome 和搜狗拼音输入法

 

添加了中科大源后,也可以直接在添加/删除软件里搜索直接安装

安装搜狗拼音输入法

sudo pacman -S fcitx-im #默认全部安装
sudo pacman -S fcitx-configtool # 图形化配置工具
sudo pacman -S fcitx-sogoupinyin

#添加输入法配置文件
vscode编辑 ~/.xprofile

添加以下内容

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

References:
https://lms.im/os/manjaro-install-sogou-pinyin-and-add-ustc-source.html
https://wiki.archlinux.org/index.php/Arch_User_Repository
posted @ 2018-08-11 22:26  foo__hack  阅读(5359)  评论(0编辑  收藏  举报