Xubuntu

Chapter 12. File Management

Table of Contents

Navigation
Creating and deleting files and folders
Copying
Removable Drives
Customizing Thunar

Xubuntu comes with Xfce's file manager, Thunar. For simplicity's sake, it will be referred to as the File Manager from now on. Load it from AccessoriesFile Manager or by double-clicking the Home or File System icons on your desktop.

Navigation

The File Manager's default view consists of a shortcut pane on the left side, the main area on the right, and a pathbar above the main area. The shortcut pane provides shortcuts to different folders on your system. The first shortcut under PLACES takes you to your home directory (/home), the directory where all your personal data and data from the applications you use are stored, and has the name of the current user.The File System shortcut under DEVICES will takes you to the root (/) of the filesystem. You may want to explore it a bit, even though it may be confusing if you are new to Linux. Just click on the different folders and see what's inside. When you're done, return to your home directory by clicking on the top shortcut.

[Note]

You can add your own shortcuts by simply dragging folders to the shortcut pane. This will allow you to access important folders instantly!

[Note]

When using Thunar you will, in general, only have read rights to files you see while browsing under the File System shortcut.

The main area will always display the contents of the current folder. Double-click on folders to enter them, and right-click on files/folders to get a pop-up window offering you some choices of what to do with them. Select multiple files by dragging a rectangle over them with the mouse. Alternatively, select one file, hold down the Shift key, and increase/decrease the selection using the arrow keys.

To easily see the path you took to get to the current directory, you can change the default View options. From the File Manager menu, select ViewLocation SelectorPathbar Style. Now you can click on any pathbar icon to change to the directory it represents. Note that right-clicking on pathbar icons will also bring up a pop-up window with some options.

Creating and deleting files and folders

To create a new document, right-click on some empty space in your home directory and select Create DocumentEmpty File from the pop-up menu. The File Manager will prompt you for a name. Just go with the suggested name for now. After this, you will see the new file in your home directory. Right-click on it and choose Properties. This will show you some details about the file. Right-click on the file once more and choose Move to Trash to remove it. The file will be put into the Trash.

[Note]

If you ever want to undo the deleting of a file, open Trash, right-click the file and click Restore.

To create a new folder, right-click on the empty space, and choose Create Folder. You will be prompted for a name. Type something and hit Enter. You will see this new folder in your home directory. Double-click on it to enter it. To rename or remove the folder, right-click on it and choose the appropriate option from the pop-up menu.

Copying

To copy and move files on your computer, just click and drag files and folders to other folders.

Removable Drives

When inserting CDs, USB sticks or other removable media into your computer, or inserting removable devices like a music player, Xubuntu should automatically detect the new device. For example, after inserting a CD into your optical drive, you will see a new shortcut in the left pane of the File Manager representing the CD. Clicking on it will open the CD in the main area, just like clicking on a regular folder. To remove the CD, right-click on the shortcut, and choose Eject. The same applies for any other removable media.

[Note]

Please note that pressing the eject button on your CD drive may not work. This may be surprising to some users, but it is in fact the expected behavior. Before the CD can be ejected, it needs to be properly released (unmounted) by the system. To remove a CD, always right-click on its shortcut and choose Eject.

Customizing Thunar

There are many ways to customize the File Manager. If you do not like the way the icons are displayed, choose ViewView as Detailed List to have the contents of the current directory displayed as a list.

You can have the File Manager display a location bar instead of the pathbar by selecting ViewLocation SelectorToolbar Style. If you prefer a tree view in the left pane, choose ViewSide PaneTree.

Finally, you can add Custom Actions, which can add useful options to the menu. Many custom actions can be found at the Ubuntu Wiki Thunar Custom Action page.

For more choices, explore the options under EditPreferences.