Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Desktop is a bespoke file manager designed to access and work with Metview icons. It is meant to replace the current user interface (called MetviewUI) later this yearof Metview, written entirely in Qt.

Note
titleRequirements
The minimum recommended Metview version to run Desktop is 4.4.67.


Note
titleStart up

You need to start Metview with the -desktop flag. At ECMWF the command to use is as follows:

metview4_new -desktop
metview

Users outside ECMWF Outside ECMWF you need to use your their local metview command.

Table of Contents

 

Notes for MetviewUI users

Are there still dot files in Desktop?

MetviewUI stores icon positions and types in hidden files (dot files). There is one such file for each icon. In Desktop this information is still stored but there is only one dot file per folder.

maxLevel4

The Desktop window

Overview

A Desktop window is divided into six parts.Image Removed

Image Added

  • Menubarmenu bar: contains menus and actions
  • Toolbartoolbar: contains a set of buttons/widgets to customise the view folder views and navigate through the folders
  • Folder folder view: contents of the currently selected folder (or folders in different tabs).
  • Sidebarsidebar: contains the Bookmarks bookmarks panel
  • Drawersicon drawers: drawers are a set of centrally globally accessible folder tabs. They appear at the bottom of each Desktop window.
  • Statusbarstatus bar: displays information about the icons and provides the buttons for changing the icon size

...



Info
titleHide drawers and status bar
Both the icon drawers and the status bar can be hidden/shown via the View menu. This might be a useful option on small screens to gain more space for the folder views.

The Metview filesystem

Each Metview session defines a home folder (by default it is ~/metview). This folder is set as both the home and root folder for Desktop! This has two implications. First, the home folder iconImage Removed

Image Added

in Desktop always refers to the Metview home folder (and not the UNIX home folder)! Second, we cannot directly access files outside this file system from within Desktop (but we need to can use symbolic links for these files/folders).

Folders

Opening folders

Anchor
desktop_folder_tabs
desktop_folder_tabs
Working with folders 

Folders are represented by this icon in the user interface:

Image Modified

To enter a folder double-click, hit enter or right-click Open on the icon. Folders can also be opened in a new tab or window by using the context menu of the Folder icon.

Folder tabs

The central part of Desktop can contain multiple tabs, each showing a different folder. Folder navigation works for each tab independently.

Image Modified

New tabs can be added by the blue button at the right edge of the tab bar or by using the Ctrl+T keyboard shourtcut.

Image Added

There is a drop-down menu available at the right edge of the tab bar showing the actual list of open tabs. This menu can significantly ease the tab navigation if there is a large number of tabs open in a given Desktop window.

Info
titleTabs are saved
On exiting Metview the list of opened tabs are saved! Tabs can also be saved as bookmarks.

Anchor
desktop_folder_navigation
desktop_folder_navigation
Folder navigation

Folder navigation is based on the Back, Forward and Up arrows and on the Breadcrumbs breadcrumbs, which are all located in the toolbar.  The breadcrumbs consist of the Home icon and the folder hierarchy to the right of it, including the arrows in-between them.

Image Modified

Each visited folder is added to the folder history, which can be accessed via the History menu (it can store at most 25 folders).

Both breadcrumbs and history items have a context menu, which allows opening the folders in a new tab or window.

Folder

...

view properties

...

View modes

There are three folder view modes available:

  • Classic icon view: icons are freely movable and icon labels are rendered below the icon pixmaps
  • Simple icon view: icons are freely movable and icon labels are rendered to the right of the icon pixmaps
  • Detailed view mode: icons and their properties are displayed in a table format with sortable columns

The view modes can be set to for each tab separately through the View menu or by using these toolbar icons:

Image Modified

Changing icon sizes

 

 

Bookmarks

Both folders and a set of folder tabs can be bookmarked. Bookmarks can be accessed either via the Bookmarks menu or the Bookmarks sidebar. You can open the the Bookmarks sidebar via the View menu or with the Ctrl+B shortcut.

Image Removed

There are various ways to bookmark a folder. You can use 

  • the Bookmarks menu
  • the context menu of a Folder icon, Folder tab or Breadcrumbs item.
  • the context menu of the Bookmarks sidebar
  • the bookmarks icon at the right hand edge of the Breadcrumbs.

Image Removed

To bookmark a set of folder tabs you can use:

  • the Bookmarks menu 
  • the context menu in the Bookmarks sidebar

...

The status bar features an icon size slider to change the icon sizes in the current folder (sizes between 16 and 96 pixels are available).

Image Added

The icon size can also be changed from the View menu or from the Desktop context menu

Folder settings

