Some operations after ubuntu installation, after ubuntu Installation

Source: Internet
Author: User

Some operations after ubuntu installation, after ubuntu Installation
1. connect to the Internet during installation, but do not select "Download Update". Select Chinese as the language and Shanghai as the region.
2. Click the gear icon in the upper right corner of the page to update the system and restart the system.
3. Change the name to Chinese in the user account: Chinese characters cannot be entered during installation. We are looking forward to improvement!
4. Install the additional driver and select "ATI/AMD proprietary FGLRX graphics driver" to activate and restart the driver.
5. configure dual-display: run the AMD Catalyst Control Center (management). On the "Display Manager" Page, select the external display icon and select "Multi-display desktop with display 1" from the drop-down menu. OK, restart.
6. Use the "display" item set by the system to switch between different monitors and dual monitors.
7. Open the "language" set by the system: Install the complete language support!
8. unmount unnecessary:
Sudo apt-get purge landscape-client-ui-install-y # remote control
Sudo apt-get purge deja-dup-y # backup
Sudo apt-get purge ubuntuone *-y # Ubuntu One
Sudo apt-get purge indicator-messages-y # tray message icon
Sudo apt-get purge empathy-common-y # chat
Sudo apt-get purge gwibber-y # Weibo
Sudo apt-get purge thunderbird-y # email
Sudo apt-get purge transmission-*-y # BT
Sudo apt-get purge xul-ext-ubufox-y # Ubuntu extension of Firefox
Sudo apt-get purge gnome-orca-y # screen reading
Sudo apt-get purge onboard-y # Screen Keyboard
Sudo apt-get purge simple-scan-y # scan
Sudo apt-get purge totem-y # play a movie
Sudo apt-get purge pitivi-y # Video Editing
Sudo apt-get purge bluez-y # Bluetooth
Sudo apt-get purge emacs23-y # text editing
9. required installation:
Sudo apt-get install ubuntu-restricted-extras-y # important additional programs
Sudo apt-get install p7zip-full p7zip-rar unrar-y # zip unzip
Sudo apt-get install build-essential g ++-multilib mingw-w64 g ++-mingw-w64 cmake valgrind meld autoconf astyle-y # Development
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 # Version Management
Sudo apt-get install goldendict-y # dictionary
Sudo apt-get install nautilus-open-terminal-y # Right-click the terminal
Sudo apt-get install smplayer vlc-y # play movies
Sudo apt-get install libav-tools-y # Video Conversion
Sudo apt-get install openshot-y # Video Editing
Sudo apt-get install audacity-y # audio editing
Sudo apt-get install filezilla-y # FTP Client
Sudo apt-get install mldonkey-server-y # download
Sudo apt-get install furiusisomount-y # virtual Optical Drive
Sudo apt-get install tuxpaint tuxmath gcompris-y # preschool education
Sudo apt-get install indicator-cpufreq-y # CPU frequency adjustment
Sudo apt-get install indicator-weather-y # weather
Sudo apt-get install exfalso-y # ID3 Modification
Sudo apt-get install lm-sensors-y # Temperature Detection
Sudo apt-get install aptitude-y # installation and Deletion
Sudo apt-get install lo-menubar-y # global menu of LibreOffice
Sudo apt-get install gtkorphan-y # Clear orphan package
Sudo apt-get install system-config-samba-y # LAN sharing
Sudo apt-get install ppa-purge-y # Clear PPA
Sudo apt-get install ia32-libs-y #64-bit system run 32-bit program

Configure Temperature Detection
Sudo sensors-detect
Manual start:
Sudo modprobe coretemp

Search for files of the specified type
Find.-name '*. c' | awk' {print "grep-I-nH keyword" $1} '|/bin/bash
Find.-name '*. c'-exec grep-I-nH "keyword "{}\;
Better search methods:
Grep-I "search_string".-r -- include = *. txt
Grep "search_string".-r -- include = *. txt -- include = *. cpp -- include = *. h

Create a starter
Sudo apt-get install -- no-install-recommends gnome-panel
Gnome-desktop-item-edit. -- create-new
Sudo desktop-file-install XXX

Fixed IBUS icon loss
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 setting Ray-whitelist "['all']"

Install JRE to run cgoban go online
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/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
Plug-in: 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 sub-directories and files respectively
Find.-type d-exec chmod 755 {}\;
Find.-type f-exec chmod 644 {}\;

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 Files
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
Performance_scan_interval 300
Options> Web infos, Remove all items, and clear ~ /. Add the following three items after the mldonkey/web_infos directory:
The 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 download
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 and configure multiple Qt development libraries
Sudo update-alternatives -- install/usr/bin/qmake/opt/qt5/bin/qmake 30
Sudo update-alternatives -- config qmake
Update-alternatives -- display qmake

Process Problems
Pgrep XXX # Query
Pkill XXX # Kill
Killall XXX # Kill

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

Configure Wine pure Edition
1. Dash-> Search for wine and run Configure Wine configuration program
2. Activate the zookeeper repository page. Enter "winemenubuilder.exe" in the top-down menu of the newly added repository, add, edit, and disable it.
3. Activate the zookeeper repository page. Enter "“winemine.exe" in the top menu of the newly added repository, add, edit, and disable it.
4. If you have created an association/menu/icon that you do not want, run the following command:
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. On the drive page, delete the Z partition, add the D partition, and specify the path ~ /QpSOFT/Wine
6. On the "about" Page, enter the Windows Registration Information, name: loaden, unit: qpsoft
7. Run the Winetricks program, install the font corefonts, and copy simhei. ttf simsun. ttc from the XP system to the Fonts directory.
8. Install DLL or component: cmd mfc42 vcrun2003 vcrun2005 vcrun2008 vcrun2010 dotnet20
9. Install Office 2003 Green Edition and run it!
10. Install xiaocheng go and run it!

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
Solution:
$ LANG = C
$ Wine cmd

64-bit Wine error handling missing gnome-keyring-pkcs11.so
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 the glGo-1.4.1.deb, double-click to use the software center installation, will prompt the software package quality is not good: Leave it alone, OK.
2) install getlibs to obtain 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 lib1_62: 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) One disk with GNUGO
Sudo apt-get install gnugo

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.