Ubuntu配置

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配置为阿里云

  • 菜单编辑器

    apt install alacarte

    手动配置图标模版

    目录:/usr/share/applications

    [Desktop Entry]
    Type=Application
    Icon=/home/xing/ruanjian/goland-2020.3/GoLand-2020.3/bin/goland.png
    Name=GoLand
    Exec=/home/xing/ruanjian/goland-2020.3/GoLand-2020.3/bin/goland.sh
    Terminal=false
    NoDisplay=false
    Categories=Development;IDE;
    
  • 终端

    1)获取深度终端

    wget http://dcstore.shenmo.tech/store/tools/deepin-terminal-legacy/deepin-terminal-legacy_3.2.1.1_plus_ds1-1_amd64.deb

    sudo dpkg -i deepin-terminal-legacy_3.2.1.1_plus_ds1-1_amd64.deb

    2)设置默认终端

    gsettings set org.gnome.desktop.default-applications.terminal exec /usr/bin/deepin-terminal-legacy

  • 输入法

    fcitx

    安装搜狗输入法

  • 系统管理器

    sudo apt-get install stacer

  • 截图工具

    sudo apt-get install flameshot

  • pdf阅读器

    sudo apt-get install flameshot

  • markdown编辑器

    typora

  • 文件编辑器

    sublime,vscode,ultraEdit

  • 录屏工具

    obs

  • 视频播放器

    vlc

  • 音乐播放器

    网易云,qq音乐

  • ssh连接工具

    FinallShell

  • 浏览器

    火狐,谷歌

  • 表格文档

    wps

  • 聊天工具

    qq,微信,dingding

    qq,微信通过deepin安装

    dingding: https://github.com/nashaofu/dingtalk/security

  • svn安装

    sudo apt install rabbitvcs-cli rabbitvcs-core rabbitvcs-gedit rabbitvcs-nautilus

Ubuntu配置

上一篇:Linux基础——用户和用户组


下一篇:Linux用户和用户组