ubuntu20.04美化教程



安裝ubuntu kde
ubuntu官網下載好最新發行版ubuntu20.04,制作啟動盤以最小安裝,安裝系統,然后替換/etc/apt/source.list中為國內源,執行
sudo apt update
sudo apt upgrade
-
如果是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 包名 -
安裝kde桌面
sudo apt install kde-standard 安裝程序會提示切換sdd啟動確定就好安裝完成后重啟電腦
-
開始美化:
-
打開系統設定》全域主題》獲取新的全域主題:搜索whitesur下載,然后點擊使用來自主題的桌面主題的布局

-
設定Plasma樣式

-
設定應用程式風格

圖示什么的還有游標樣式自己喜歡下載吧
-
配置dock欄目
sudo apt install latte-dock 然后找到叫latte的程式運行,然后對著dock欄右鍵選擇停靠欄設定,打開有上角的高級選項(不然無法關閉背景)到此就差不多了
-

-
其他軟體下載地址
注意:不要安裝其他輸入法,否則微信可能不能使用中文輸入法 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/
微信,釘釘安裝
-
安裝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 -
微信會存在兩個問題,無法輸入中文,中文亂碼
-
微信中文亂碼
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 -
無法輸入中文
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
-
解壓進入包含.ttf或.TTF后綴結尾的檔案目錄下,輸入如下指令
sudo cp * /usr/share/fonts -
執行下面這2條命令更新字體索引資訊
sudo mkfontscale sudo mkfontdir -
運行下面這條命令更新字體快取
sudo fc-cache
安裝oh-my-zsh
-
查看本地的 shell
cat /etc/shells -
切換到 zsh
chsh -s /bin/zsh -
安裝 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 -
替換zsh的組態檔為 oh-my-zsh,重新打開shell后生效
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc -
更改主題
vim ~/.zshrc 修改主題:ZSH_THEME ZSH_THEME="agnoster" 12345
安裝 ZSH 插件
-
安裝zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/plugins/zsh-autosuggestions -
安裝zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/plugins/zsh-syntax-highlighting -
安裝autojump
sudo pacman -S autojump -
配置
vim ~/.zshrc plugins=( git zsh-syntax-highlighting zsh-autosuggestions autojump ) -
應用配置
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就是為自己電腦量身定做,獨一無二的系統,完成還是很有成就感的,
下次發一個自動完成磁區掛載配置全自動化的腳本給大家玩吧!!!
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/199231.html
標籤:python
