Dolphin/Administración de arquivos

From KDE UserBase Wiki
This page is a translated version of the page Dolphin/File Management and the translation is 9% complete.
Outdated translations are marked like this.

Dolphin ou Konqueror?

Esta aprendizaxe describe a versión de Dolphin incluída na versión 4 da colección de software de KDE. Konqueror era o xestor de ficheiros estándar nas versións 2 e 3 de KDE. Tamén pode usar Konqueror como xestor de ficheiros na versión 4 da colección de software de KDE:

  1. Abra a Configuración do sistema.
  2. Seleccione o módulo de Programas predeterminados.
  3. Seleccione Konqueror (ou calquera outro aplicativo) como xestor de ficheiros predeterminado.

Konqueror was the default file manager in KDE 2 and 3, and is still available for those who prefer its interface. It is a web browser, a file manager, media viewer and more. For file management it uses the Dolphin KPart, and so has all of the functionality of Dolphin.

Descubrir Dolphin

A primeira sección dá unha volta guiada por Dolphin. A segunda sección explica os conceptos dos distintos tipos de marcadores. A terceira sección fala sobre a xestión de arquivos. E finalmente, botámoslle unha ollada a «Outras cousas interesantes». Pode premer as imaxes para amplialas.

The first section takes you on a guided tour of Dolphin. The second section deals with the concepts of different types of bookmarks. The third section discusses archive management. Finally we look at 'More Cool Things'. The images are clickable - you can see the enlarged view.

Introdución a Dolphin

Dolphin é o xestor de ficheiros da colección de software de KDE.

A continuación explicarase como empregar Dolphin para tarefas habituais de xestión de ficheiros, e como personalizalo.

Ao abrir Dolphin desde o menú Kickoff, o xestor de ficheiros mostra o cartafol de inicio. O cartafol de inicio predeterminado é o cartafol persoal.

Para abrir un ficheiro ou entrar nun cartafol, só ten que premer nel. Se prefire facer clic duplo, pode configuralo desde Configuración do sistema -> Dispositivos de entrada -> Rato.

Para seleccionar un ficheiro e cartafole, sitúa o cursor sobre el, e preme a cruz verde que aparecerá. Para deseleccionalo, repite os mesmos pasos; desta vez, a icona a premer será un guión vermello. Así:

Ao premer a icona de cruz, o ficheiro ou cartafol engadirase á selección. Para seleccionar varios ficheiros, só ten que repetir os pasos. Para seleccionar varios ficheiros, tamén pode premer o botón principal co cursor en calquera punto do panel central de Dolphin, e arrastrar o cursor formando un rectángulo.

Tamén pode usar atallos de teclado para seleccioan e deseleccionar ficheiros ou cartafoles:

  • Ao premer un ficheiro ou cartafol coa tecla Ctrl premida, o ficheiro ou cartafol selecciónase se non estaba seleccionado, e deselecciónase se estaba seleccionado.
  • Ao premer un ficheiro ou cartafol coa tecla Maiús premida, selecciónanse todos os ficheiros e cartafoles desde o último seleccionado ata o que acaba de premer.

Así é como se ve cando se seleccionan varios ficheiros:

Crear un cartafol novo. Para crear un cartafol novo dentro do cartafol actual, prema en calquera lugar do panel central para mostrar o menú contextual, e seleccione Crear novo -> Cartafol. Tamén pode usar o atallo F10.

Lapelas. Dolphin permite empregar lapelas. Para abrir unha nova lapela, seleccione Ficheiro -> Nova lapela (se ten a barra do menú activada). tamén pode empregar o atallo Ctrl + T, ou premendo co botón central no cartafol de destino ou botón de navegación.

Note

A barra do menú de Dolphin está agochada, pero pode accederse a ela facilmente, así como facela visíbel de novo. Para activala, seleccione Control -> Mostrar a barra de menú ou prema Ctrl + M.

Dolphin ábrese de maneira predeterminada ao premer un cartafol. Tamén pode abrilo desde o menú Kickoff.

The Interface

Barra de lugar

Dolphin introduce unha nova forma de usar a barra de lugar, máis rápida e precisa: unha barra de lugar en ronsel. En vez de mostrar a ruta completa, só se mostran os puntos de navegación, empezando desde un dos lugares do usuario, e cada punto de navegación é un botón. Ao premer un dos botóns, ábrese o cartafol ao que ese botón corresponde. Así pode acceder directamente a un cartafol desde calquera dos cartafoles e subcartafoles que hai dentro del.

