# manjaro的使用
## 配置源
先切换国内的镜像源仓库
`sudo pacman-mirrors -i -c China -m rank`
在弹出的窗口中选择延迟最小的源
### 添加archlinux中国源
ArchLinuxCN是Arch中文组维护的一个软件合集,包含了中文用户常用的WPS Office、搜狗拼音、Google Chrome等软件。不过系统默认都不包含这个源,因此我们需要手动来配置使用这个源。
`sudo vi /etc/pacman.conf`
#在终端中打开此文件可能会无法编辑,可以在文件管理器的计算机目录中搜索pacman.conf文件然后右键以管理员身份编辑
在末尾加入下列几行
[archlinuxcn]
SigLevel = Optional TrustedOnly
#中科大源
Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch
#清华源
Server = https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch
[arch4edu]
SigLevel = TrustAll
Server = https://mirrors.tuna.tsinghua.edu.cn/arch4edu/$arch
### 更新源列表
`sudo pacman-mirrors -g`
### 更新pacman数据库并且更新系统
`sudo pacman -Syyu`
###防止PGP签名错误
sudo pacman -S archlinuxcn-keyring
sudo pacman -S antergos-keyring
## 安装软件包
### 安装aur包管理工具
`sudo pacman -S yay`
### 安装Chrome
`sudo yay -S google-chrome`
### 安装git
`yay -S git`
`# 一个好用的git客户端`
`yay -S gitkraken`
### 安装QQ
由于wine会出现字体以及分辨率的问题所以我们安装一个来自GitHub的第三方客户端
首先打开源配置文件添加作者的仓库
`sudo vi /etc/pacman.conf`
添加如下几行
[Clansty]
SigLevel = Never
Server = https://dl.lwqwq.com/repo/$arch
添加了archlinuxcn源的话可以不用添加作者仓库
然后进行安装
`yay -S icalingua`
### 安装搜狗输入法
打开 manjaro hello这个软件选择application,选中下图发光栏打上勾,选择UPDATE SYSTEM(这一步是安装配置fcitx,直接安装这个包不用手动配置.xprofile)
sudo pacman -S fcitx-im
sudo pacman -S fcitx-configtool
终端输入命令安装yaourt
`sudo pacman -S yaourt`
安装搜狗拼音
`yaourt fcitx-sogoupinyin`
添加输入法配置文件,输入命令:
`sudo vim ~/.xprofile`
编辑模式写入:
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
然后保存退出
重启系统,打开fcitx配置,添加搜狗输入法即可使用
## 安装vscode
`yay -S visual-studio-code-bi
## 安装网易云音乐
`yay -S netease-cloud-music`
## 安装QQ音乐
`yay -S qqmusic-bin`
## 安装wps
`yay -S wps-office-mui-zh-cn wps-office-mime-cn wps-office-cn wps-office-fonts ttf-ms-fonts ttf-wps-fonts`
还有很多的软件可以在系统自带的添加/删除软件中下载
## 使用imwheel优化鼠标滚动效果
安装imwheel
`sudo pacman -S imwheel`
修改配置文件.imwheelrc:
"^chromium$"
Control_L,Up,Control_L|Button4
Control_R,Up,Control_R|Button4
Control_L,Down,Control_L|Button5
Control_R,Down,Control_R|Button5
Shift_L,Up,Shift_L|Button4
Shift_R,Up,Shift_R|Button4
Shift_L,Down,Shift_L|Button5
Shift_R,Down,Shift_R|Button5
None,Up,Button4,7,0,34285
None,Down,Button5,7,0,34285
"^netease-cloud-music$"
Control_L,Up,Control_L|Button4
Control_R,Up,Control_R|Button4
Control_L,Down,Control_L|Button5
Control_R,Down,Control_R|Button5
Shift_L,Up,Shift_L|Button4
Shift_R,Up,Shift_R|Button4
Shift_L,Down,Shift_L|Button5
Shift_R,Down,Shift_R|Button5
None,Up,Button4,6,0,40000
None,Down,Button5,6,0,40000
"^Telegram$"
Control_L,Up,Control_L|Button4
Control_R,Up,Control_R|Button4
Control_L,Down,Control_L|Button5
Control_R,Down,Control_R|Button5
Shift_L,Up,Shift_L|Button4
Shift_R,Up,Shift_R|Button4
Shift_L,Down,Shift_L|Button5
Shift_R,Down,Shift_R|Button5
None,Up,Button4,5,0,48000
None,Down,Button5,5,0,48000
最后两行None,Up,None,Down,是鼠标滚动行数,根据自己的需求修改即可
启动
`imwheel kill`

manjaro(arch系)Linux使用(一)的更多相关文章

  1. Arch系Linux中安装Docker

    Arch系Linux中安装Docker 1. 下载最新版docker $ sudo pacman -Syu docker 2. 免sudo执行docker $ sudo gpasswd -a ${US ...

  2. Arch系linux配置Go开发环境

    1. 下载go $ sudo pacman -S go 下载后系统会将go安装在/usr/lib/go目录下 2. 配置一些环境变量 一共需要三个环境变量,分别为: GOROOT -> go语言 ...

  3. rpm 系 linux 系统中 repo 文件中的 $release 到底等于多少?

    rpm 系 linux 系统中 repo 文件中的 $release 到底等于多少? 结论 对于 8 来说,通过以下命令 #/usr/libexec/platform-python -c 'impor ...

  4. debian系linux墙内安装安全工具集

    虽然有kali linux这样集合了很多安全工具的操作系统,但是kali的软件源相对老旧,没有ubuntu等主流debian系统丰富,kali默认使用su权限进入图形化界面也是违背linux权限机制的 ...

  5. Linux 无法启动vmmon的问题[主要出现于Arch系]

    Vmmon module not loaded 使用如下命令加载模块 # modprobe -a vmw_vmci vmmon 可能会出现modprobe: WARNING: Module vmmon ...

  6. Manjaro/Arch linux 安装输入法

    输入命令: sudo pacman -Syu fcitx fcitx-googlepinyin fcitx-im fcitx-configtool 编辑 ~/.xprofile:# xfcitxexp ...

  7. manjaro (arch) 安装搜狗输入法

    本文通过MetaWeblog自动发布,原文及更新链接:https://extendswind.top/posts/technical/sogou_input_install_in_arch_manja ...

  8. Debian系Linux的dpkg命令

    dpkg "是"Debian Packager "的简写.为 "Debian" 专门开发的套件管理系统,方便软件的安装.更新及移除.所有源自" ...

  9. 【LAMP】在Debian系linux下安装LAMP

    一.安装基本的编译环境 apt-get install build-essential 二.安装MySQL apt-get install mysql-server 三.安装Apache apt-ge ...

随机推荐

  1. [cf643G]Choosing Ads

    首先对于$p>50$,有经典的做法,即不断删去区间中不同的两数,最终剩下的即为出现次数超过一半的数(或没有),用线段树维护即可 那么对于$p\le 50$,类似的,即删去区间中不同的$\lflo ...

  2. nginx安装与配置4-负载均衡

    负载均衡: 1.准备俩tomcat,测试环境端口不一样,然后服务名一样然后内容不一样 2.配置nginx的config 在http模块中设置: //举例,以下IP,端口无效 upstream test ...

  3. (前端)面试300问之(2)CSS元素居中【水平、垂直、2者同时居中】

    一 仅水平居中 1 行内元素 1)给父元素添加 text-align:center 即可 <div class="parent"> <span class=&qu ...

  4. 学习 DDD 之消化知识!

    接触到DDD到现在已经有8个月份了,目前所维护的项目也是基于DDD的思想开发的,从一开始的无从下手,到现在游刃有余,学到不少东西,但是都是一些关键字和零散的知识,同时我也感受到了是因为我对项目越来越熟 ...

  5. 最简单的Python3启动浏览器代码

    #encoding=utf-8 from selenium import webdriver import time from time import sleep   dr = webdriver.F ...

  6. python 内置模块续(二)

    目录 python 内置模块补充 1.hashlib模块 简易使用: 高级使用: 进阶使用: 加盐处理: 校验文件一致性 2.logging日志模块 日志等级 常用处理 "四大天王" ...

  7. Atcoder Regular Contest 058 D - 文字列大好きいろはちゃん / Iroha Loves Strings(单调栈+Z 函数)

    洛谷题面传送门 & Atcoder 题面传送门 神仙题. mol 一发现场(bushi)独立切掉此题的 ycx %%%%%%% 首先咱们可以想到一个非常 naive 的 DP,\(dp_{i, ...

  8. SNP 过滤(二)

    本文转载于https://www.jianshu.com/p/e6d5dd774c6e SNP位点过滤 SNP过滤有两种情况,一种是仅根据位点质量信息(测序深度,回帖质量等)对SNP进行粗过滤.如果使 ...

  9. python8 标准模块和第三方模块

  10. Java日期格式转换不用发愁

    前言 Java 中日期.时间相关的类相当的多,并且分不同的版本提供了不同的实现,包括 Date . Calendar . LocalDateTime . ZoneDateTime . OffsetDa ...