Giter VIP home page Giter VIP logo

dolphin-quick-view's Introduction

dolphin-quick-view

Simple program to have a quick preview of the files in a folder (similar to Apple's Quick Look)

Screenshot-10-09-2023-CEST

Supported files:

txt,mp3,mp4,jpg,png,webp,svg,svgz,doc,docx,odt,xls,xlsx,csv,ods,odp,ppt,pptx,md,pdf,zip,rar,tar.gz,tar.xz,kra

Installation:

1: Download the latest release from here and extract it: https://github.com/Nyre221/dolphin-quick-view/releases/

2: Install the requirements: https://github.com/Nyre221/dolphin-quick-view/tree/main/Requirements

3: Make the "INSTALL.sh" file executable (right click-> properties->check "executable") and run it

4: If you want to open it with a shortcut and not just via dolphin's context menu: go to plasma settings -> shortcuts -> add a shortcut that executes a command: /home/YOUR_USERNAME/.config/quick_view/dolphin_quick_view_shortcut.sh

(you can activate the shortcut as you want)

Common Quick view shortcuts:

a,d and arrow keys (right/left) = back and forward
arrow keys (down/up) = scroll
spacebar, q and ESC = quit
"w" and return key = open with default app

Debug:

If quick view doesn't open via dolphin's dropdown menu: open a terminal and type "dolphin", error messages will appear in the terminal window (possible missing dependencies)

alternatively you can use this command: ~/.config/quick_view/quick_view.pyz /path/to/some/file -s

if dolphin_quick_view_shortcut.sh doesn't work, run: "sleep 5 ; ~/.config/quick_view/dolphin_quick_view_shortcut.sh" in a terminal and reactivate a dolphin window (you have 5 seconds). The errors should appear there.

if the pdfs are not visible it is because you have not installed python3-qpageview or python3-poppler-qt5 (names may differ a bit)

if some mp4 files don't play it's probably because you're missing some gstreamer library

How you can help:

I created a module called "example_module.py", download it and try to create a new viewer.
The module can be run separately and you don't need to download all the project files.
To start using it you just need to install python-pyqt5 for your distro: https://github.com/Nyre221/dolphin-quick-view/tree/main/Requirements

Example module:https://github.com/Nyre221/dolphin-quick-view/blob/main/example_module.py

dolphin-quick-view's People

Contributors

cherkah avatar nyre221 avatar redbearak avatar vistaus avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.