Ubuntu16.04遇到的问题:

1.开机提示检测到系统程序出现问题

(1)、gksu是用来执行图形的(GUI)程序

sudo apt install gksu

(2)

gksu gedit /etc/default/apport

这时候如果出现输入密码错误

(3)

gksu -properties

属性设置,这里将验证模式的默认的su修改为sudo,然后关闭

(4)、

gksu gedit /etc/default/apport

进行apport设置

这里将enabled= 1 修改为下图的 0,然后保存,以后就不会推送系统程序出现问题了。


2.关闭电脑自带键盘

显示当前的输入设备:

xinput list
   ↳ AT Translated Set 2 keyboard               id=13   [slave  keyboard (3)]

找到AT Translated Set 2 keyboard (所有电脑自带键盘的名称)的id号,然后输入:(0为禁用,1为打开)

xinput set-prop 13 "Device Enabled" 0
xinput set-prop 13 "Device Enabled" 1

3.QT 5 无法切换输入法输入中文

sudo apt-get install fcitx-frontend-qt5

sudo cp /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so ~/Qt5.11.1/Tools/QtCreator/lib/Qt/plugins/platforminputcontexts/

sudo cp /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so ~/Qt5.11.1/5.11.1/gcc_64/plugins/platforminputcontexts/

#根据QT版本复制目录做相应修改

4.VMware+ubuntu16.04安装tools

sudo apt-get upgrade

sudo apt-get install open-vm-tools-desktop -y

sudo reboot

5.安装Typora

wget -qO - https://typora.io/linux/public-key.asc | sudo apt-key add -

sudo add-apt-repository 'deb https://typora.io/linux ./'

sudo apt-get update

sudo apt-get install typora

6.安装搜狗输入法

在官网下载搜狗输入法安装包:https://pinyin.sogou.com/linux/

sudo dpkg -i sogoupinyin_2.2.0.0108_amd64.deb
#如果第一遍报错则执行:
sudo apt-get install -f -y
#然后再安装,安装完重启

7.安装谷歌浏览器和flash插件

sudo wget http://www.linuxidc.com/files/repo/google-chrome.list -P /etc/apt/sources.list.d/

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub  | sudo apt-key add -

sudo apt-get update

sudo apt-get install google-chrome-stable

/usr/bin/google-chrome-stable

为chrome安装Flash播放器插件

屏幕右上角,“系统设置”–>“软件和更新”–>“其它软件” ,勾选“Canonical合作伙伴” ,点击“关闭”

sudo apt install adobe-flashplugin

8.更新本地时间,解决双系统时间相差8小时问题

sudo apt-get install ntpdate
sudo ntpdate time.windows.com
sudo hwclock --localtime --systohc

9.主题美化(仿mac主题、图标、鼠标指针)

1.安装主题工具

sudo apt-get install unity-tweak-tool 
sudo apt-get install gnome-tweak-tool 

2.安装主题

sudo add-apt-repository ppa:noobslab/macbuntu 
sudo apt-get update 
sudo apt-get install macbuntu-os-icons-lts-v7 
sudo apt-get install macbuntu-os-ithemes-lts-v7 

3.安装 Plank Dock

sudo apt-get install plank

4.安装 Plank 主题:

sudo add-apt-repository ppa:noobslab/macbuntu
sudo apt-get update
sudo apt-get install macbuntu-os-plank-theme-lts-v7

5.将面板上的 ‘Ubuntu Desktop’ 文字替换 ‘Mac’

cd && wget -O Mac.po http://drive.noobslab.com/data/Mac/change-name-on-panel/mac.pocd /usr/share/locale/en/LC_MESSAGES
sudo msgfmt -o unity.mo ~/Mac.po;rm ~/Mac.po;cd

语言上如果是其他非英语语言,将 /en 做相应修改:如中文 zh_CN

恢复原来的桌面文字命令:

cd && wget -O Ubuntu.po http://drive.noobslab.com/data/Mac/change-name-on-panel/ubuntu.pocd /usr/share/locale/en/LC_MESSAGES
sudo msgfmt -o unity.mo ~/Ubuntu.po;rm ~/Ubuntu.po;cd

6.启动器上苹果Logo

wget -O launcher_bfb.png http://drive.noobslab.com/data/Mac/launcher-logo/apple/launcher_bfb.png
sudo mv launcher_bfb.png /usr/share/unity/icons/

恢复图标:

wget -O launcher_bfb.png http://drive.noobslab.com/data/Mac/launcher-logo/ubuntu/launcher_bfb.png
sudo mv launcher_bfb.png /usr/share/unity/icons/

7.Flatabulous主题

Flatabulous主题是一款ubuntu下扁平化主题,

sudo add-apt-repository ppa:noobslab/themes
sudo apt-get update
sudo apt-get install flatabulous-theme

该主题有配套的图标,安装方式如下:

sudo add-apt-repository ppa:noobslab/icons
sudo apt-get update
sudo apt-get install ultra-flat-icons

你可能感兴趣的:(Ubuntu16.04遇到的问题:)