Linux Mint 13 Problems and Solutions

Source: Internet
Author: User
Tags linux mint

Source Change

The default source speed of Linux Mint 13 is not fast. We recommend that you replace it.

Backup:

 /etc/apt/sources.list /etc/apt/sources.list_backup

Open sources. list:

 /etc/apt/sources.list

Select an appropriate source list, replace all the content in the file, and save the edited file.

Update source list:

 

Recommended source list:

Network yiyuan:

deb http://mirrors.163.com/ubuntu/ raring main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ raring-security main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ raring-updates main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ raring-proposed main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ raring-backports main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ raring main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ raring-security main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ raring-updates main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ raring-proposed main restricted universe multiversedeb-src http://mirrors.163.com/ubuntu/ raring-backports main restricted universe multiverse

Zhongke origin:

deb http://debian.ustc.edu.cn/ubuntu/ raring main multiverse restricted universedeb http://debian.ustc.edu.cn/ubuntu/ raring-backports main multiverse restricted universedeb http://debian.ustc.edu.cn/ubuntu/ raring-proposed main multiverse restricted universedeb http://debian.ustc.edu.cn/ubuntu/ raring-security main multiverse restricted universedeb http://debian.ustc.edu.cn/ubuntu/ raring-updates main multiverse restricted universedeb-src http://debian.ustc.edu.cn/ubuntu/ raring main multiverse restricted universedeb-src http://debian.ustc.edu.cn/ubuntu/ raring-backports main multiverse restricted universedeb-src http://debian.ustc.edu.cn/ubuntu/ raring-proposed main multiverse restricted universedeb-src http://debian.ustc.edu.cn/ubuntu/ raring-security main multiverse restricted universedeb-src http://debian.ustc.edu.cn/ubuntu/ raring-updates main multiverse restricted universe

Shanghai Jiaotong University:

deb http://ftp.sjtu.edu.cn/ubuntu/ raring main multiverse restricted universedeb http://ftp.sjtu.edu.cn/ubuntu/ raring-backports main multiverse restricted universedeb http://ftp.sjtu.edu.cn/ubuntu/ raring-proposed main multiverse restricted universedeb http://ftp.sjtu.edu.cn/ubuntu/ raring-security main multiverse restricted universedeb http://ftp.sjtu.edu.cn/ubuntu/ raring-updates main multiverse restricted universedeb-src http://ftp.sjtu.edu.cn/ubuntu/ raring main multiverse restricted universedeb-src http://ftp.sjtu.edu.cn/ubuntu/ raring-backports main multiverse restricted universedeb-src http://ftp.sjtu.edu.cn/ubuntu/ raring-proposed main multiverse restricted universedeb-src http://ftp.sjtu.edu.cn/ubuntu/ raring-security main multiverse restricted universedeb-src http://ftp.sjtu.edu.cn/ubuntu/ raring-updates main multiverse restricted universe

 

There is no public key available for the following key IDs: 3B4FE6ACC0B21F32 Solution

 subkeys.pgp.net  C0B21F32 C0B21F32 | 

 

 build-essential bleachbit chromium-browser dia ibus-googlepinyin mplayer uget vim virtualbox xchm

 

Install LaTeX and configure Chinese support

 texlive-latex-base latex-cjk-all texmaker texlive-publishers

 filename

Dvi to pdf:

 filename

Test cases:

\ Documentclass {article} \ usepackage {CJKutf8} \ begin {document} \ begin {CJK} {UTF8} {gkai} Simplified Chinese test \ end {CJK} \ begin {CJK} {UTF8} {gbsn} Simplified Chinese test \ end {CJK} \ end {document}

 

Install MySQL and phpMyAdmin

 mysql-server mysql-client php5-mysql phpmyadmin

Select Apache during installation.

 /etc/phpmyadmin/apache.conf /etc/apache2/sites-available/phpmyadmin /etc/apache2/sites-enabled/ ../sites-available/phpmyadmin /etc/init.d/apache2 restart

Open the browser, enter http: // localhost/phpmyadmin, and press Enter. The configuration is complete.

 

Change to character interface to start

For some reason, you do not need to enable the graphic interface automatically after the system is started.

 /etc/X11/default-display-manager

Original content:

/usr/sbin/mdm

Modify:

#/usr/sbin/mdmfalse

PS: Pay attention to backup.

PS: After modification, the permissions of startx are reduced when it enters the graphic interface. You can raise the permission to solve the problem by yourself.

 

Character interface to enjoy music

Install mplayer:

 mplayer

Direct playback:

 filename

List playback:

music.lst -playlist music.lst

Play all:

 

Loop playback:

Music. lst x filename x (0 is an infinite loop)

 

Mount Windows partitions

Create a mount point:

 /media/partitionname

View partition labels:

 

Mount the FAT partition:

 /dev/hda1 /media/partitionname -t vfat -o iocharset=utf8,umask=000

Hda1 is replaced by the process label just found.

Mount NTFS partitions:

 /dev/hda1 /media/partitionname -t ntfs -o nls=utf8,umask=0222

Mount partitions when the system starts:

 /etc/fstab

FAT:

/dev/hda1       /media/partitionname  vfat    iocharset=utf8,umask=0000       0

NTFS:

/dev/hda1       /media/partitionname  ntfs    nls=utf8,umask=02220       0

Mount all partitions in fstab:

 

 

Vi Chinese garbled Solution

Edit the. vimrc file:

 ~/.vimrc

Add the following two lines:

let &termencoding=&encodingset fileencodings=utf-8,gbk

 

Speaker button disappears Solution

Open the newly established pulseaudio search, select all in Installed, and solve the problem.

 

Cocould not write bytes Broken pipe solution

 s 0 0

See http://forum.linuxmint.com/viewtopic.php for details? F = 90 & t = 104084 & p = 618839

 

Fontconfig warning Solution

Solution

Fontconfig warning: "/etc/fonts/conf.d/90-fonts-nanum.conf", line 26: Having multiple <family> in <alias> isn't supported and may not works as expected

The method is as follows:

Method 1:

Find the relevant lines of the relevant file, such

<Test qual = "any" name = "family"> <string> WenQuanYi Micro Hei </string> <string> WenQuanYi micron black </string> </test>

Change

<Test qual = "any" name = "family"> <string> WenQuanYi Micro Hei </string> </test> <test qual = "any" name = "family"> <string> wenquanyi micron black </string> </test> <test qual = "any" name = "family"> <string> wenquanyi micron black </string> </test>

You can.

This problem occurs because fontconfig does not support the multiple feature and basically does not affect normal use.

Method 2:

Directly Delete related files.

 

Startx no protocol specified Solution

 ~/.Xauthority .Xauthority

See http://forums.linuxmint.com/viewtopic.php for details? F = 90 & t = 115909 & p = 646722

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.