View mode and icon size are stored for each folder separately. When a folder is opened for the first time in Desktop these settings are read directly from existing MetviewUI settings. For newly created/opened folders the default view mode and icon size is used. The default settings can be overwritten via the Tools → Preferences menu:

Image Added

using the preferences editor:

Image Added

Desktop offers a set of actions to customise the folder settings.These actions are available from the Folder settings tool button (with the "spanner" icon) at the right edge of the status bar (they can also be accessed in the View menu).

Image Added

The tasks performed by these actions are as follows:

  • Apply icon size to all open folders: a one-off action to set the icon size in all the open folders to that of the current folder
  • Save view settings as default: saves the view mode and icon size of the current folder as the default
  • Revert view settings to default: changes the view mode and icon size for the current folder back to the default settings

Anchor
desktop_icon_info
desktop_icon_info
Icon information

As the mouse hovers over an icon in the folder views certain icon information such as name, type, size and modification date are automatically displayed at left edge of the status bar:

Image Added

Anchor
desktop_drawers
desktop_drawers
Icon drawers

Icon drawers are a set of tabs containing icon-strips appearing at the bottom of each Desktop window. Their contents  is contents are shared between among the Desktop windows, so each window shows the same set of drawers.

Image Added

(per Metview user). Users are free to customise both the drawer tabs and the icons they store.

Warning
titleChange of behaviour

Metview will not update the contents of the icon drawers automatically any more. These tabs belong to the users now, which means that users are responsible for organising them. Please note that this is a different behaviour to MetviewUI, which automatically updated the icon drawers with new system icons. System icons in Desktop are exclusively available in the Create new icon dialogue.

Working with Drawers

Dragging . By dragging an icon from the Icon icon drawers to the Folder views creates a copy of that icon in the target folder. Similarly by , dragging an icon from a Folder view to the Icon drawers adds a copy of this icon to the target drawer.

Image RemovedUsers can add new drawers by using the blue Add drawer button at the right edge of the drawers tab. Other drawer related actions can be accessed via the context menu of the drawer tabs.

Please note that Icon icon drawers can be hidden/shown via the View menu.

Create new icons

Anchor
desktop_create_new_icons
desktop_create_new_icons
Creating new icons

The Folder view context menu (right-click anywhere in the view when no icons are selected to see this menu) offer various On top of using the Icon drawers there are other ways to create new icons in Desktop. The first option is to use the New icon sidebar. You you can open it the via the View menu or with the Ctrl+N shortcut.  Its interface shows you all the icons that can be created in Metview. To create a new icon just drag it to one of the Folder views.

Image Removed

The second option to create new icons is to use the Folder view context menu (right-click anywhere in the view when no icons are selected to see this menu):

Image Removed

Here action 'Create new icon' will start up a modeless Create icon dialog, which contains the same interface as the Create icon sidebar. There are two other actions to use: 'Create new folder' and 'Create new macro' directly creates a new Folder or a Macro, respectively.

Copy and move by drag and drop

:

Image Added

Users can directly create Folder and Macro icons from this context menu. For other icons the Create new icon dialogue should be started up from the context menu (or by using the Ctrl+N shortcut):

Image Added

This dialogue features three options to list the available Metview icons:

  • Recent: contains the list of recently created icons
  • Types: icons are grouped into categories (e.g. Views)
  • Filter: contains all the available icons with an optional filter working according to the combination of icon name, type and category. For example, typing the filter term "geo" results in the following list:

Image Added

To create an icon from the dialogue just click on the selected icon or drag it into the Folder view to its desired location.

Warning
titleDrawers vs. Create new icon dialog

Icon drawers contain only user defined icons, so there can be several copies of the same type of icon with different contents. Also, icon drawers are never updated by Desktop, so they are not supposed to contain the complete set of Metview icons.

On the contrary, the Create new icon dialogue features the complete list of the Metview icons that users can create, and there is only one instance of an icon (the system version) available there.

Symbolic links to files and folders can be created from the Folder view context menu: Create new... Link to File/Folder. In this way, Metview can 'see' files which are outside its home folder.

Anchor
desktop_bookmarks
desktop_bookmarks
Bookmarks

Both folders and tab-sets can be bookmarked. Bookmarks can be accessed either via the bookmarks menu or the bookmarks sidebar.

Image Added

Users can open the the bookmarks sidebar

  • with the Bookmarks button in the toolbar
  • from the View menu
  • by pressing Ctrl+B.
Bookmarking a folder

There are various ways to bookmark a folder. It can be done with:

Image Added

  • the context menu of the Bookmarks sidebar
  • the bookmarks icon at the right hand edge of the breadcrumbs.

