Some things to do after Ubuntu installation

Source: Internet
Author: User
Tags error handling

1. Install the network, but do not select "Download the update", language selected Chinese, the region selected Shanghai.
2. Edit the software source to 163 through the Software center, then click on the gear icon in the top right corner: Update the system and restart.
3. Change the name to Chinese in the user account: Cannot enter Chinese when installing, expect to improve!
4. Install additional drivers, select "ATI/AMD proprietary FGLRX graphics driver, activate, reboot."
5. Configure dual display: Run AMD Catalyst control Center (Management), select the external monitor icon on the Display Manager page, choose "Multi-Monitor desktop with display 1" from the drop-down menu, OK, reboot.
6. Through the system settings of the "display" Item: the implementation of the different display/dual display between the free switch.
7. Open the "language" of the system settings: Install the full language support!
8. Uninstall the superfluous:
sudo apt-get purge landscape-client-ui-install-y #远程控制
sudo apt-get purge deja-dup-y #备份
sudo apt-get purge ubuntuone*-y #Ubuntu One
sudo apt-get purge indicator-messages-y #托盘消息图标
sudo apt-get purge empathy empathy-common-y #聊天
sudo apt-get purge gwibber-y #微博
sudo apt-get purge thunderbird-y #邮件
sudo apt-get purge transmission-*-y #BT
sudo apt-get purge xul-ext-ubufox-y #Firefox的Ubuntu扩展
sudo apt-get purge gnome-orca-y # screen Reading
sudo apt-get purge onboard-y #屏幕键盘
sudo apt-get purge simple-scan-y #扫描
sudo apt-get purge totem-y #电影播放
sudo apt-get purge pitivi-y #视频编辑
sudo apt-get purge bluez-y #蓝牙
sudo apt-get purge emacs23-y #文本编辑
9. Install the necessary:
sudo apt-get install ubuntu-restricted-extras-y #重要的额外程序
sudo apt-get install p7zip-full p7zip-rar unrar-y #压缩解压
sudo apt-get install build-essential g++-multilib mingw-w64 g++-mingw-w64 cmake valgrind meld autoconf astyle-y #开发
sudo apt-get install "^libxcb.*" Libx11-xcb-dev libglu1-mesa-dev libxrender-dev libedit-dev libfontconfig1-dev-y #Qt5
sudo apt-get install git gitk git-gui git-svn-y #版本管理
sudo apt-get install goldendict-y #词典
sudo apt-get install nautilus-open-terminal-y #右键终端
sudo apt-get install SMPlayer vlc-y #电影播放
sudo apt-get install libav-tools-y #视频转换
sudo apt-get install openshot-y #视频编辑
sudo apt-get install audacity-y #音频编辑
sudo apt-get install filezilla-y #FTP客户端
sudo apt-get install mldonkey-server-y #下载
sudo apt-get install furiusisomount-y #虚拟光驱
sudo apt-get install tuxpaint tuxmath gcompris-y #幼儿教育
sudo apt-get install indicator-cpufreq-y #CPU频率调节
sudo apt-get install indicator-weather-y #天气
sudo apt-get install exfalso-y #ID3修改
sudo apt-get install lm-sensors-y #温度检测
sudo apt-get install aptitude-y #安装删除
sudo apt-get install lo-menubar-y #LibreOffice全局菜单
sudo apt-get install gtkorphan-y #清理孤儿包
sudo apt-get install system-config-samba-y #局域网共享
sudo apt-get install ppa-purge-y #清理PPA
sudo apt-get install ia32-libs-y #64位系统跑32位程序

Configuring temperature detection
sudo sensors-detect
To start manually:
sudo modprobe coretemp

Find from a file of the specified type
Find. -name ' *.c ' | awk ' {print ' grep-i-nh keyword "$} ' | /bin/bash
Find. -name ' *.c '-exec grep-i-nh "keyword" {} \;
A better way to search:
Grep-i "Search_string". -R--include=*.txt
grep "Search_string". -R--include=*.txt--include=*.cpp--include=*.h

Creating initiators
sudo apt-get install--no-install-recommends Gnome-panel
Gnome-desktop-item-edit. --create-new
sudo desktop-file-install XXX

Fixed ibus icon missing
Gconftool--type Boolean-s/desktop/ibus/panel/show_icon_on_systray True
Gconftool--type Boolean-s/desktop/ibus/panel/show True
Gsettings set Com.canonical.Unity.Panel systray-whitelist "[' All ']"

Install JRE to run Cgoban Weiqi online game
Unzip: sudo./jre-6u31-linux-x64.bin
Copy: sudo mv jre1.6.0_31//opt/jre1.6.0
Installation: sudo update-alternatives--install/usr/bin/java java/opt/jre1.6.0/bin/java 0--slave/usr/share/man/man1/ Java.1.gz java.1.gz/opt/jre1.6.0/man/man1/java.1
Configuration: sudo update-alternatives--config java
Query: Update-alternatives--display java
Version: Java-version
Plugins: mkdir-p ~/.mozilla/plugins/&& ln-s/opt/jre1.6.0/lib/amd64/libnpjp2.so ~/.mozilla/plugins/
Run: PADSP Java-jar/opt/cgoban.jar

Show only directory names
Ls-l | grep ^d
Or
ls-d * *

