【环境配置】常用软件

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协议

收发邮件服务器地址分别如下。

接收邮件服务器:pop.exmail.qq.com (端口 110)

发送邮件服务器:smtp.exmail.qq.com (端口 25)

同时支持SSL加密方式登录,此时需要更改一下端口号。

接收服务器端口:995

发送服务器端口:465


(2) IMAP协议

接收邮件服务器:imap.exmail.qq.com

如果使用SSL加密方式,接收服务器端口是: 993


(3) 相关介绍

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

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

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

143端口(IMAP):143端口是为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:


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值