主系統用得Win10,近期轉入Linux 平臺,已經正式試用了多個發行版,最張選擇Ubuntu18.04.03LTS。以下,是關於一些常用軟體安裝及設置的收集整理。
1. 修改系統登錄背景:
a.複製圖片到指定的目錄
sudo -s
cp currentdir/*.jpg /usr /share / backgrounds/
b.修改系統登錄界面配置文件
sudo gedit /etc /alternatives /gdm3.css
c.
#lockDialogGroup {
background: #2c001e url(file:///usr/share/backgrounds/*.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center; }
d.重啟系統reboot.
2. 修改Grub Themes主題
a. 創建Themes主題文件夾
sudo mkdir /boot /grub /themes
b. 複製主題文件到/boot /grub /themes
sudo cp -r Cyber-Security /boot/grub/themes
c. 修改配置文件
sudo gedit /etc/grub.d/00_header
添加以下語句:
GRUB_THEME="/boot/grub/themes/Cyber-Security/theme.txt" GRUB_GFXMODE="1920x1080x32"
d. 更新配置文件及重啟系統
sudo update-grub
reboot
3. Ubuntu 18.04安裝fcitx輸入法
a.卸載IBUS
sudo apt-get purge ibus
b.打開 ubuntu 軟體中心,搜索 fcitx,把3個帶企鵝圖標的軟體都安裝上;
c.根據你的需要安裝輸入法碼錶,我用的是五筆拼音,sudo apt-get install fcitx-table-wbpy
d.sudo apt remove fcitx-ui-classic,防止出現兩個輸入法圖標
e.Startup Applications,把fcitx設為自啟動,防止Ubuntu註銷後輸入法消失;
f.選擇fcitx為系統輸入法,在 /usr/share/applications 路徑中找到並執行 「Region
& Language」,在出現的對話框中點擊「管理已安裝的語言」
g.最後一步,重啟reboot
4.Ubuntu18.04安裝wps並解決系統缺失字體問題
a.進入WPS官網下載deb包及執行安裝
b.wps_symbol_fonts.zip 下載缺失的字體文件並解壓
c.將目錄中所有文件複製到/usr/share/fonts下:
sudo cp mtextra.ttf symbol.ttf WEBDINGS.TTF wingding.ttf WINGDNG2.ttf WINGDNG3.ttf /usr/share/fonts
sudo cp * /usr/share/fonts
d.生成字體索引信息
sudo mkfontscale
sudo mkfontdir
e.更新字體緩存
sudo fc-cache
5.卸載Ubuntu自帶的libreOffice
sudo apt-get remove libreoffice-common 或者:
sudo apt-get remove --purge libreoffice*
6.Deepin QQ、deepin微信、deepin百度網盤
a.首先在ubuntu18.04中安裝deepin-wine環境
在githuub上有人已經將deepin-wine環境打包好了,不需要我們一一安裝依賴項
git clone https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu.git
sudo git clone https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu
b.下載完成後進行安裝
cd deepin-wine-for-ubuntu
./install.sh
c.安裝deepinQQ 、deepin微信、deepin百度網盤
http://mirrors.aliyun.com/deepin/pool/non-free/d/
進行手動下載,下載好之後,雙擊進行安裝即可
命令手動安裝:
sudo dpkg -i ***.deb
7.Ubuntu18.04-深度截圖及設置快捷鍵
a.打開Ubuntu Software, 搜索deepin, 點擊Deepin Screenshot, 點擊Install
b.打開Settings, 選擇Devices,選擇Keyboard, 滑到底部選擇添加
c.Name: Deepin Screenshot
d.Command: /usr/bin/deepin-screenshot
e.Shortcut: Ctrl+Alt+A
8.永久關閉Apport錯誤報告
編輯/etc/default/apport,修改下列參數
enabled=0
重啟你的Ubuntu系統,Apport將會自動關閉
9. Win10+Linux雙系統引導修復
Win10重裝後,Linux系統的引導修複方法:
用Linux的安裝U盤,從U盤啟動聯網。
sudo -s
add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
sudo apt-get install – y boot-repair && boot-repair
10. Ubuntu conky配置及自啟動
a. 主目錄下創建文件.conkyrc
sudo touch .conkyrc
sudo gedit .conkyrc
寫入配置信息。保存及退出。
b. 創建/usr/local/bin/startconky,給以可執行權限,
Sudo touch /usr/local/bin/startconky
sudo chmod 755 /usr/local/bin/startconky
添加更改startconky文件內容:
#!/bin/sh
Sleep 30
Conky
d. 把startconky設為開機自啟動。
11.雙系統下,Ubuntu安裝後win系統時間不同步,慢8H。
sudo -s
sudo apt-get install ntpdate
sudo ntpdate time.windows.com
hwclock --localtime --systohc