【环境配置】经常使用软件

0. 环境变量设置的几种方式及差别

单一用户:.bashrc: 为每个运行bash shell的用户运行此文件.当bash shell被打开时,该文件被读取。


打开用户主文件夹下的.bashrc。在这个文件里添加
export PATH=”$PATH:export PATH="$PATH:/home/***/android-sdk-linux_86/platform-tools/"
重新启动或注销就好了。



全局设置:
/etc/profile 是全部用户的环境变量
在/etc/profile中添加
export PATH="$PATH:/home/***/android-sdk-linux_86/platform-tools/"

系统设置:
/etc/enviroment是系统的环境变量
export PATH="$PATH:/home/***/android-sdk-linux_86/platform-tools/"

所以,当配置一个路径到profile和enviroment中后,新开一个终端,是不能使用默认命令的。
比方在profile和enviroment中设置了export PATH=****/android-sdk-linux_86/platform-tools后,
新开的终端中假设不source一下。是依旧不能使用adb命令的,可是假设在.bashrc中设置了的话,新开的终端是能够直接使用adb的。



假设同一个变量在用户环境(/etc/profile)和系统环境(/etc/environment)有不同的值那应该是以用户环境为准了。


1. ThinderBird配置腾讯企业邮箱

(1) POP3/SMTP协议

收发邮件server地址分别例如以下。

接收邮件server:pop.exmail.qq.com (port 110)

发送邮件server:smtp.exmail.qq.com (port 25)

同一时候支持SSL加密方式登录。此时须要更改一下port号。

接收serverport:995

发送serverport:465


(2) IMAP协议

接收邮件server:imap.exmail.qq.com

假设使用SSL加密方式,接收serverport是: 993


(3) 相关介绍

25port(SMTP):25port为SMTP(Simple Mail Transfer Protocol,简单邮件传输协议)服务所开放的。是用于发送邮件。

109port(POP2):109port是为POP2(Post Office Protocol Version 2,邮局协议2)服务开放的,是用于接收邮件的。

110port(POP3):110port是为POP3(Post Office Protocol Version 3,邮局协议3)服务开放的,是用于接收邮件的。

143port(IMAP):143port是为IMAP(INTERNET MESSAGE ACCESS PROTOCOL)服务开放的,是用于接收邮件的。


2. 安装Google Chrome浏览器

(1) 下载

32位版本号

wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb

64位版本号

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb


(2) 安装

32位版本号

sudo dpkg -i google-chrome-stable_current_i386.deb

64位版本号

sudo dpkg -i google-chrome-stable_current_amd64.deb

kaizen@dell:~$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
--2014-08-25 11:13:53--  https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
正在解析主机 dl.google.com (dl.google.com)... 203.208.46.165, 203.208.46.162, 203.208.46.160, ...
正在连接 dl.google.com (dl.google.com)|203.208.46.165|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 48424346 (46M) [application/x-debian-package]
正在保存至: “google-chrome-stable_current_amd64.deb”

100%[======================================>] 48,424,346   109KB/s   用时 7m 41s

2014-08-25 11:21:34 (103 KB/s) - 已保存 “google-chrome-stable_current_amd64.deb” [48424346/48424346])

kaizen@dell:~$ sudo dpkg -i google-chrome-stable_current_amd64.deb 
Selecting previously unselected package google-chrome-stable.
(正在读取数据库 ... 系统当前共安装有 189162 个文件和文件夹。)
正在解压缩 google-chrome-stable (从 google-chrome-stable_current_amd64.deb) ...
正在设置 google-chrome-stable (36.0.1985.143-1) ...
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/x-www-browser (x-www-browser) in 自己主动模式
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/gnome-www-browser (gnome-www-browser) in 自己主动模式
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/google-chrome (google-chrome) in 自己主动模式
正在处理用于 bamfdaemon 的触发器...
Rebuilding /usr/share/applications/bamf-2.index...
正在处理用于 desktop-file-utils 的触发器...
正在处理用于 gnome-menus 的触发器...
正在处理用于 man-db 的触发器...

3. Ubuntu 13.04软件源

#deb cdrom:[Ubuntu 12.04 _Precise_ - Build amd64 LIVE Binary 20130203-13:50]/ precise main

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ precise main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ precise universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ precise universe
deb http://cn.archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://cn.archive.ubuntu.com/ubuntu/ precise multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu precise partner
# deb-src http://archive.canonical.com/ubuntu precise partner

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu precise main
# deb-src http://extras.ubuntu.com/ubuntu precise main


4. 改动鼠标的速度

xset m x

当中x是鼠标的速度,假设想要使用默认的鼠标速度,运行 xset m default


5. U盘安装Ubuntu的问题

如今的Ubuntu不知道为什么。用UltraISO直接打开之后仅仅有一个efi文件夹,写入硬盘镜像自然有问题。解决方法有两种。

(1) 下载最新版本号的Universal USB Installer

http://www.onlinedown.net/soft/247396.htm

(2) 适用于Windows 8系统。

首先用系统自带的ISO打开方式挂载Ubuntu镜像。然后管理员打开UltraISO->文件->打开光盘->选择刚才挂载的盘符。

这时候就会显示全部镜像里面的文件。进而选择“写入硬盘镜像”。


6. Linux Mint fcitx输入法的安装与配置

sudo add-apt-repository ppa:fcitx-team/nightly
sudo aptitude update

sudo aptitude install fcitx fcitx-sogoupinyin fcitx-config-gtk fcitx-frontend-all fcitx-module-cloudpinyin fcitx-ui-classic


以上安装软件的介绍例如以下:
1.fcitx:fcitx主程序
2.fcitx-sogoupinyin :fcitx的搜狗拼音词库。(你也能够换成其它类型的词库比方五笔、rime等等。详细能够终端输入aptitude search fcitx搜索。


3.fcitx-config-gtk:fcitx的gtk的设置图形界面。
4.fcitx-frontend-all:fcitx在全部环境下的前端。(有qt、gtk2、gtk3下相应的包组成。


5.fcitx-module-cloudpinyin:fcitx的云拼音模块。
6.fcitx-ui-classic:fcitx的经典UI显示模块。

(此软件包不能被fcitx-ui-light或者fcitx-ui-qimpanel取代,应为该包默认包括着fcitx-module-x11,有了它才干在让fcitx在图形界面上显示出输入框。




PS:KDE用户还能够安装fcitx的QT化组建来使fcitx风格能更加与KDE桌面环境统一:
sudo aptitude install fcitx-ui-qimpanel fcitx-module-kimpanel plasma-widget-kimpanel

关于fcitx的配置,非常多人说用im-switch,事实上Mint本身就自带了一个更好的输入法配置器,im-config:
依次点击:”Menu->首选项->输入法“打开im-config:
【环境配置】经常使用软件

手工制定系统默认输入法为fcitx:
【环境配置】经常使用软件