Entre os botóns que representan cartafoles hai frechas pequenas, que son á súa vez botón tamén. Ao premelas, pode ver unha lista dos cartafoles que están no mesmo nivel que o que está á dereita da frecha no ronsel, permitindo cambiar facilmente de cartafol.

Change directories quickly


Tamén pode empregar unha barra de lugar clásica que mostra a ruta completa. Para iso, prema a barra de lugar co botón secundario e seleccione Mostrar a ruta completa. Se quere poder editar o lugar da barra, prema Ctrl + L ou seleccione Control -> Barra de lugar -> Lugar editábel. Se preme sobre o espazo baleiro que hai a continuación do último cartafol do ronsel da barra de lugar, tamén poderá editar a ruta da barra de lugar. Cando a barra de lugar está no modo de edición, móstrase unha marca no extremo dereito da barra. A marca é un botón que pode premer para devolver a barra de lugar ao modo de ronsel. Por suposto, tamén pode facer o mesmo mediante atallos de teclado ou mediante os menús.

Vista partida

Dolphin permite dividir a vista de cartafol en dúas, unha en cada lado, como en Midnight Commander. Trátase dunha forma moi cómoda de copiar ficheiros dun cartafol a outro.

Para dividir a vista, prema o botón Dividir da barra de ferramentas ou, se activou a barra do menú, seleccione Vista -> Dividir (o atallo de teclado é F3). Para volver á vista única, prema o botón Pechar ou prema F3 de novo. A icona do botón indicará a xanela que se vai pechar. Segundo que vista estea activa, o guión (signo de restar) aparecerá á dereita ou á esquerda da icona. Pecharase a vista activa; é importante que non o esqueza se pensa empregar o atallo de teclado. Na barra de ferramentas hai tamén un botón para dividir e pechar a vista que mostra o guión tamén, polo que resulta doado identificar que vista se pechará.

Por suposto, cada vista ten unha barra de lugar de seu, e pode usar un modo de vista diferente.

Sorting Files

By default, the files in the currently displayed folder are sorted in ascending alphabetical order. However, this can be changed by selecting ControlSort by.

Files may be sorted by the following attributes

  • Name
  • Size
  • Date
  • Permissions
  • Owner
  • Group
  • Type
  • Link Destination
  • Path

The sorting method can be changed by selecting Sort by from the toolbar and then select A-Z or Z-A. Additionally you may choose whether folders should be listed first by selecting Folders First.

Modo de vista

Dolphin features three different folder view modes:

  • Icons shows each file or folder as an icon with its name
  • Compact is the same as icons, but in a more compact form, allowing more folders and files to be displayed at once
  • Details presents a list of files and folders, giving information on each, including but not limited to size and date

The mode can be changed from within Dolphin

  • Select View Mode from the View menu. This option is only available if the main Menubar is enabled
  • Select View Mode from the Control menu. This option is only available when the main Menubar is disabled
  • By selecting the appropriate icon from the main toolbar, if it is enabled
  • Using the default keyboard shortcuts:
    • Ctrl+1 switches to the Icon display mode,
    • Ctrl+2 switches to Compact and,
    • Ctrl+3 switches to Detailed view.

View as Icons

Each file and each folder is represented by an icon in this mode. Instead of displaying an icon a preview of the file can be shown. This feature can be turned on/off via the menu ViewPreview (if menu bar is enabled) or via the main toolbar button Preview.

There is the possibility to display additional information below the icons. These can be turned on/off via ControlAdditional Information or ViewAdditional Information (if menu bar is enabled). In principal the same criteria which are available as search criteria can be selected.

You can group the icons to achieve a better overview. This is turned on via ControlShow in Groups or ViewShow in Groups (if menu bar is enabled). Now the icons are grouped and the groups are divided by a horizontal line containing the name of the group as caption. The grouping is related to the selected search criteria.

Details

In view mode "Details" additional information is displayed by default in contrast to view mode "Icons". All files are listed in a tabular. The context menu of the table header offers the possibility to add additional columns. The following columns are available:

  • Size
  • Date
  • Permissions
  • Owner
  • Group
  • Type
  • Link Destination
  • Path

Column "Name" is always displayed. By clicking on the header of one of the columns the table will be sorted by this column. By clicking on the same column header the sorting sequence is reversed.

It is possible to display the folders as a tree. In this mode a > symbol is shown next to the folder. By clicking on this sign the folder is expanded and all containing sub folders and files are also shown in the table but they are attenuated. By clicking the sign, which displays an arrow pointing downwards, again the expansion is closed. Of course the tree structure can be used for as many folders as wished. In latest KDE releases, the tree view is enabled by default, but can be deactivated via ControlConfigure DolphinView ModesDetails with option Expandable Folders.


