- Ubuntu 16.04 Unity 启动器移动到桌面底部
gsettings set com.canonical.Unity.Launcher launcher-position Bottom
- Ubuntu 16.04 Unity 启动器移动到桌面
gsettings set com.canonical.Unity.Launcher launcher-position Left
- 软件卸载
sudo apt remove libreoffice-common unity-webapps-common
- 安装媒体解码器
sudo apt install ubuntu-restricted-extras
- 安装常用软件
sudo apt-get install git vim openssh-server wps-office unrar ttf-wqy-microhei
- 16.04 安装搜狗输入法
sudo echo "deb http://archive.ubuntukylin.com:10006/ubuntukylin xenial main" > /etc/apt/sources.list.d/ubuntukylin.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D259B7555E1D3C58
sudo apt update && apt install sogoupinyin
wps中不能使用搜狗输入法解决方法
sed -i -e '/#!/bin/bash/a\export XMODIFIERS="@im=fcitx"\nexport QT_IM_MODULE="fcitx"' /usr/bin/wps
sed -i -e '/#!/bin/bash/a\export XMODIFIERS="@im=fcitx"\nexport QT_IM_MODULE="fcitx"' /usr/bin/et
- 允许远程桌面连接
gsettings set org.gnome.Vino enabled true
gsettings set org.gnome.Vino require-encryption false
- 代理设置
#当前用户代理
cat << EOF >> ~/.bashrc
export ftp_proxy=http://proxy.server.com:8888
export http_proxy=http://proxy.server.com:8888
export https_proxy=http://proxy.server.com:8888
export all_proxy=http://proxy.server.com:8888
export no_proxy=localhost,127.0.0.1,.domain.com
EOF
#root用户代理
sudo su -
cat << EOF >> ~/.bashrc
export ftp_proxy=http://proxy.server.com:8888
export http_proxy=http://proxy.server.com:8888
export https_proxy=http://proxy.server.com:8888
export all_proxy=http://proxy.server.com:8888
export no_proxy=localhost,127.0.0.1,.domain.com
EOF
#apt代理
cat << EOF > /etc/apt/apt.conf
Acquire::http::Proxy "http://proxy.server.com:8888";
Acquire::http::Proxy::127.0.0.1 "DIRECT";
Acquire::http::Proxy::localhost "DIRECT";
Acquire::http::Proxy::domain.com "DIRECT";
EOF
#图形客户端代理
gsettings set org.gnome.system.proxy mode "manual"
gsettings set org.gnome.system.proxy.http host "proxy.server.com"
gsettings set org.gnome.system.proxy.http port "8888"
gsettings set org.gnome.system.proxy.https host "proxy.server.com"
gsettings set org.gnome.system.proxy.https port "8888"
gsettings set org.gnome.system.proxy.ftp host "proxy.server.com"
gsettings set org.gnome.system.proxy.ftp port "8888"
gsettings set org.gnome.system.proxy.socks host "proxy.server.com"
gsettings set org.gnome.system.proxy.socks port "8888"
gsettings set org.gnome.system.proxy ignore-hosts "['localhost', '127.0.0.0/8', '192.168.0.0/16', '10.0.0.0/8', '172.0.0.0/8', '*.domain.com']"
设置后重新打开终端生效