Ubuntu配置

时间:2021-09-01 15:45:56   收藏:0   阅读:13

Ubuntu配置总结

消除sudo输入密码

vim /etc/sudoers

添加 %sudo ALL=(ALL:ALL) NOPASSWD:ALL

图形环境

apt install gnome-session gnome-shell-extensions

主题

adapta

github地址:https://github.com/adapta-project/adapta-gtk-theme

sudo apt-add-repository ppa:tista/adapta
sudo apt-get update 
sudo apt-get install adapta-gtk-theme

Shell解释器(zsh)

1)安装

sudo apt install zsh

2)指定shell

chsh -s /bin/zsh

3)安装oh-my-zsh

sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

4)插件

? zsh-syntax-highlighting 语法高亮

https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh}/plugins/zsh-syntax-highlighting

? zsh-autosuggestions 自动提示插件

https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh}/plugins/zsh-autosuggestions

5)主题

https://github.com/romkatv/powerlevel10k

6)修改~/.zshrc

ZSH_THEME="powerlevel10k/powerlevel10k"

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

deepin软件源配置

cd /etc/apt/sources.list.d

echo "deb [trusted=yes] https://deepin-wine.i-m.dev /" > deepin-wine.i-m.dev.list
echo "deb [trusted=yes] https://deepin-wine.i-m.dev /" > deepin-wine.i-m.dev.list.save

软件

apt配置为阿里云

原文:https://www.cnblogs.com/xing-shadow/p/15206840.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!