ArcoLinux安装完成后的的配置

这可能是全网第一篇Arcolinux的教程

1. 更改源

修改/etc/pacman.d/mirrorlist

在最头上增加清华源

Server = https://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch

修改后的/etc/pacman.d/mirrorlist

################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################ # With: reflector -f 30 -l 30 --number 10 --save /etc/pacman.d/mirrorlist
# When: 2019-11-28 07:17:25 UTC
# From: https://www.archlinux.org/mirrors/status/json/
# Retrieved: 2019-11-28 07:17:18 UTC
# Last Check: 2019-11-28 06:44:04 UTC Server = https://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch
Server = https://ger.mirror.pkgbuild.com/$repo/os/$arch
Server = https://ftp.halifax.rwth-aachen.de/archlinux/$repo/os/$arch
Server = https://ftp.sh.cvut.cz/arch/$repo/os/$arch
Server = http://mirror.pseudoform.org/$repo/os/$arch
Server = https://mirror.pseudoform.org/$repo/os/$arch
Server = https://mirrors.uni-plovdiv.net/archlinux/$repo/os/$arch
Server = http://mirrors.atviras.lt/archlinux/$repo/os/$arch
Server = https://mirrors.atviras.lt/archlinux/$repo/os/$arch
Server = http://ftp.sh.cvut.cz/arch/$repo/os/$arch
Server = https://mirror.f4st.host/archlinux/$repo/os/$arch

修改/etc/pacman.conf

我选择注释掉最后面以arcolinux开头的四个仓库,并增加中科大的archlinuxcn仓库

这是我修改后的/etc/pacman.conf

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives #
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
#HookDir = /etc/pacman.d/hooks/
HoldPkg = pacman glibc
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta = 0.7
Architecture = auto # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup = #NoUpgrade =
#NoExtract = # Misc options
#UseSyslog
Color
TotalDownload
#CheckSpace
VerbosePkgLists
ILoveCandy # By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required # NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`. #
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
# # The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors. #[testing]
#Include = /etc/pacman.d/mirrorlist [core]
Include = /etc/pacman.d/mirrorlist [extra]
Include = /etc/pacman.d/mirrorlist #[community-testing]
#Include = /etc/pacman.d/mirrorlist [community]
Include = /etc/pacman.d/mirrorlist # If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here. #[multilib-testing]
#Include = /etc/pacman.d/mirrorlist [multilib]
Include = /etc/pacman.d/mirrorlist # An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs #[arcolinux_repo_testing]
#SigLevel = Required DatabaseOptional
#Include = /etc/pacman.d/arcolinux-mirrorlist #[arcolinux_repo]
#SigLevel = Required DatabaseOptional
#Include = /etc/pacman.d/arcolinux-mirrorlist #[arcolinux_repo_3party]
#SigLevel = Required DatabaseOptional
#Include = /etc/pacman.d/arcolinux-mirrorlist #[arcolinux_repo_xlarge]
#SigLevel = Required DatabaseOptional
#Include = /etc/pacman.d/arcolinux-mirrorlist [archlinuxcn]
Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch

然后安装archlinuxcn-keyring

这一步非常非常非常重要,必须在安装后续软件之前执行

执行以下命令

$ sudo pacman -Syu
$ sudo pacman -S archlinuxcn-keyring

2. 安装中文输入法

推荐使用谷歌拼音,不推荐使用搜狗(会出现莫名其妙的问题)

$ sudo pacman -S fcitx-im
$ sudo pacman -S fcitx-cofigtool
$ sudo pacman -S googlepinyin

在家目录下创建.xprofile文件并写入以下内容

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

重启,在开始菜单中找到名为Fcitx 配置的应用进行输入法的选择。

3. 安装WPS

$ sudo pacman -S wps-office ttf-wps-fonts

安装完成后第一次打开会报一个错误

无法打开URI"file:///messagepush%....

这个错误据是因为某个广告插件弹不出来,反正无视他就好了,并不影响使用,反正只有第一次打开会报这个错误

(kainhuck防抄袭插入文字)

4. 安装其他常用软件

QQ

$ sudo pacman -S qq-linux

VScode

$ sudo pacman -S code

typora

$ sudo pacman -S typora

百度网盘

$ sudo pacman -S baidunetdisk-bin

virtualbox

$ sudo pacman -S virtualbox

这里我选择virtualbox-host-dkms

$ sudo pacman -S linux-headers

将当前用户加入vboxusers

$ sudo gpasswd -a $USER vboxusers

其他

$ sudo pacman -S virtualbox-guest-dkms
$ sudo pacman -S virtualbox-guest-iso
$ sudo pacman -S virtualbox-guest-utils

网易云音乐

$ sudo pacman -S netease-cloud-music

此时的网易云音乐还不能输入中文,需要做以下修改

  1. 安装qcef
$ yay -S qcef
  1. 修改/opt/netease/netease-cloud-music/netease-cloud-music.bash文件为以下内容
#!/bin/sh
HERE="$(dirname "$(readlink -f "${0}")")"
export XDG_CURRENT_DESKTOP=DDE
exec "${HERE}"/netease-cloud-music $@

思维导图

$ yay mindmaster

5. 美化终端

虽然arcolinux默认的bash已经足够好看,虽然fish也很好看,但是我还是喜欢zsh

1. 切换shell

arcolinux自带zsh无需额外安装

$ sudo chsh -s /bin/zsh

重启

2. 安装oh-my-zsh

网址https://ohmyz.sh

$ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

3. 配置插件

ohmyzsh的插件放在~/.oh-my-zsh/plugins

历史记录(自动补全)插件

$ cd ~/.oh-my-zsh/plugins
$ git clone git://github.com/zsh-users/zsh-autosuggestions.git

