Ubuntu 开箱指南
Theme
Shell
Fish
Fish 是"the friendly interactive shell"的简称,最大特点就是方便易用。很多其他 Shell 需要配置才有的功能,Fish 默认提供,不需要任何配置。
sudo apt-get -y install fishfish 配置文件:~/.config/fish/config.fish
fish 的 Web 配置界面:
fish_configOh My Posh
docs: https://ohmyposh.dev/docs
curl -s https://ohmyposh.dev/install.sh | bash -s在 ~/.config/fish/config.fish 设置生效:
set PATH $HOME/.local/bin $PATH
oh-my-posh init fish | source主题下载:https://ohmyposh.dev/docs/themes
指定主题在 Shell 的配置文件中指定主题位置:
Terminal
alacritty: https://github.com/alacritty/alacritty
Tmux
TPM: https://github.com/tmux-plugins/tpm
将此内容放在 ~/.tmux.conf 的底部( $XDG_CONFIG_HOME/tmux/tmux.conf 也可以):
打开 tmux,使用快捷键 I 安装TPM及相关插件。
Nvidia 驱动安装
关闭BIOS:Secure Boot
禁用开源驱动 nouveau
检查是否有 nouveau 运行
禁用 nouveau
卸载旧的驱动
安装dkms + Nvidia官方推荐驱动
常用调整
启用 root 用户
修改用户名
最后更新于