Show only files
Ls-l | grep ^-

Set different permissions for subdirectories and files, respectively
Find. -type d-exec chmod 755 {} \;
Find. -type f-exec chmod 644 {} \;

To set executable permissions for a specified file
Find. -name ' commit-msg '-type f-exec chmod +x {} \;
Find. -name ' *.sh '-type f-exec chmod +x {} \;

Weight Loss VBox Disk File
Sdelete-c-Z c \
Vboxmanage MODIFYHD--compact Winxp.vdi

MLDonkey option settings
Buffer_writes_delay 60
Buffer_writes_threshold 10240
Buffer_writes true
Client_buffer_size 10000000
ed2k-force_client_high_id true
ed2k-force_high_id true
Ed2k-max_connected_servers 10
Enable_kademlia true
Max_hard_download_rate 0
Max_hard_upload_rate 20
Max_opened_connections 600
Share_scan_interval 300
Options > Web infos,remove off all items, after emptying the ~/.mldonkey/web_infos directory, add the following three items:
Server.met Http://ed2k.im/server.met 24
GUARDING.P2P Http://ed2k.im/ipfilter.dat 96
Kad http://ed2k.im/nodes.dat 24

Use Apt-fast to accelerate apt downloads
sudo apt-get install Axel
sudo axel-o/usr/bin/apt-fast http://www.mattparnell.com/linux/apt-fast/apt-fast.sh
sudo chmod +x/usr/bin/apt-fast

Useful PPA sources
Ppa:otto-kesselgulasch/gimp
Ppa:alexey-ivanov/qtcreator
Ppa:canonical-qt5-edgers/qt5-daily
Ppa:ubuntu-wine/ppa
Ppa:motumedia/mplayer-daily
Ppa:smplayer2/daily

Install QT5, configure multiple QT development libraries
sudo update-alternatives--install/usr/bin/qmake qmake/opt/qt5/bin/qmake 30
sudo update-alternatives--config qmake
Update-alternatives--display Qmake

Process-related
Pgrep XXX #查询
Pkill XXX #杀掉
Killall XXX #全杀

Disable a package upgrade
sudo echo "XXX hold" | sudo dpkg--set-selections
Or:
sudo aptitude hold XXX

Configure Wine Pure Edition
1. Search wine with Dash, run configure Wine Configurator
2. Activate the Function library page, enter "Winemenubuilder.exe" in the "New Library Replacement" drop-down box, add, edit, deactivate
3. Activate the Function library page, enter "Winemine.exe" in the "New Library Replacement" drop-down box, add, edit, deactivate
4. If you have created an association/menu/icon that you do not want, you can do it:
Rm-f $HOME/.config/menus/applications-merged/wine*
RM-RF $HOME/.local/share/applications/wine
Rm-f $HOME/.local/share/desktop-directories/wine*
Rm-f $HOME/.local/share/icons/???? _*. {Xpm,png}
Rm-f $HOME/.local/share/icons/*-x-wine-*. {Xpm,png}
5. "Drive" page, delete z partition, add d partition, path specified as ~/qpsoft/wine
6. "About" page, fill in the Windows registration information, name: Loaden, Unit: Qpsoft
7. Run the Winetricks program, install the font: corefonts, and then copy the Simhei.ttf SIMSUN.TTC to the fonts directory from the XP system
8. Installing a DLL or component: cmd mfc42 vcrun2003 vcrun2005 vcrun2008 vcrun2010 dotnet20
9. Install Office 2003 Green Edition, run, get it done!
10. Install Game City go, run, get it done!

Font error handling when wine calls batch processing
Err:wineconsole:WCUSER_SetFont wrong font
Err:wineconsole:WINECON_Fatal couldn ' t find a decent font, aborting
Scheme:
$LANG =c
$wine cmd

64-bit system wine lacks gnome-keyring-pkcs11.so error handling
See: Http://askubuntu.com/questions/127848/wine-cant-find-gnome-keyring-pkcs11-so
1) Install Getlibs:
wget Https://launchpad.net/~jcollins/+archiv ... a2_all.deb
sudo dpkg-i getlibs_2.06-0ubuntu1~ppa2_all.deb
2) Install the 32bit library:
sudo getlibs-p gnome-keyring:i386
3) Make the Symbolic Link:
sudo mkdir/usr/lib/i386-linux-gnu/pkcs11
sudo ln-s/usr/lib32/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so/usr/lib/i386-linux-gnu/pkcs11/ Gnome-keyring-pkcs11.so

64-bit system installation 32-bit Glgo
1) Download Glgo-1.4.1.deb, double-click to use the Software Center installation, will prompt the package quality is poor: forget it, confirm.
2) Install the getlibs to get and install any 32-bit library
wget Https://launchpad.net/~jcollins/+archiv ... a2_all.deb
sudo dpkg-i getlibs_2.06-0ubuntu1~ppa2_all.deb
3) Install the 32-bit library
sudo getlibs-p libpython2.7:i386
sudo apt-get install ia32-libs libjpeg62:i386 appmenu-gtk:i386
4) Soft Link
sudo ln-s/usr/lib32/libpython2.7.so.1.0/usr/lib/libpython2.5.so.1.0
5) and Gnugo to a plate
sudo apt-get install Gnugo

Some things to do after Ubuntu installation

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.