In order to make it easy for users to use, it is installed in the “home”, “music”, “pictures” and “natural” It’s all in Chinese.
Most of the time, I like to put some files to be operated on the desktop. There are many command-line operations in Linux, so it’s hard to avoid using the command line to operate things on the desktop. Then I need to “CD desktop”. When I hit “desktop”, I need to switch the input method. It’s troublesome So I tried to find a way to change the path under the user directory to English, while the other Chinese remained unchanged. The method is as follows:
Open the terminal and enter the command in the terminal
export LANG=en_US
xdg-user-dirs-gtk-update
Jump out of the dialog box and ask if you want to convert the directory to an English path, agree and close it.
enter the command in the terminal:
export LANG=zh_CN
Close the terminal and restart. Next time you enter the system, the system will prompt you whether to change the converted directory back to Chinese. Select no more prompt and cancel the modification. The Chinese to English conversion of the main directory is completed~
Reprinted from: http://my.oschina.net/myriads/blog/2867
Read More:
- Chinese garbled fonts in win10 English system
- How to Change Local Path in TFS
- Ubuntu 16.04 Chinese installation tutorial (Graphic), Ubuntu 16.04
- Ubuntu “a user name is not in the sudoer folder. It will be reported. ” Solutions for
- The use of Chinese characters in Qt and the solution to the “error C2001: newline in constant” problem
- The solution to the sudden change of win10 input method into traditional Chinese
- Solution to sudden change of win10 input method into traditional Chinese
- Ubuntu 16.04 install Chinese input method
- 26 English letters in upper and lower case and 0-9 to generate 8-bit random password
- Solution to the problem of Chinese garbled in gradle console in idea
- Java – read all the files and folders in a certain directory and three methods to get the file name from the file path
- FTP 550 Failed to change directory
- Mac bigsur cannot create other directory solutions in the root directory (M1 chip is also applicable)
- Idea always reports errors when using “SVN” to associate projects Error:Cannot run Program “SVN” (in directory “path XXXXXX”): CreateProcess error = 2,
- Solve the problem of “bash. / don’t have that file or directory” in Ubuntu 64 bit
- How to Fix errors in Chinese input of latex
- Count the frequency of words in English documents
- Change Jupyter Notebook Default Directory
- Solving the problem of Chinese garbled code in qtring
- Ubuntu network configuration+Fixing “Failed to bring up eth0” in Ubuntu