0%

Linux-Ubuntu学习记录

##Ubuntu

  • 安全结束apt-get
1
2
3

sudo dpkg -r <package name>

  • 安装VPN ShadowSocks-qt5
1
2
3
4
5
6
7

sudo add-apt-repository ppa:hzwhuang/ss-qt5

sudo apt-get update

sudo apt-get install shadowsocks-qt5

  • apt-get异常结束引起的问题
1
2
3
4
5

vim /var/lib/dpkg/status

删除掉对应的整个Package

  • 删除libreoffice
1
2
3

sudo apt-get remove libreoffice-common

  • 删除Amazon的链接
1
2
3

sudo apt-get remove unity-webapps-common

  • 删掉基本不用的自带软件
1
2
3
4
5

sudo apt-get remove thunderbird totem rhythmbox empathy brasero simple-scan gnome-mahjongg aisleriot gnome-mines cheese transmission-common gnome-orca webbrowser-app gnome-sudoku landscape-client-ui-install

sudo apt-get remove onboard deja-dup

  • 安装ExFat文件系统驱动
1
2
3

sudo apt-get install exfat-utils

  • 移动Unity所处位置
1
2
3

gsettings set com.canonical.Unity.Launcher launcher-position Bottom

  • 点击图标最小化
1
2
3

gsettings set org.compiz.unityshell:/org/compiz/profiles/unity/plugins/unityshell/ launcher-minimize-window true

  • 安装Mono
1
2
3
4
5
6
7
8
9

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF

echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list

sudo apt-get update

sudo apt-get install mono-compete

  • 安装WPS-Office
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

安装WPS Office后

http://download.csdn.net/download/wl1524520/6333049

解压到 /usr/share/fonts/ 目录下,解压出来的目录为wps_symbol_fonts

cd /usr/share/fonts/
chmod 755 wps_symbol_fonts
cd /usr/share/fonts/wps_symbol_fonts
chmod 644 *

mkfontdir
mkfontscale
fc-cache

  • 安装为知笔记
1
2
3
4
5

$ sudo add-apt-repository ppa:wiznote-team
$ sudo apt-get update
$ sudo apt-get install wiznote

  • 安装SSTP VPN协议
1
2
3
4
5
6
7
8
9

$ sudo add-apt-repository ppa:eivnaes/network-manager-sstp

$ sudo apt-get update

$ sudo apt-get install sstp-client

$ sudo apt-get install network-manager-sstp-gnome