[Excerpt] ThinkPad T410i-2516A21 installation ubuntu10.0.4 record

Source: Internet
Author: User
Tags rhythmbox
Http://blog.csdn.net/collonn/archive/2010/10/10/5931640.aspx

I would like to take a look at Ubuntu. The support for ThinkPad is very good. I have a CD disk of more than 600 mb. In the case of network connection, the drivers have been installed together for 30 minutes.
Bytes -------------------------------------------------------------------------------------------------
1: CHM
(1) Firefox plugin "CHM reader"
(2) sudo apt-Get install chmsee
Bytes -------------------------------------------------------------------------------------------------
2: fcitx (refer to 8: fcitx-utf8)
(1) You must use Chinese System
(2) sudo apt-Get remove ibus
(3) sudo apt-Get install fcitx
(4) im-switch-s fcitx-Z default # set as the default input method, which is generally not required unless the system has multiple input methods
(5 )~ /. Fcitx/config # Old Version location, UBUNTU 10.04 source version
Gedit config
Replace * of the first line with sans-serif
(6) Run gconf-editor on the terminal and open it in sequence:
Apps-> gedit-2-> preferences-> encodings
Double-click on auto-detected on the right to make sure the UTF-8 is in the first place, save exit, complete
More --> http://wiki.ubuntu.org.cn/Fcitx
Bytes -------------------------------------------------------------------------------------------------
3: RAR
(1) sudo apt-Get install RAR
(2) sudo ln-fs/usr/bin/RAR/usr/bin/unrar
Bytes -------------------------------------------------------------------------------------------------
4: 3D Desktop
Sudo apt-Get install compizconfig-settings-Manager
More --> http://forum.ubuntu.org.cn/viewtopic.php? F = 94 & t = 140531
Bytes -------------------------------------------------------------------------------------------------
5: Wireless Driver (I have installed it automatically. If your wireless network card is not available, follow the instructions below to install it)
Make;
Make install;
Reboot and enjoy it
See: http://wiki.archlinux.org/index.php/Lenovo_ThinkPad_T400#Wireless
See: http://www.thinkwiki.org/wiki/ThinkPad_11b/g/n_Wireless_LAN_Mini-PCI_Express_Adapter_II
Bytes -------------------------------------------------------------------------------------------------
6: GNOME (a small toolbar that imitates Mac) or Docky
Application Program --> Ubuntu Software Center --> Search for GNOME do after installation, find
Bytes -------------------------------------------------------------------------------------------------
7: linux1g1g
Download 1g1g for Linux from the http://www.1g1g.com, after installation, open the terminal input: nohup linux1g1g &, and then press the enter several times on it
Whereis linux1g1g # Find the executable file linux1g1g. You can also use location linux1g1g or find/-name '* 1g1g *'
Bytes -------------------------------------------------------------------------------------------------
8: fcitx-utf8
(1) sudo apt-Get remove ibus # Delete the original ibus Input Method
(2) slave.
(3) If the system has multiple input methods, open the terminal input: Im-switch-s fcitx-Z default
(4) fcitx-C # This command creates a configuration file with the path :~ /. Config/fcitx-utf8/config,
# You can modify the quick switch between Chinese and English, enable/disable the input method, and set the default skin.
(5) sudo gedit/usr/share/fcitx/data/Tables. conf
# Edit this file and delete all the code tables that you do not need to enable. It is enough to leave "wubi pinyin ".
More --> http://wiki.ubuntu.org.cn/Fcitx
Bytes -------------------------------------------------------------------------------------------------
9: JDK and tomcat
(1) download jkdxx. Bin and execute
(2) sudo gedit/etc/profile # Add at the end (not the same as the fedora configuration)
# Config Java and tomcat Environment
Java_home =/software/jdk1.6.0 _ 01
Catalina_home =/software/apache-tomcat-6.0.20
Export Path = $ java_home/bin: $ catalina_home/bin: $ path
Export classpath =.: $ java_home/lib: $ catalina_home/lib: $ classpath
Bytes -------------------------------------------------------------------------------------------------
10: madedit
See: http://madedit.sourceforge.net/wiki/index.php/Main_Page
Click Download, select Deb version,
After you install it, you can get it at: Application --> attachment --> madedit
Bytes -------------------------------------------------------------------------------------------------
11: MySQL
(1) Application -- Ubuntu Software Center --> Search libncurses5-dev, install
(2) -----------------------> Search for G ++ and install
(3) download mysql5.1 reference manual and find it by directory:
Install MySQL --> use the source code distribution version to install MySQL --> source code installation overview (typical configuration options)
Note that InnoDB is not supported by default from mysql5.1, and Declaration compilation is required.
(5) practice steps
Shell> sudo groupadd MySQL
Shell> sudo useradd-G MySQL
Shell> tar zxvf mysql-VERSION.tar.gz
Shell> Cd mysql-version
Shell>./configure -- prefix =/usr/local/MySQL \
-- With-charset = utf8 \
-- With-collation = utf8_general_ci \
-- With-extra-charsets = all \
-- With-plugins = Innobase
Shell> # Wait. When you see Thank you for choosing MySQL !, The operation is successful in the previous step.
Shell> sudo make
Shell> sudo make install

Shell> sudo CP support-files/my-medium.cnf/etc/My. CNF

