# Capítulo 12. File Management

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 → Accessories → File Manager or by double-clicking the Home or File System icons on your desktop.

## Navegação

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.

Pode adicionar os seus próprios atalhos simplesmente arrastando pastas para o painel de atalhos. Isso permitirá que aceda a pastas importantes instantaneamente!

Ao usar o Thunar irá, em geral, apenas ter permissões de leitura nos ficheiros que encontra enquanto navega sob o atalho Sistema de ficheiros.

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.

Para ver facilmente o caminho que assumiu para chegar ao diretório atual, pode alterar as opções padrão de exibição. A partir do menu do Gestor de ficheiros, selecione Ver → Seletor de localização → Estilo da barra de caminho. Agora pode clicar em qualquer ícone da barra de caminho para mudar para o diretório que ele representa. Note que clicar com o botão direito do rato sobre os ícones da barra de caminho também irá abrir uma janela pop-up com algumas opções.

## Criar e apagar ficheiros e pastas

To create a new document, right-click on some empty space in your home directory and select Create Document → Empty 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.

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.

## Copiar

Para copiar e mover ficheiros no seu computador, basta clicar e arrastar os ficheiros e pastas para outras pastas.

## 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.

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.

## Personalizar o Thunar

There are many ways to customize the File Manager. If you do not like the way the icons are displayed, choose View → View 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 View → Location Selector → Toolbar Style. If you prefer a tree view in the left pane, choose View → Side Pane → Tree.

Finalmente, pode adicionar ações personalizadas, que podem adicionar opções úteis ao menu. Muitas ações personalizadas podem ser encontradas na página da Wiki Ubuntu Thunar Custom Action.

For more choices, explore the options under Edit → Preferences.

Capítulo 11. Dispositivos de hardware |  | Capítulo 13. Aplicações multimédia