Ubuntu below the Chinese character desktop, download into English

Source: Internet
Author: User
1. We can change the catalogue to English first.

Export Lang=en_us

Perform

Xdg-user-dirs-gtk-update

A configuration interface will be popped up to switch all Chinese user directories to English. Select no longer prompt, OK.

At this point, the user directory without content will be deleted, but the content user directory will remain. and create the appropriate English directory:

Desktop/download/templates/public/documents/music/pictures/videos

At this point, the commonly used Chinese catalogues in the location have been replaced with English catalogues. Simply copy the contents of the original Chinese directory to the appropriate English directory and delete the Chinese catalogue.

And then execute it again.

Export LANG=ZH_CN. UTF-8

To display Chinese.


This article mainly introduces "all Ubuntu files appear on the desktop" or "Ubuntu root directory Chinese folder modified to English name" problems such as solutions.


1. Create a new folder (Customize the folder you want, any name, Chinese English is OK)

Under the home folder, customize the folder you want, and create the appropriate folder, both in Chinese and English. For example: program, Desktop, Joe, Sample, file, and so on.


2. Configure System files

In the terminal, make the following interaction

[HTML] view plain copy sudo gedit ~/.config/user-dirs.dirs [HTML] view plain copy xdg_desktop_dir= "$HOME/corresponding to the name of your new desktop folder"

In turn, add/replace the name of the previous folder with the name of your custom folder.


For example, the following corresponds to my own customized system file configuration




3. Delete the original folder

Now that the system files are configured, the corresponding directory points to your own new folder. Then, delete the original old folder.


4. Reboot the system

After reboot, the problem is resolved


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.