Shell> Cd/usr/local/MySQL
Shell> sudo bin/mysql_install_db -- user = MySQL -- basedir =/usr/local/MySQL
Shell> chown-r root.
Shell> chown-r MySQL VaR
Shell> chgrp-r MySQL.
----------------------------------------------
Start and Stop MYSQL:
Start:
Shell> sudo bin/mysqld_safe -- user = MySQL &
Shell> sudo bin/mysqld_safe &
Note: If you do not need sudo, you can run MYSQL as a user logging on to the Linux host. In this case, you do not have the permission to log on to/usr/local/MySQL/var.
So you cannot start MySQL either. You can also start MYSQL as follows:
Shell> sudo Su-MySQL
Shell> bin/mysqld_safe &
Stop:
Shell> bin/mysqladmin-uroot-P Shutdown
----------------------------------------------
Config my. CNF
[Mysqld]
Default-storage-engine = InnoDB
Default-character-set = utf8
----------------------------------------------
If the access denied for user'' @ 'localhost' to database error occurs
Change the root login password (Make sure MySQL service is started)
Bin/mysqladmin-uroot password SA
Bytes -------------------------------------------------------------------------------------------------
12: OpenSSH-Server
(1) sudo apt-Get install OpenSSH-Server
(2) PS-Ef | grep sshd # Check whether startup is enabled
(3)/etc/ssh/sshd_config # configuration file
During remote login, enter the user name and wait a long time before prompting you to enter the password. This is because sshd can reverse query the DNS information of the client. You can disable this feature.
Find gssapi options and comment out the following two lines:
# Gssapiauthentication Yes
# Gssapidelegatecredentials No
(4) sudo/etc/init. d/ssh restart # restart
Bytes -------------------------------------------------------------------------------------------------
13: Random desktop wallpaper switching (mobile hard drive)
Gnome_wallpaper_slideshow.tar.gz
Double-click to run directly, choose your image directory, OK, you can, very easy to use, online search of friends, please mail to my collonn@126.com
Bytes -------------------------------------------------------------------------------------------------
14: stardict)
(1) download your favorite dictionary and decompress it ~ /. Stardict/DIC or/usr/share/stardict/DIC
More: http://reciteword.cosoft.org.cn/stardict-iso/stardict-dic/
Bytes -------------------------------------------------------------------------------------------------
15: wine (running Windows programs on Linux)
(1) sudo add-Apt-repository PPA: Ubuntu-wine/PPA
(2) sudo apt-Get update
(3) sudo apt-Get install wine
In ubuntu10.0.4 or later versions, you can choose system> System Management> Software source> others to add new software sources.
Search wine in "ubuntu Software Center" and install it.
However, since Linux is used, we should not use any wine any more. We will always find the appropriate replacement software on the Linux platform.
No, it's better to install VMWare for Linux than wine.
The above is my suggestion.
Bytes -------------------------------------------------------------------------------------------------
16: Eva QQ and lumaqq
The final Software Update time is at 2006, and the update development may have stopped.
We recommend that you use the official Linux for QQ version.
Bytes -------------------------------------------------------------------------------------------------
17: emesene (MSN)
You can install it directly from the Ubuntu Software Center.
Bytes -------------------------------------------------------------------------------------------------
18: music player
(1) rhythmbox
A: Solutions for garbled Information
Sudo apt-Get install Python-mutagen
Enter the folder where MP3 is stored and run mid3iconv-e GBK *. MP3
B: insist on downloading songs from Google music
(2) audacious (recommended. If you cannot play MP3, install rhythmbox, open an MP3 file, and install the plug-in)
Bytes -------------------------------------------------------------------------------------------------
19: ThinkPad middle-key scrolling for Ubuntu 10.04 (ubuntu10.10)
(1) Create the/home/mouse_wheel.sh file (the location is determined by you) and add the following content.
Xinput set-prop 'tpps/2 IBM trackpoint' "evdev wheel emulation" 1
Xinput set-prop 'tpps/2 IBM trackpoint' "evdev wheel emulation button" 2
Xinput set-prop 'tpps/2 IBM trackpoint' "evdev wheel emulation timeout" 200
Xinput set-prop 'tpps/2 IBM trackpoint' "evdev wheel emulation axes" 6 7 4 5
(2) Modifying file attributes
Sudo chmod U + x mouse_wheel.sh
(3) System --> preferences --> start the application, click "add" Name: Enter "mouse_whell", and enter "/home/mouse_wheel.sh" in command box"
(4) New/etc/hal/fdi/policy/mouse-wheel.fdi and add the following content
<? XML version = "1.0" encoding = "UTF-8"?>
<Match key = "info. Product" string = "TPPS/2 IBM trackpoint">
<Merge key = "input. x11_options.emulatewheel" type = "string"> true </merge>
<Merge key = "input. x11_options.emulatewheelbutton" type = "string"> 2 </merge>
<Merge key = "input. x11_options.xaxismapping" type = "string"> 6 7 </merge>
<Merge key = "input. x11_options.yaxismapping" type = "string"> 4 5 </merge>
<Merge key = "input. x11_options.zaxsismapping" type = "string"> 4 5 </merge>
<Merge key = "input. x11_options.emulate3buttons" type = "string"> true </merge>
</Match>
(5) restart, OK

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.