我和manjaro(二)
2022.08.11
更新了目录,方便跳转。
点关注,加收藏,不迷路~
系统美化:
每个人喜好不一样,大家根据自己的喜好进行美化即可。
包括主题、图标、光标、Shell。
主题
~.themes.themes图标
~.icons.icons光标
.iconsShell
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设置->键盘快捷键+软件包管理器
pacmansudo详细使用方法请参考pacman
yaysudo详细使用方式请参考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 ShiftVim yay -S vimzshshell cat /etc/shellsshellzsh chsh -s /usr/bin/zshohmyzsh wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh安装插件
zsh-syntax-highlightinggit clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlightingautosuggestions 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 typoraNotion yay -S notion-appAtom yay -S atomVscode yay -S visual-studio-code-binPicgoGithub yay -S picgo-appimageOkularPDF阅读器
yay -S okular网易云 yay -S netease-cloud-musicSpotify yay -S spotifyflame截图 yay -S flameshotflameshotflameshot flameshot config按自己的需要调整即可,这里我取消了铅笔、直线、实心矩形等。
设置快捷键
Chrome yay -S google-chrome当我们打开Chrome时发现,发现标题栏会显得很突兀
这时我们只需要,右键标签栏空白处勾选使用系统标题栏和边框即可。
XDM去XDM官网下载最新版本的安装包(目前最新版本为7.2.11),解压后进入解压目录在终端中执行安装命令:
su -c ./install.sh XDM/home/用户名/DownloadsEdge yay -S microsoft-edge-dev-binanki yay -S ankixmind2020 yay -S xmind-2020微信 yay -S deepin-wine-wechatdeepin-wine /opt/apps/com.qq.weixin.deepin/files/run.sh -dteams yay -S teamsblechbit清理磁盘空间
yay -S bleachbitAlbert软件启动器
yay -S albert软件设置:
HotkeyCtrl+空格Autostart on loginExtensionsApplicationsFilesSystemWebSearchWebSearch使用方式:
GithubnumpyCtrl+空格Albertgit numpyEasystrokeMouseInc 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 tkISO sudo mount -o loop /path/to/texlive2020.iso /mnt如果提示:mount: /mnt: 警告:设备写保护,使用只读方式挂载,忽略即可。
安装
cd /mnt
sudo ./install-tl--guiTeXworks 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个人博客在这里: