不准再说linux丑,Ubuntu20.04+kde美化,软件安装

ubuntu20.04美化教程

在这里插入图片描述
在这里插入图片描述

在这里插入图片描述

安装ubuntu kde

ubuntu官网下载好最新发行版ubuntu20.04,制作启动盘以最小安装,安装系统,然后替换/etc/apt/source.list中为国内源,执行
sudo apt update
sudo apt upgrade
  1. 如果是amd的cpu需要更换内核

    其他版本的自行百度,必须5.7版本以上,否则无法调节屏幕亮度,下载:
    1.linux-headers-5.9.0-050900_5.9.0-050900.202010112230_all.deb
    2.linux-headers-5.9.0-050900-generic_5.9.0-050900.202010112230_amd64.deb
    3.linux-image-unsigned-5.9.0-050900-generic_5.9.0-050900.202010112230_amd64.deb
    4.linux-modules-5.9.0-050900-generic_5.9.0-050900.202010112230_amd64.deb
    sudo dkpg -i 包名
    
  2. 安装kde桌面

    sudo apt install kde-standard
    安装过程会提示切换sdd启动确定就好
    

    安装完成后重启电脑

  3. 开始美化:

    1. 打开系统设置》全局主题》获取新的全局主题:搜索whitesur下载,然后点击使用来自主题的桌面主题的布局
      在这里插入图片描述

    2. 设置Plasma样式
      在这里插入图片描述

    3. 设置应用程序风格
      在这里插入图片描述

      图标什么的还有游标样式自己喜欢下载吧

    4. 配置dock栏目

      sudo apt install latte-dock
      然后找到叫latte的程序运行,然后对着dock栏右键选择停靠栏设置,打开有上角的高级选项(不然无法关闭背景)到此就差不多了
      

在这里插入图片描述

  1. 其他软件下载地址

    注意:不要安装其他输入法,否则微信可能不能使用中文输入法
    chrome:https://www.google.cn/chrome/
    网易云:https://music.163.com/#/download
    百度网盘:http://pan.baidu.com/download
    wps:https://www.wps.cn/product/wpslinux
    vscode:https://code.visualstudio.com/
    

微信,钉钉安装

  1. 安装wine

    Deepin wine Ubuntu 项目主页:https://github.com/wszqkzqk/deepin-wine-ubuntu

    sudo apt install git gcc vim gedit
    git clone https://github.com/wszqkzqk/deepin-wine-ubuntu.git
    cd deepin-wine-ubuntu
    ./install.sh
    chmod +x install_2.8.22.sh
    ./install_2.8.22.sh
    

    软件地址

    QQ:https://mirrors.aliyun.com/deepin/pool/non-free/d/deepin.com.qq.im/
    TIM:https://mirrors.aliyun.com/deepin/pool/non-free/d/deepin.com.qq.office/
    微信:https://mirrors.aliyun.com/deepin/pool/non-free/d/deepin.com.wechat/
    钉钉:https://mirrors.aliyun.com/deepin/pool/non-free/d/dingtalk/
    其他的自己去以下地址找,下载deb包https://mirrors.aliyun.com/deepin/pool/non-free/d/
    可以创建一个文件夹统一放deb包,软件下载好以后进入文件夹中统一安装
    sudo dpkg -i *.deb
    
  2. 微信会存在两个问题,无法输入中文,中文乱码

    1. 微信中文乱码

      cd /opt/deepinwine/tools/
      sudo vim run.sh
      将WINE_CMD 那一行修改为 WINE_CMD=“LC_ALL=zh_CN.UTF-8 deepin-wine”
      1.下载字体包msyh.ttc下载后解压进入文件夹中
      下载地址:https://www.lanzous.com/i5wivmd
      2.执行命令:
      cp msyh.ttc ~/.deepinwine/Deepin-WeChat/drive_c/windows/Fonts
      3.修改注册序列表
      gedit ~/.deepinwine/Deepin-WeChat/system.reg
      4.修改MS Shell Dlg和MS Shell Dlg2的值如下:
      "MS Shell Dlg"="msyh"
      "MS Shell Dlg 2"="msyh"
      5.注册字体
      gedit msyh_config.reg
      复制以下内容输入:
      
      REGEDIT4
      [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]
      "Lucida Sans Unicode"="msyh.ttc"
      "Microsoft Sans Serif"="msyh.ttc"
      "MS Sans Serif"="msyh.ttc"
      "Tahoma"="msyh.ttc"
      "Tahoma Bold"="msyhbd.ttc"
      "msyh"="msyh.ttc"
      "Arial"="msyh.ttc"
      "Arial Black"="msyh.ttc"
      
      6.执行命令:
      deepin-wine regedit msyh_config.reg
      
    2. 无法输入中文

      cd /opt/deepinwine/tools/
      sudo chmod 777 run.sh  #文件默认为只读,修改权限
      vim run.sh   #编辑脚本
      加入以下内容:
      export GTK_IM_MODULE="fcitx"
      export QT_IM_MODULE="fcitx" 
      export XMODIFIERS="@im=fcitx"
      

    完成以上,重启微信。

