Plugins#
Vimiv provides the option to extend its functionality with python module plugins. To add a new plugin:
Put the python module into the plugins folder
$XDG_DATA_HOME/vimiv/plugins/
, where$XDG_DATA_HOME
is usually~/.local/share
if you have not updated it.Activate it in the
PLUGINS
section of the configuration file by adding:plugin_name = any additional information
whereplugin_name
is the name of the python module added andany additional information
is passed on to the plugin upon startup. Plugins can decide to use this information string for anything they like.
Currently the following user plugins are available:
Name |
Description |
---|---|
Raw support based on |
|
Easily import your images from a SD card, camera or any directory into your photo storage |
|
Easily mark contiguous images |
|
List videos within vimiv and play them using an external player |
If you would like to write a plugin, some of the information on Writing Plugins may be helpful to get started.
In addition to plugins that can be added by the user, vimiv ships with a few default plugins that can be activated:
Name |
Description |
---|---|
demo |
Simple hello world greeting as example plugin |
imageformats |
Plugin enabling support for additional image formats |
metadata |
Metadata plugin wrapping the available backends to only load one |
metadata_piexif |
Metadata plugin based on piexif (https://pypi.org/project/piexif/) backend |
metadata_pyexiv2 |
Metadata plugin based on pyexiv2 (https://pypi.org/project/py3exiv2/) backend |
Plugin enabling print support |
imageformats#
Activate this plugin by adding imageformats = name, ...
to the plugins section of
your vimiv.conf
. Here name, ...
consists of the names of the image formats to
add separated by a comma.
Currently the following formats are supported:
cr2 (requires qt raw)
avif (requires qt-avif-image-plugin)