Setting defaults for all folders

Under ControlAdjust View Properties (or under the menu item ViewAdjust View Properties if you have enabled menu bar) you can set any of these attributes to be the default for all folder views.

Panels

Dolphin contains several panels, which can be activated via menu ControlPanels. A panel can be placed in either the left or right docking area. To move a panel, ensure that panels are unlocked (right-click on a panel and select Unlock Panels). Then click on the header of the panel you want to move and drag it to the desired location. The new location of the panel is highlighted as you move the cursor around, before releasing the mouse button. Dropping a panel on top of another combines them into a tabbed view.

In some versions of Dolphin, the header of each panel contains two buttons. The button near to the caption undocks the panel. This makes the panel an independent window which "floats" above Dolphin. The window is still combined with Dolphin and cannot be displayed without Dolphin and cannot for example be minimized like normal windows. By clicking the button again the panel is docked again. The second button closes the panel.

Non Modal Dialogs

When Moving, Copying or Deleting files/directories the dialog disappears even when the operation has not yet completed. A progress bar then appears in the bottom right of the screen, this then disappears also, if you want see the progress you need to click a small (i) information icon in the system tray.

Warning

New users who are not used to this way of working (and even experienced users) can get caught out by this, if you are Moving, Copying or Deleting large directories then you need to use the icon to monitor the progress of your operation. If you don't then any subsequent actions you do, may well use an incomplete file structure resulting in corrupted files. You have been warned!


Places

Dolphin contains a new kind of bookmarks Places. These are displayed in a panel which can be activated via ControlPanelsPlaces (keyboard shortcut F9). The default Places are identical to the ones shown in the category Computer of the K-Menu Kickoff.

By clicking one of these places it will be opened in the current folder view. The context menu offers the possibility to edit the places or to remove them again. It is also possible to hide entries temporarily.

The context menu of a folder can be used to add this folder an another entry to the Places panel. Therefore there is a menu item Add to Places. You can also Drag&Drop a folder to the Places panel.

The places panel also contains entries to connected removable devices like USB-keys or CDs. A small plug icon indicates if the device is mounted. The context menu offers the possibility to unmount the device.

The places are used as the basis in the breadcrumb navigation bar. Each address is shown in relation to the nearest parent folder which is one of the places.

Information

The information panel can be activated via ControlShow PanelsInformation (keyboard shortcut F11). This panel displays a preview or an icon of the currently selected file/folder or of the file/folder below the mouse cursor. Some additional information like change date or size to the file/folder is displayed as well.

The information panel offers the possibility to rate files, add a comment or tag a file. This is one of the interfaces to the semantic Desktop Nepomuk which provides the advantages of the semantic web for the desktop. Starting from KDE 4.2 it is possible to search for the semantic links given by the tags.

The Information Panel

Tip

If you are wondering about missing mp3 ID tags (title, time ...) with some files it is most likely that ID3 Version 2 tags are missing. You can add ID3 version 2 tags with KID3 for example.


Folders

A panel providing a tree structure for the file system can be displayed via ControlPanelsFolders (keyboard shortcut F7). The tree structure offers the possibility by clicking the > and ↓ signs to expand/collapse sub folders. By clicking on one of the folders the content will be displayed in the current view.

Terminal

The terminal emulator Konsole can be displayed directly in Dolphin via ControlPanelsTerminal (keyboard shortcut F4). This makes it possible to use shell commands directly in Dolphin. The terminal is opened in the folder which is displayed in the current view. Shift + F4 opens Konsole in new window.

Dolphin with a Terminal

Bookmarks and Places

KDE Plasma offers two different systems of user-based links to different locations in the file system. One is called Places and the other one is called Bookmarks. They reside in different files, and have different functions. This offers more flexibility, however, it makes it necessary to learn the differences.

KDE3 Konqueror didn't share bookmarks

In contrast to the way Konqueror stored the bookmarks back in KDE3, both Places and Bookmarks are available to all applications as well as the Dolphin file manager. More of that later.

Places in applications

Places for system-wide navigation

There is a default set of Places -

Home
Network
Root
Trash

but you can add other places. In Dolphin, right-click on a folder and select Add to Places, or just drag a folder onto Places.


Adding a bookmark to Places


By default this "Place" will be visible in all applications. If you want to keep it constrained to Dolphin, you need to right-click on the new name in the Places list, where you will find the option to Edit it. There is a check-box for Only show when using this application (Dolphin).


This Place will only be visible in Dolphin