Image Added

Bookmarking tabs

To bookmark a set of folder tabs use either:

  • the Bookmarks menu or
  • the context menu in the Bookmarks sidebar

Tab-sets are indicated with a distinct grey icon in the bookmarks list like this (in this case "Demo" is a tab-set bookmark):

Image Added

Using bookmarks

Bookmark items can be opened in various ways (e.g. in a new tab or in a new window) via their context menu. Opening a tab-set will replace the current tabs in the window.

Icon filtering

Desktop features a filtering facility for finding icons in cluttered desktops. Just press Crtl+F in any of the folder views to bring up the icon filter bar at the bottom of the folder view.  By typing in a filter term for name or/and type the icons not matching the filter are greyed out in the Folder view.

Image Added

Drag and drop

Users can copy icons between You can copy icons between  Folder views by dragging them with the middle mouse button.

Dragging an icon with the left mouse button means move.

The drop target can also be a Folder icon, a Folder folder tab, a Breadcrumbs breadcrumbs item, a Bookmarks bookmarks item or an Icon icon drawer. The rules are the same except for the icon drawers where both the left and middle mouse button drag actions mean copy!

Copy, move and cut using the clipboard

Icons can be copied or moved between folders by using the Copy, Cut and Paste from clipboard actions in the context.

Icon editors

text

 

Tools

Sending mails

 

Process monitor

 

 

Anchor
desktop_desktop_context_menu
desktop_desktop_context_menu
Desktop actions

The desktop context menu provides a specific set of actions available for the given Folder view.

Image Added

Arranging icons on a grid

For the Classic and Simple view modes the icons can be arranged on a grid sorted by the icon name, type or file size, respectively.  This is a one-off action laying out the icons just once, then the icons can be freely moved again.

Anchor
desktop_icon_context_menu
desktop_icon_context_menu
Icon actions

The icon context menu is icon specific and only shows the actions available for the given icon. The snapshot below shows the context menu for a Grib Filter icon:

Image Added

The default action

The Edit action in this example is highlighted in bold because it is the default action for this icon. The default action is triggered by double-click or hitting Enter on the icon. The default action is specific for an icon type (for certain icons it is not defined at all).

Multiple selection

Desktop provide multiple icon selection by using:

  • rubberband selection with the mouse
  • Ctrl selection

For multiple selection the icon context menu shows a specific set of actions only:

Image Added

Clipboard usage

Desktop uses the system clipboard to implement the Copy, Cut  and Paste actions on the current icon selection.

Deleting icons

Unwanted icons can be moved to the wastebin by using the Move to wastebin action (Del shortcut). The wastebin can be emptied in order to permanently delete the icon(s).

Icon output

When there exist output messages for a given icon, it will have a Log action in its context menu, bringing up the log window for that icon. For combined icon output, see Tools.

Anchor
desktop_archiving
desktop_archiving
Archiving/extracting icons

Archiving icons

Icons can be archived into a tar, tar.gz and tar.bz2 format by using the Archive as action in the icon context menu. Archiving is always based on the current selection. The resulting archive file is placed in the current folder and its name is generated from the first icon in the selection.

Warning
titleIcon dependencies

It is important to understand that Metview icons can contain other icons, which can also contain other icons, and so on. When icons are archived these dependencies are resolved and all referred icons are saved into the archive preserving their relative positions in the filesystem. Thus, even by simply archiving one icon we can trigger the archiving of several files.

Please bear in mind that symbolic links are also resolved by default when an archive is created!

Extracting icons

For archived formats (e.g. tar.gz) Desktop offers the Extract action in the icon context menu.

Sending icons in email

It is possible to send icons in email from Metview by using the Send action from the icon context menu. When this action is triggered a tar.gz file is generated behind the scenes by resolving all the necessary dependencies (see Archiving icons) and all the needed icon descriptor files are also added to the resulting archive file. Having generated the tar.gz file this dialogue pops up:

Image Added

Then users can specify the address, write a custom message and overview the contents of the  tar.gz attachment to be sent. 

When such email is received it appears something like this in an email client:

Image Added

The automatically generated part of the message contains clear instructions on how to import the icons in the tar.gz attachment into the local Metview environment.

Finding out the Metview version

Desktop displays some information about the Metview version being used in the Help → About Desktop menu:

Image Added

Image Added

Icon editors

Many of the icon types in Metview are editable. To edit an icon double-click or hit Enter on the icon, or right-click and select Edit from the context menu. This will bring up the icon editor assigned to the given icon type. The basic editor, which is used for the most of the Metview icons, looks like this in Desktop:

Image Added

This editor is divided into five main parts:

  • header: contains information about the icon being edited
  • toolbar: contains a set of buttons to customise the editor
  • parameters: each icon parameter can be individually edited here
  • editor drawers: offers various drawers storing custom icons
  • button box: contains the buttons to e.g. save, reset the editor.
Toolbar actions

The toolbar features two buttons to switch between GUI and text-based editor modes (the latter is indicated by the 'T' icon):

Image Added

Editors are always opened up in a GUI-based editor mode and to switch into the text-based mode the contents of the editor first have to be saved.

Image AddedImage Added

The text-base mode reveals the 'contents' of the icon in text format. Here only the parameters which have been changed from their default settings can be seen. This is a quick way to see which parameters have been set in the icon.

Warning

Please try to avoid editing the icon in the text-based editor mode. It is there for development purposes and expert users only.

Icon parameters

Each icon parameter has a default value. When a parameter is set to a non-default value a blue 'revert' button appears in front of it to indicate that it has been altered from the default. This button reverts the parameter to its default when clicked.

Image Added

Some icon parameters have a helper editor offering advanced editing options. If available it is indicated by a 'double arrow' helper icon next to the parameter name like this:

Image Added

By clicking on the helper icon the editor gets expanded and the helper editor becomes available for the given parameter. At the moment these kind of helper editors are available in Metview:

Button box

The button box, which is located at the bottom of the editor, offers the following actions:

  • Ok: save changes and close
  • Save: save changes and stay open (it is also triggered by hitting Enter anywhere in the editor)
  • Cancel: close and do not save changes
  • Reset: reset editor to the last saved state

Anchor
desktop_colour_editor
desktop_colour_editor
Colour helper editor

The colour helper editor offers a colour wheel and a colour grid (displaying all the predefined/named colours in Metview) for colour selection. The RGB and HSL values, the HTML representation and the Metview macro format of the selected colour are also presented in an editable format.

Image Added

When a new colour is selected in the helper the edited parameter is immediately updated showing the new selection like this:

Image Added

Anchor
desktop_colour_list_editor
desktop_colour_list_editor
Colour list helper editor

The colour list helper is very similar to the colour helper but allows defining and editing a list of colours instead of having a single colour cell only. By default, the colour list is empty and the editor only displays a single blue cell.

Image Added

When there are multiple cells in the list the selected cell is indicated by a different frame and cell size.

Image Added

Cell selection works by simply clicking on a cell. All the actions the colour list editor offers work on the selected cell including:

  • insert a cell before the selected cell
  • insert a cell after the selected cell
  • delete the selected cell

These actions can be triggered either from the buttons

Image Added

at the top of the helper editor or from the context menus of the cells (right-click on a cell to get the context menu).

Anchor
tools
tools
Tools

Icon search

The Search icon dialogue can be started up from the Tools menu on the menu bar.

Image Added

 

This dialogue provides an advanced interface to search for icons in the entire Metview folder hierarchy according to name, type, contents and other search criteria. The search options are grouped into these three tabs:

  • Basic: specifies the folder and the name and type of the icons to be searched for
  • Contents: specifies the containing string to be searched for in  ASCII icons
  • Properties: specifies the date, time, size, owner and group of the icons to be found

Once the search criteria are set click on the Find button to start searching. While search is in progress the results are automatically listed and each icon found can be looked up in its own folder view using the Locate in folder view action from the context menu.

 Image Added

Process monitor

Metview has a built-in task monitor, available from the Tools menu on the menu bar.

Image Added

This tool allows users to see which processes Metview  is currently running. It also allows some control, such as the ability to abort processes (right-click menu on each process's entry).

Image Added

Log

Selecting the Log option from the Tools menu brings up the Log window, showing the combined output from all icons in a single place.

Anchor
notes_for_metview_ui_users
notes_for_metview_ui_users
Notes for MetviewUI users

Importing folder list

On first start-up Desktop imports the MetviewUI folder list and opens all these folders up in the same window as a set of tabs.

Dot files

MetviewUI stores icon positions and types in hidden files (dot files). There is one such file for each icon. In Desktop this information is still stored but there is only one dot file per folder.

Icon positions

Desktop only reads existing MetviewUI icon positions when it opens a folder for the first time. Then icon positions diverge in the two systems (due to the different way of storing icon information).

Drawers

Metview will not update the contents of the icon drawers automatically any more. These tabs belong to the users now, which means that users are responsible for organising them. Please note that this is a different behaviour to MetviewUI, which automatically updates the icon drawers with new system icons. System icons in Desktop are exclusively available in the Create new icon dialogue.tex