The files in the Linux home directory are all displayed to the desktop problem

Source: Internet
Author: User
Tags config linux

Edit the profile under this user: Home/user/.config/user.dirs.dirs (user username)

Note that it is not possible to add the user name behind the "$HOME", such as xdg_desktop_dir= "$HOME/user/desktop". I was first to add a user tester, compared to "home/tester/.config/user.dirs.dirs" the contents of the file found. The following is a properly configured file content:

Xdg_desktop_dir= "$HOME/desktop"

Xdg_download_dir= "$HOME/download"

xdg_templates_dir= "$HOME/Templates"

Xdg_publicshare_dir= "$HOME/Public"

Xdg_documents_dir= "$HOME/doucments"

Xdg_music_dir= "$HOME/music"

Xdg_pictures_dir= "$HOME/pictures"

Xdg_videos_dir= "$HOME/videos"

Where desktop is the desktop folder, $home/The following folder is the graphical interface of users in the user folder of the corresponding files.

Note: Reboot after modification

This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/OS/Linux/

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.