wps-offce

缺少字体

https://pan.baidu.com/s/10hApb1fg0VoffylXD_1z0w?errmsg=Auth+Login+Sucess&errno=0&ssnerror=0&
密码:1qju
  1. 解压进入包含.ttf或.TTF后缀结尾的文件目录下,输入如下指令

    sudo cp * /usr/share/fonts
    
  2. 执行下面这2条命令更新字体索引信息

    sudo mkfontscale
    sudo mkfontdir
    
  3. 运行下面这条命令更新字体缓存

    sudo fc-cache
    

安装oh-my-zsh

  1. 查看本地的 shell

    cat /etc/shells
    
  2. 切换到 zsh

    chsh -s /bin/zsh
    
  3. 安装 oh-my-zsh的配置文件(这是个神奇的网站,估计一般人连不上)

    via curl
    sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    
    或者 
    
    via wget
    sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
    1234567
    
  4. 替换zsh的配置文件为 oh-my-zsh,重新打开shell后生效

    cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
    
  5. 更改主题

    vim ~/.zshrc
    
    修改主题:ZSH_THEME
    
    ZSH_THEME="agnoster"
    12345
    

安装 ZSH 插件

  1. 安装zsh-autosuggestions

    git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/plugins/zsh-autosuggestions
    
  2. 安装zsh-syntax-highlighting

    git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/plugins/zsh-syntax-highlighting
    
  3. 安装autojump

    sudo pacman -S autojump
    
  4. 配置

    vim ~/.zshrc
    
    plugins=(
    	git
    	zsh-syntax-highlighting
    	zsh-autosuggestions
    	autojump
    )
    
  5. 应用配置

    source  ~/.zshrc
    

安装l2tp支持

sudo add-apt-repository ppa:nm-l2tp/network-manager-l2tp
sudo apt install network-manager-l2tp network-manager-l2tp-gnome

关于ArchLinux

最近这一个月都在玩linux,主要ubuntu,deepin,arch,manjaro,openSuse。总体的体验来说deepin毕竟国产系统更符合国人习惯,常用软件安装都比较简单商店一应俱全,ubuntu系列对程序员来说不用什么学习成本开箱即用。manjaro体验也不错,就是微信不能截图,有透明框,强迫症的我忍不了。openSuse整体来说喜欢玩kde的还是选择它,毕竟是由一群kde开发者一起开发的。至于arch,难度太大不适合新手,我花在arch的时间起码有两个星期,在一个黑窗口要自己使用命令分区挂在创建引导,创建配置这一系列操作才能安装成功,图形化需要自己安装,网络需要自己安装,完全的diy。但是这样子每个人的arch就是为自己电脑量身定做,独一无二的系统,完成还是很有成就感的。
下次发一个自动完成分区挂载配置全自动化的脚本给大家玩吧!!!

猜你喜欢

转载自blog.csdn.net/weixin_41413372/article/details/109410552
今日推荐