Skip to main content

Generates folder preview thumb

Project description

FOLDERPREVIEW

Generates folder thumbs using child files thumbs

demo

Installation

aur: folderpreview

pip:

systems requirements:

$ pip install folderpreview
$ sudo -E folderpreview --install-thumbnailer

Usage

The thumbnailer will be automatically calling by thumnail service when file manager asks for folder thumbnail. For general usage all you need is installed thumnail service.

folderpreview --help for manual usage.

Tested with:

  • tumbler
  • thunar
  • nemo
  • pcmanfm (libfm-directory_thumbnails required)

Debugging:

$ journalctl -f -p debug -t folderpreview

Configuration

XDG_CONFIG_HOME/folderpreview/config.yaml:

size: 256                  # default thumb size, px
use_hidden: false          # generate thumbs for and use hidden files in preview
request_child_thumbs: true # request thumbs of supported child files
                           # in background scheduler and wait for their readiness
request_timeout: 5         # request timeout, s
priority:                  # priority of child's files for using on preview
- media                    # video/image files with thumbs/thumbnailer
- thumbs                   # other files with thumbs/thumbnailer
- icons                    # files without thumbs/thumbnailer
- subdirs                  # recursion in subdirs with the order
- files                    # all child files
locations:                 # enabled folders locations(including subdirs)
- /
- $HOME/videos
renderer: custom_renderer.CustomRenderer # renderer class name

Customization

For better integration with icon theme renderer can be customized using config.renderer option. It should be instance of folderpreview.renderer.ThumbRenderer class. Custom renderer can be stored in config folder.

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

folderpreview-0.4.3.tar.gz (132.6 kB view details)

Uploaded Source

Built Distribution

folderpreview-0.4.3-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file folderpreview-0.4.3.tar.gz.

File metadata

  • Download URL: folderpreview-0.4.3.tar.gz
  • Upload date:
  • Size: 132.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.3

File hashes

Hashes for folderpreview-0.4.3.tar.gz
Algorithm Hash digest
SHA256 10576a7f5a6dbe7e3be03272d4755ba4b2edf46c8a40994449f52a734818fa1a
MD5 b877118af667600d165cc295a3d49bea
BLAKE2b-256 7742d66639f6e7481de74056d68f20b77923be2bf6b3fc31b3235acbc16e6cf3

See more details on using hashes here.

File details

Details for the file folderpreview-0.4.3-py3-none-any.whl.

File metadata

  • Download URL: folderpreview-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.3

File hashes

Hashes for folderpreview-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a0f7a23bf3eb1d13ff40176026a3f04134947c27de997c3455e4712acb35cef9
MD5 49246a0341f9196db0ec247a20f0cdec
BLAKE2b-256 8d82595ad9afaea3dae14e4f31d7cda54b7f94a958e5f47c9f98416153e68da1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page