You can see the result of that command if you read ~/.local/share/apps/kfileplaces/bookmarks.xml.

In some applications too there is an option in the File menu to add a folder to Places. At this stage, however, applications vary in which features are available. The important thing to remember is that the default is for Places items to be available to all applications in the FileOpen dialogue.

Constraining to one application

Some applications allow you to edit items in the Places menu. For instance, if in Gwenview you right click on a folder in Places you can set an option to Only show when using this application (Gwenview).


Constraining a bookmark to an application


If you need to constrain to an application that does not yet allow you to do that, the only way left is to edit the file ~/.local/share/kfile/bookmarks.xml. Immediately before the </metadata> tag you will need to add the line

<OnlyInApp>appname</OnlyInApp>

Bookmarks in applications

Enable bookmarks

Bookmarks are not enabled in dialogs by default. To enable them

  • Open the File menu and select Open or Save
  • Click the Options icon
  • Select Show Bookmarks
Enabling Bookmarks

Using bookmarks

Bookmarks are the second class of user-based links to the file system. Remember opening FileOpen and using the spanner/wrench? Next to it is a yellow star. This is the bookmark management menu.

Manage Application bookmarks here

Here you can define bookmarks that will be visible in the same menu on any application. They are stored in one file, ~/.local/share/kfile/bookmarks.xml, which is used by all applications having that menu.

Archive Management in Dolphin

Managing archives now becomes simple. In any directory in Dolphin, highlight the files that you want to compress, and right-click. Here, using the Compress option, you can elect to create a RAR archive, a Gzipped tar archive, or define another compression mode that you have already set up.

Create a new archive

Similarly, if you right-click on an existing archived file you get a range of actions added to the right-click menu. You can extract the archive to the current folder, to an autodetected subfolder or to another place of your choosing.

Should you wish to add files to an existing archive, you can choose Open with Ark.

Manage existing archives

More Cool Actions

Change a File Association on-the-fly

Have you ever wanted to open a file, only to find that it is associated with an application that is not of your choice?

You can, for one, alter this in KickoffComputerSystem SettingsCommon Appearance and BehaviorFile Associations. This is the same as running kcmshell5 filetypes in a Konsole.

Alternatively, if you want to change multiple associations right quick, you would edit the *.desktop file directly, e.g. the file /usr/share/applications/org.gnome.Builder.desktop. For example, Gnome Builder associates with a great number of file-types which may not be desirable. So the line

   MimeType=application/javascript;   # we do not want all of these ....

may be shortened or commented out with # . Maybe a line

   InitialPreference=2
   X-KDE-InitialPreference=3

in the builder.desktop file helps to keep your previous default associated app, with builder being only secondary or tertiary option.

Thirdly, Dolphin and Konqueror offer a quick method for changing a single association:

Right-click on the file and select Properties. The first line there is descriptive, something like:

Type: XML document

At the same level, on the right, there is a spanner (wrench). Click on that and you can add or change an association.

Similarly, by working on a folder, you can change the default file manager to/from Konqueror, if you choose, or add another image browser to the possible associations.

The Actions sub-menu

The Actions sub-menu opens up a whole lot more cool things to do from Dolphin. Some possibilities only appear when applicable to the file you have selected. An apps .desktop file below /usr/share/applications defines what actions are applicable for a particular type of file. Some of the options are

  • Convert an image file to a different format
  • Preview the file
  • Download a remote file with KGet
  • Sign and/or encrypt the file, according to the encryption software installed

Encode and copy audio CD tracks

  • Insert an audio CD
  • Navigate to this CD in Dolphin: it must appear as "Volume" in your Dolphin 'Places' or you can reach it by typing audiocd:/ in the address bar.
Dolphin presenting audio CD

You now notice that Dolphin is proposing a WAV file for each track, plus:

  • a CDA folder containing indexing information in the usual CDA format.
  • a Whole CD folder, containing one file for each format (.cda, .flac, .mp3, .ogg, .wav) holding all the tracks
  • a FLAC folder, containing the tracks encoded into FLAC format (lossless information format)
  • an Information folder containing the CDDB informations
  • an MP3 folder, containing all the tracks in MP3 format
  • a Ogg Vorbis folder, containing the tracks encoded in OGG format

You then just have to copy the folder of your choice, in your preferred format to obtain the relative encoded version of your CD!

Using timeline to have your recent files as startup folder

Have your recent files always in Dolphin

You can start up dolphin (with baloo up and running) with a view of recently modified files: Just navigate to the address/location of timeline:/today/ (copy paste it to the address bar) or use it as dolphin start-up-folder in dolphin-settings.

External links