语法检查插件

$ cd ~/.oh-my-zsh/plugins
$ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git

下载好后在~/.zshrc文件中加入上述插件

找到plugins=(git),改为如下

plugins=(
git
sudo
zsh-syntax-highlighting
zsh-autosuggestions
)

生效~/.zshrc

$ source ~/.zshrc

给root用户安装ohmyzsh

切换用户

$ su root

这里注意要清空ZSH的环境变量,否则会提示ohmyzsh已经安装,因为通过su切换用户环境变量是没变的

$ ZSH=

其他步骤同上

6. 解决部分软件中文字体变成框框问题

这是因为缺少字体

$ sudo pacman -S wqy-microhei

ArcoLinux安装完成后的的配置的更多相关文章

  1. Centos7安装成功后,网卡配置及更改镜像地址为国内镜像

    Centos7安装成功后,网卡配置及更改镜像地址为国内镜像 一.网卡配置 二.修改网络配置 踩坑一:IPADDR 踩坑二:网关,DNS与本地不一致 重启网络服务 三.镜像修改为aliyun 四.相关知 ...

  2. 树莓派安装kali后的简单配置

    树莓派可以说是极客的最爱,可以根据不同的需求去做定制. 前文<使用树莓派和kali Linux打造便携式渗透套件>讲了一些使用树莓派的基础,主要侧重于将树莓派当作一个物理后门使用.我则更喜 ...

  3. 初次安装Ubuntu后的若干配置步骤

    第一步,安装VMware-tools 按照如下提示安装 首先将压缩包,复制到/home 目录下,将其解压,执行./vmware-install.pl即可 第二步,配置使linux能上网 首先将ubun ...

  4. Mac 命令行安装mysql homebrew 安装mysql后,如何配置mysql

    非常好 强力推荐 这个是我最新并且一直推崇的方法:1.安装:sunyichaodeMacBook-Pro:~ sunyichao$ brew install mysql2.开启mysql:mysql. ...

  5. 安装Ubuntu后的一些配置

    Ubuntu安装的一些配置 搜狗拼音的安装 卸载ibus和它的配置, 卸载顶部面板的键盘指示 sudo apt remove ibus sudo apt purge ibus sudo apt rem ...

  6. 解决最小化安装Centos7后无法上网的问题,以及安装成功后的基本配置

    发现问题 刚装完最小化的系统后,如果直接ping外网,可能回出现如下情况 解决问题 首先编辑虚拟机的DHCP池: 在弹出的“虚拟网络编辑器”窗口中选择NAT模式的,编辑为其分配地址池: 然后编辑网卡的 ...

  7. 在VM上安装centOS后的网络配置

    花了点时间,研究了下VM上的linux虚拟机的网络配置问题.1.环境主机:winXP SP2,家庭宽带,局域网连到路由器,ip地址为192.168.1.101. 虚拟机:centOS(redhat l ...

  8. PostgreSQL 安装完成后的一些配置

    设置数据目录,一般使用环境变量 PGDATA 指向数据目录的根目录.目录的初始化是使用 initdb 来完成的,-D 后面加上自定义目录的路径 initdb -D /tmp/testpostgres2 ...

  9. VMware 安装 CentOS7 后的简单配置

    1.连网 如果能连网,跳过此步 试着ping一下百度 ping baidu.com 动态分配 IP sudo vim /etc/sysconfig/network-scripts/ifcfg-ens3 ...

随机推荐

  1. Spark程序编译报错error: object apache is not a member of package org

    Spark程序编译报错: [INFO] Compiling 2 source files to E:\Develop\IDEAWorkspace\spark\target\classes at 156 ...

  2. 分支预测(branch prediction)

    记录一个在StackOverflow上看到一个十分有趣的问题:问题. 高票答案的优化方法: 首先找到罪魁祸首: if (data[c] >= 128) sum += data[c]; 优化方案使 ...

  3. Using Watch Mode

    官方文档地址:https://webpack.js.org/guides/development/#using-watch-mode You can instruct webpack to " ...

  4. webpack配置文件里loader的执行顺序:从下到上,从右到左; css-loader开启css模块化modules: true,

    注释: options:{ importLoaders: 2 } 解决样式文件里使用@import 'xxx.xxx' 的问题 module: { rules: [{ test: /\.scss$/, ...

  5. 五 RequestMapping的使用

    1 设置路径映射为数组,在Controller类中一个方法对应多个映射路径,可以被多个url访问 2 分目录管理,在Controller类上添加Request Mapping注解,url访问必须添加相 ...

  6. Java 虚拟机程序监控工具软件

    jdk自带的查看工具(jdk安装目录/bin) .Java VisualVM .jconsole

  7. POJ 2947:Widget Factory 求同余方程

    Widget Factory Time Limit: 7000MS   Memory Limit: 65536K Total Submissions: 5173   Accepted: 1790 De ...

  8. ASP.NET MVC 4 中Razor 视图中JS无法调试 (重要)

    谷歌浏览器,firefox,IE 都可以 1.首先检查IE中这2个属性是否勾选了. 2.选择IE浏览器进行调试,调试方法有2种 A:采用debugger;的方法,如下图所示: 这时不用调试断点就会在d ...

  9. Vue--爬坑

    1.路由变化页面数据不刷新问题: 出现这种情况是因为依赖路由的params参数获取写在created生命周期里面,因为相同路由二次甚至多次加载的关系 没有达到监听,退出页面再进入另一个文章页面并不会运 ...

  10. redis中关闭rdb跟aof

    https://zm10.sm-tc.cn/?src=l4uLj8XQ0IiIiNGdip2KlJDRnJCS0JaRmZCbmouelpPSzc%2FJz8vJxtGXi5KT&uid=49 ...