TIPS: Create "My Documents" on the Linux Desktop"

Source: Internet
Author: User
Article Title: Tips: Create "My Documents" on the Linux Desktop ". Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

In Windows, we like to save the various documents we have prepared in "My Documents". In Windows and Linux dual-system machines, we often use documents in my documents in Linux.

We also hope that documents edited in Linux can be edited in Windows, so we 'd better save them in my documents. This requires that we can quickly access our document on the Linux KDE Desktop, display the Chinese long component name, and have full read and write permissions. All of these are no longer difficult in the latest Linux Desktop versions of the directory. The following uses the Simplified Chinese version of RedHat Linux as an example to describe how to implement it.

1. Mount the partition where "My Documents" is located

If you need to frequently use "My Documents" and want to load the partition where "My Documents" is located as soon as you enter Linux, if you want to mount the z partition to a fixed directory, you can use the automatic mounting method. First, create a sub-directory g in the/mnt directory of Linux (the author's "My Documents" folder is on the G disk in Windows, if you can push in other partitions according to this, directory names can be customized ).

Then, press the fstab file in the/ect directory in any text editor and add "/dev/hda8/mnt/g vfat ults, iocharset = cp936 0 0" to the end of the next line, save and exit. After Linux is restarted, the G disk will be automatically mounted to the/mnt/g directory.

Note: fstab is short for filesystem table, which means searchwhatis.techtarget.com.cn/searchwhatis/192/3352192.shtml "target = _ blank> file system table. There is a description of the file system that you often need to load. Hda8 is the partition where the "My Documents" in my machine is located. In Linux, each partition is stored in the/dev directory as a device file, the first partition of the first hard disk is hda1, and the first extended partition is hda5.

The G disk where the author's "My Documents" is located is hda8. /Mnt/g is the directory mounted to/dev/hda8. The vfat parameter indicates that the FAT32 file system is loaded, msdos is the FAT16 file system, and ntfs is the NTFS file system of searchwhatis.techtarget.com.cn/searchwhatis/485/2093485.shtml "target = _ blank> NT. The defaults parameter indicates the default mode, and iocharset = cp936 indicates that after mounting, a long Chinese file name can be displayed.

2. Create a shortcut for "My Documents"

In KDE3.0 desktop, there are two ways to create shortcuts for "My documents. The first method is to enter the folder corresponding to the "My Documents" partition, drag the "My Documents" folder icon to the desktop with the left-click button, and select "link to here" from the right-click menu ". The second method is to right-click the desktop and choose "location (searchwhatis.techtarget.com.cn/searchwhatis/125/1949125.shtml" target = _ blank> URL) "from the menu to open the" KDesktop "dialog box, in the "New to location (URL) chain" text box, enter the path to "my documents" in Linux, or drag the "My Documents" icon in the file browser to the text box and click "OK ".

If you want to, you can change the shortcut to "my documents ". The difference between the two methods is that a small arrow is displayed on the folder icon generated in the previous method. The figure produced by the latter method is a piece of paper, which is ugly. We can right-click it and select a beautiful icon for it in the "properties" dialog box. After completing the above two steps, you should never worry about using "My Documents" in Linux at will. When should you use the files in it, just click "My Documents" or "My Documents" on the desktop, and the Documents and folders will be displayed at a glance. The Chinese file names will also be clearly displayed. You can use them as conveniently as in Windows.

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.