修改Home下的目录为英文
修改目录映射文件名;
vim .config/user-dirs.dirs
修改如下:
XDG_DESKTOP_DIR="$HOME/Desktop"XDG_DOWNLOAD_DIR="$HOME/Download"XDG_TEMPLATES_DIR="$HOME/Templates"XDG_PUBLICSHARE_DIR="$HOME/Public"XDG_DOCUMENTS_DIR="$HOME/Documents"XDG_MUSIC_DIR="$HOME/Music"XDG_PICTURES_DIR="$HOME/Pictures"XDG_VIDEOS_DIR="$HOME/Videos"将Home目录下的中文目录名改为对应的中文名;
重启系统。============
[tom@tom-pc Desktop]$ screenfetch
██████████████████ ████████ tom@tom-pc
██████████████████ ████████ OS: Manjaro 18.0.3 Illyria██████████████████ ████████ Kernel: x86_64 Linux 4.19.24-1-MANJARO██████████████████ ████████ Uptime: 1d 18h 40m████████ ████████ Packages: 1223████████ ████████ ████████ Shell: bash████████ ████████ ████████ Resolution: 2720x900████████ ████████ ████████ DE: Xfce4████████ ████████ ████████ WM: Xfwm4████████ ████████ ████████ WM Theme: Adapta-Maia████████ ████████ ████████ GTK Theme: Adapta-Eta-Maia [GTK2]████████ ████████ ████████ Icon Theme: Papirus-Maia████████ ████████ ████████ Font: Noto Sans 10████████ ████████ ████████ CPU: Intel Core2 Duo T8300 @ 2x 2.401GHzGPU: Mesa DRI Intel(R) 965GM RAM: 5768MiB / 7968MiB[tom@tom-pc Desktop]$
===================
[tom@tom-pc /]$ inxi -Fx
System:Host: tom-pc Kernel: 4.19.24-1-MANJARO x86_64 bits: 64 compiler: gcc v: 8.2.1 Desktop: Xfce 4.13.2git-UNKNOWN Distro: Manjaro Linux Machine:Type: Laptop System: Hewlett-Packard product: N/A v: F.20 serial: <root required> Mobo: Hewlett-Packard model: 30D8 v: KBC Version 83.0F serial: <root required> BIOS: Hewlett-Packard v: 68MDU Ver. F.20 date: 12/09/2011 Battery:ID-1: C23B charge: 0.3 Wh condition: 0.3/0.3 Wh (100%) model: Hewlett-Packard Primary status: Full CPU:Topology: Dual Core model: Intel Core2 Duo T8300 bits: 64 type: MCP arch: Penryn rev: 6 L2 cache: 3072 KiB flags: lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx bogomips: 9581 Speed: 2437 MHz min/max: 800/2401 MHz Core speeds (MHz): 1: 2426 2: 2405 Graphics:Device-1: Intel Mobile GM965/GL960 Integrated Graphics vendor: Hewlett-Packard driver: i915 v: kernel bus ID: 00:02.0 Display: x11 server: X.Org 1.20.3 driver: intel unloaded: modesetting resolution: 1280x800~60Hz, 1440x900~60Hz OpenGL: renderer: Mesa DRI Intel 965GM v: 2.1 Mesa 18.3.3 direct render: Yes Audio:Device-1: Intel 82801H HD Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 00:1b.0 Sound Server: ALSA v: k4.19.24-1-MANJARO Network:Device-1: Intel 82562GT 10/100 Network vendor: Hewlett-Packard driver: e1000e v: 3.2.6-k port: 4020 bus ID: 00:19.0 IF: enp0s25 state: down mac: 00:1a:4b:60:a3:a6 Device-2: Intel PRO/Wireless 3945ABG [Golan] Network vendor: Hewlett-Packard driver: iwl3945 v: in-tree:ds port: 4100 bus ID: 10:00.0 IF: wlp16s0 state: up mac: 00:1c:bf:3e:5c:8c Drives:Local Storage: total: 1.13 TiB used: 560.16 GiB (48.5%) ID-1: /dev/sda vendor: Western Digital model: WD10JPVT-60A1YT0 size: 931.51 GiB ID-2: /dev/sdb vendor: OCZ model: TRION100 size: 223.57 GiB Partition:ID-1: / size: 29.91 GiB used: 14.42 GiB (48.2%) fs: ext4 dev: /dev/sdb6 ID-2: swap-1 size: 8.00 GiB used: 310.5 MiB (3.8%) fs: swap dev: /dev/sdb9 Sensors:System Temperatures: cpu: 55.0 C mobo: N/A Fan Speeds (RPM): N/A Info:Processes: 223 Uptime: 1d 18h 41m Memory: 7.78 GiB used: 5.45 GiB (70.0%) Init: systemd Compilers: gcc: 8.2.1 Shell: bash v: 5.0.0 inxi: 3.0.30 [tom@tom-pc /]$==================