Hi, I have released a new version of Quick view with many improvements and more file types supported.

What has changed:
1: Added preview of folders and archives (zip, tar.gz, tar.xz, rar)
2: Now the documents (odt,xlsx,odp and others) are converted to pdf and then shown.
3: Added support for .odp,.ppt,.pptx,.tar.gz,.tar.xz,.zip, and .rar files
4: It is now possible to scroll through the video timeline with the arrow keys.
5: The keyboard shortcuts have been changed.

Many previously required dependencies are no longer needed.
To preview documents (optional) you need to install LibreOffice.

If you want to support me you can find the donations link on the github page: github.com/Nyre221/dolphin-quick-view

download: www.pling.com/p/2083711/
github: github.com/Nyre221/dolphin-quick-view

aronkvh,

What’d help with spreading this app more is if you could create a one-click installable package for less experienced users

Perroboc,

This is awesome! Thanks!

Moxvallix,
@Moxvallix@sopuli.xyz avatar

Just checking over the list of supported files, does it preview just plain .txt files at all?

Nies221,

.txt or plain text files without extension are supported.

ulfi,
@ulfi@troet.cafe avatar

@Nies221 @Moxvallix
Do you use the info from 'file' command (api) ?

Nies221,

To get the size of archives and folders:
os.stat(filename).st_size # for folders you have to use it together with os.walk()

To get the list of files inside an archive I use the zipfile, rarfile and tarfile modules.
For the file type, I either extract the extension from the name or I use a bash command via subprocess:file --mime-type filepath
subprocess is used if there is no extension (as often happens with text files).

I preferred to use subprocess to avoid having to increase the number of dependencies needed.

Moxvallix,
@Moxvallix@sopuli.xyz avatar

Sweet.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • kde@lemmy.kde.social
  • DreamBathrooms
  • everett
  • osvaldo12
  • magazineikmin
  • thenastyranch
  • rosin
  • normalnudes
  • Youngstown
  • Durango
  • slotface
  • ngwrru68w68
  • kavyap
  • mdbf
  • InstantRegret
  • JUstTest
  • ethstaker
  • GTA5RPClips
  • tacticalgear
  • Leos
  • anitta
  • modclub
  • khanakhh
  • cubers
  • cisconetworking
  • megavids
  • provamag3
  • tester
  • lostlight
  • All magazines