【linux系统体验】-archlinux折腾日记

archlinux

一、系统安装

安装步骤人们已经总结了很多很全: Arch Linux图文安装教程

大体步骤:

  • 磁盘分区
  • 安装 Linux内核
  • 配置系统(基本软件)
  • 新建一个用户
  • 图形界面+桌面安装(如X11、KDE桌面)

二、系统配置及美化

2.1 中文输入法

安装

bash 复制代码
sudo pacman -S fcitx5 fcitx5-chinese-addons fcitx5-gtk fcitx5-qt fcitx5-configtool

新建并在~/.xprofile里配置,重启即可:

bash 复制代码
export LANG=zh_CN.UTF-8
export LC_ALL=zh_CN.UTF-8
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"

后续在桌面输入法配置可添加拼音输入法。

2.2 安装virtualbox增强工具

安装后重启

bash 复制代码
pacman -S virtualbox-guest-utils

2.3 终端美化

安装oh my posh,参考链接:Linux 终端美化

1、安装字体

oh my posh美化工具可以使用合适的字体,如Agave Nerd Font。安装后配置到终端。

2、可执行文件oh-my-posh

bash 复制代码
//下载
wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-linux-amd64 -O /usr/local/bin/oh-my-posh
//记得赋予可执行权限
chmod +x /usr/local/bin/oh-my-posh

3、配置oh-my-posh主题

bash 复制代码
//下载解压到.poshthemes
mkdir ~/.poshthemes
wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/themes.zip -O ~/.poshthemes/themes.zip
unzip ~/.poshthemes/themes.zip -d ~/.poshthemes
chmod u+rw ~/.poshthemes/*.json
//配置到用户环境变量~/.bashrc,推荐主题 1_shell M365Princess montys
eval "$(oh-my-posh init bash --config ~/.poshthemes/M365Princess.omp.json)"

4、配置oh-my-posh字体颜色

bash 复制代码
//下载解压到.poshdircolors
git clone https://gitee.com/wq870406/dircolors-solarized.git
//配置到用户环境变量~/.bashrc
eval `dircolors ~/.poshdircolors/dircolors.ansi-light`

5、更新环境变量

bash 复制代码
. .bashrc

2.4 桌面面板美化

1、全局主题,搜索Aritim-Light

2、底部latte dock栏。

bash 复制代码
sudo pacman -S latte-dock

3、顶部面板做状态栏。
添加部件:

  • 本地:应用程序启动器、数字时钟、托盘等等。
  • Plasma挂件(商店):netspeed widget、catwalk。

4、系统设置

  • 外观:主题,图标
  • 工作区间行为:透明度、缩放
  • 开机和关机:开关机界面

三、问题总结

3.1

相关推荐
工程师老罗1 小时前
龙芯2k0300 PMON取消Linux自启动
linux·运维·服务器
千百元2 小时前
centos如何删除恶心定时任务
linux·运维·centos
oMcLin4 小时前
如何在Manjaro Linux上配置并优化Caddy Web服务器,确保高并发流量下的稳定性与安全性?
linux·服务器·前端
济6174 小时前
linux(第七期)--gcc编译软件-- Ubuntu20.04
linux·运维·服务器
corpse20104 小时前
Linux监控软件Monitorix 安装部署
linux·安全
wdfk_prog4 小时前
[Linux]学习笔记系列 -- [fs]super
linux·笔记·学习
姚青&5 小时前
四.文件处理命令-文本编辑
linux
oMcLin5 小时前
如何在 Red Hat Linux 8 上实现 Kubernetes 自定义资源管理器(CRD)扩展,支持微服务架构
linux·架构·kubernetes
济6175 小时前
linux(第十一期)--Makefile 语法简述-- Ubuntu20.04
linux
hwlfly5 小时前
Linux内核TCP网络模块深度分析
linux