this post was submitted on 10 Sep 2023
93 points (100.0% liked)

KDE

5001 readers
49 users here now

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE’s software runs on GNU/Linux, BSD and other operating systems, including Windows.

Plasma 6 Bugs

If you encounter a bug, proceed to https://bugs.kde.org, check whether it has been reported.

If it hasn't, report it yourself.

PLEASE THINK CAREFULLY BEFORE POSTING HERE.

Developers do not look for reports on social media, so they will not see it and all it does is clutter up the feed.

founded 1 year ago
MODERATORS
 

It is a very simple program that allows you to have a quick overview of the contents of some files.

The program requires some python libraries and I have made a list of those needed for some distributions. they are generally always the same, just the names change a little.

Video: https://www.youtube.com/watch?v=AB1SRV1ldnw

Github: https://github.com/Nyre221/dolphin-quick-view

Download: https://www.pling.com/p/2083711/

top 11 comments
sorted by: hot top controversial new old
[–] [email protected] 18 points 1 year ago (1 children)

Oh my god THANK YOU.

I have been searching for this for a year. Forum discussion usually come out to "why would you need that?" I work in media and have to look at an enormous amount of video and photo content, quick look is an absolute necessity!

[–] runjun 14 points 1 year ago (2 children)

Honestly one of the most frustrating responses in the tech community.

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago)

I think it’s the only reasonable response.

I don’t know what quick look is, but your file explorer has file previews yes? Why are they not sufficient? How does quick look differ?

If file thumbnails are not sufficient, you can open the file to look at it yes? Why is it not sufficient? How does quick look differ?

Like, if you don’t give me an explanation of the problem and how the envisioned solution fixes it, how can I evaluate pros and cons and potentially implement it?

If you can’t or are not willing to answer very simple questions on a product you are wishing for / requesting, how can anybody reason about it and help making it happen, or support the cause for its creation?

Not pointing fingers at anyone by the way, just explaining why this response is so common and why, in my opinion, perfectly reasonable.

Asking why is not synonym with “no, use (something else)” and more about “in which way is (something else) failing to provide a solution?”

[–] [email protected] 5 points 1 year ago

I disagree. I think it's often mistaken for derision when in reality it's a request for a better description of the use case.

[–] [email protected] 7 points 1 year ago (2 children)

It looks absolutely great and I will download it, but I have a question, what advantage does it have, for example, to use this instead, for example, to open Okular to view a PDF?

I suppose it has the advantage of not opening a complete program like an office suite to take a quick look at a file.

And thanks for considering posting on Lemmy! I have no idea if you shared it on Reddit or if you use it, but I suppose that 90% of developers prefer to share their creation there because there is more public there.

[–] [email protected] 8 points 1 year ago

It’s much faster than opening an application. Extremely lightweight and keyboard operable. Insanely intuitive.

Select item. Hit space bar. Use arrow keys to view next or previous item. Hit space bar again to close it.

You should test out Apple’s Finder. It’s packed with features like this that save hours of people’s time every month

[–] Nies221 4 points 1 year ago

Look, I've never used Apple's quick look or Gnome sushi so I can't answer this question. The people here can definitely give you a better answer than me haha

After reading about a user who was looking for an alternative to Apple's Quick Look and Sushi Gnome I decided to create this program to practice with python and make someone happy. I didn't expect there were so many people with the same need.

It looks absolutely great and I will download it, but I have a question, what advantage does it have, for example, to use this instead, for example, to open Okular to view a PDF?

I think its usefulness lies in the ability to scroll between files (even of different types) with the arrow keys, plus being fast.

[–] [email protected] 3 points 1 year ago (1 children)

This looks cool, thanks!

A couple questions from looking at the repo:

  • instructions reference INSTALL.sh but that's not in the source? Maybe only in the release tarball?
  • does it clear the user's entire clipboard history each time it's run?
  • would it make sense to package this up for PyPI, with system deps being checked for and reported from within python? If so, are you interested in pull requests?
[–] Nies221 2 points 1 year ago

instructions reference INSTALL.sh but that’s not in the source? Maybe only in the release tarball?

I added it to the repository: https://github.com/Nyre221/dolphin-quick-view/tree/main/package%20creation

does it clear the user’s entire clipboard history each time it’s run?

I made some changes and now it doesn't delete all the history, only the last thing copied (afterwards try to restore it but it doesn't work if you copied a folder or file): https://github.com/Nyre221/dolphin-quick-view/blob/main/package%20creation/quick_view_package/dolphin_quick_view_shortcut.sh

this is caused by dolphin's limitations and there's not much I can do about it.

would it make sense to package this up for PyPI, with system deps being checked for and reported from within python? If so, are you interested in pull requests?

I don't think it makes much sense for this application.
For now I'm trying to integrate the modules inside a .pyz and eliminate the use of pip: https://github.com/Nyre221/dolphin-quick-view/issues/10

[–] [email protected] 2 points 1 year ago (1 children)

Very cool. Nice work! I wonder how an implementation with KPart/C++ would look like

[–] Nies221 2 points 1 year ago

Thanks!

I wonder how an implementation with KPart/C++ would look like

I'm not sure what you mean, I have no experience with c++.