我和manjaro(二)
2022.08.11
更新了目录,方便跳转。
点关注,加收藏,不迷路~
系统美化:
每个人喜好不一样,大家根据自己的喜好进行美化即可。
包括主题、图标、光标、Shell。
主题
~.themes.themes
图标
~.icons.icons
光标
.icons
Shell
Shell
标题栏
优化(tweak)->窗口标题栏->标题栏按钮->放置->左
美化
优化(tweak)->外观
系统设置
配置镜像源
sudo pacman-mirrors -i -c China -m rank # 更新镜像源排名,选择延迟小的。
/etc/pacman.conf
[archlinuxcn]
SigLevel = Optional TrustedOnly
Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch
终端运行以下代码更新镜像源和系统:
sudo pacman -Sy archlinuxcn-keyring # 导入密匙
sudo pacman -Syyu # 更新系统
单击打开文件
文件首选项
Single click
更改grub引导界面
GNU GRUB(GRand Unified Bootloader简称“GRUB”)是一个多操作系统启动程序,它允许用户在计算机内可同时拥有多个操作系统,并在计算机启动时选择希望运行的操作系统。
Grub-theme-vimix
sudo sh install.sh
稍等片刻即可安装成功,重启后发现引导界面已成功更改。
terminal
设置->键盘快捷键+
软件包管理器
pacman
sudo
详细使用方法请参考pacman
yay
sudo
详细使用方式请参考yay
sudo pacman -S yay
常用软件:
每个人使用的场景不同,以下软件按需安装即可。
Cannot find the strip binary required for object fil...fakeroot、binutils
sudo pacman -S base-devel
中文输入法
fcitix5
sudo pacman -S fcitx5-im
再安装中文支持
sudo pacman -S fcitx5-chinese-addons
配置环境
vi ~/.pam_environment
写入以下内容
INPUT_METHOD DEFAULT=fcitx5
GTK_IM_MODULE DEFAULT=fcitx5
QT_IM_MODULE DEFAULT=fcitx5
XMODIFIERS DEFAULT=\@im=fcitx5
重启电脑,点击右上角输入法选择设置,添加拼音,点击OK即可。
CtrlShiftLeft Shift
Vim
yay -S vim
zsh
shell
cat /etc/shells
shellzsh
chsh -s /usr/bin/zsh
ohmyzsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
安装插件
zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
修改主题
powerlevel10k
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes/powerlevel10k
修改配置文件
sudo vim ~/.zshrc
详情参考以下内容
#更改ZSH_THEME
ZSH_THEME="powerlevel10k/powerlevel10k"
#更改plugins
plugins=(git
zsh-autosuggestions
zsh-syntax-highlighting
)
#刷新配置
source ~/.zshrc
#打开终端按提示进行配置即可
Typora
yay -S typora
Notion
yay -S notion-app
Atom
yay -S atom
Vscode
yay -S visual-studio-code-bin
Picgo
Github
yay -S picgo-appimage
Okular
PDF阅读器
yay -S okular
网易云
yay -S netease-cloud-music
Spotify
yay -S spotify
flame截图
yay -S flameshot
flameshot
flameshot
flameshot config
按自己的需要调整即可,这里我取消了铅笔、直线、实心矩形等。
设置快捷键
Chrome
yay -S google-chrome
当我们打开Chrome时发现,发现标题栏会显得很突兀
这时我们只需要,右键标签栏空白处勾选使用系统标题栏和边框即可。
XDM
去XDM官网下载最新版本的安装包(目前最新版本为7.2.11),解压后进入解压目录在终端中执行安装命令:
su -c ./install.sh
XDM/home/用户名/Downloads
Edge
yay -S microsoft-edge-dev-bin
anki
yay -S anki
xmind2020
yay -S xmind-2020
微信
yay -S deepin-wine-wechat
deepin-wine
/opt/apps/com.qq.weixin.deepin/files/run.sh -d
teams
yay -S teams
blechbit
清理磁盘空间
yay -S bleachbit
Albert
软件启动器
yay -S albert
软件设置:
HotkeyCtrl+空格
Autostart on login
ExtensionsApplicationsFilesSystemWebSearch
WebSearch
使用方式:
Githubnumpy
Ctrl+空格Albertgit numpy
Easystroke
MouseInc
yay -S easystroke
软件设置
中键Button2右键Button3Autostart easystrokeActions
常用手势
按需设置即可,同时附上我设置的手势,Super键是左下角win键)。
Wps
#避免安装完后打开Wps提示字体不存在,这里建议先安装字体
#安装字体
yay -S wps-office wps-office-mui-zh-cn wps-office-fonts ttf-wps-fonts
#安装Times new roman字体
yay -S ttf-ms-fonts
#安装wps
yay -S wps-office-cn
安装Latex
目前已转在线的Overleaf,开箱即用。
还没有注册的小伙伴,快点击下方链接进行注册吧。
以下安装过程亦可放心食用。
安装图形化安装界面
yay -S tk
ISO
sudo mount -o loop /path/to/texlive2020.iso /mnt
如果提示:mount: /mnt: 警告:设备写保护,使用只读方式挂载,忽略即可。
安装
cd /mnt
sudo ./install-tl--gui
TeXworks editor
安装时间会有点长,请耐心等待安装完成。
添加环境变量
sudo vim ~/.zshrc
# 在文件末尾添加
export MANPATH=/usr/local/texlive/2020/texmf-dist/doc/man:$MANPATH
export INFOPATH=/usr/local/texlive/2020/texmf-dist/doc/info:$INFOPATH
export PATH=/usr/local/texlive/2020/bin/x86_64-linux:$PATH
测试环境变量
在终端输入:
tex --version
或者
tex '\empty Hello world!\bye'
输出以下内容即生效
设置清华镜像为更新源
sudo tlmgr option repository https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/tlnet
更新tlmgr和宏包
sudo tlmgr update --self --all
编译俄语报错
Package fontspec: The font "CMU Serif" cannot be found.
需要下载Computer Modern Unicode fonts字体,安装完成后更新字体缓存,即可正常编译。
安装字体
字体文件(ttf)/usr/share/fonts/TTF
刷新字体:
fc-cache -fv
更新字体缓存
cd /usr/share/fonts/ #字体的位置
sudo fc-cache -v -f #更新缓存
Gnome插件
插件可以在Gnome Extensions下载安装
推荐几个插件
参考
结语
至此,我们已经完成了系统的美化和常用软件的安装,本篇教程也到此结束了。
Manjarohexo
最后,感谢你看到这里!
Manjaro下搭建hexo个人博客在这里: