I can see the thumbnail images that appear in the folders before entering the folder, and I can also see the thumbnail images of each image when I enter the folder, and I can also open each image and view them with Gwenview image viewer , but only if it is in png or jpg format.
But I can’t do any of these 3 things if the image is WebP, and I need to be able to do it to visually locate each folder in my database, since I have an image in each folder, which shows the content inside, and so I I can locate quickly.
Is there a way to do this with the WebP image format?
In general, how do you know which are optional dependencies? Look at the package info with pacman -Qi <package_name>. Try it with Dolphin and Gwenview, and you’ll see you’re missing those packages I mentioned above.
As an exercise, can you see which optional dependency is needed for video thumbnails in Dolphin?
Oh, interesting, so, these “optional dependencies”, are they like “addons” for each program, or something?
You’re right, there are several of them that are necessary!
yay -Qi dolphin
Name : dolphin
Version : 23.04.3-1
Description : KDE File Manager
Architecture : x86_64
URL : https://apps.kde.org/dolphin/
Licenses : LGPL
Groups : kde-applications kde-system
Provides : None
Depends On : baloo-widgets knewstuff kio-extras kcmutils kparts kactivities kuserfeedback
Optional Deps : kde-cli-tools: for editing file type options [installed]
ffmpegthumbs: video thumbnails
kdegraphics-thumbnailers: PDF and PS thumbnails
konsole: terminal panel [installed]
purpose: share context menu [installed]
kio-admin: for managing files as administrator
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 12,74 MiB
Packager : Antonio Rojas <arojas@archlinux.org>
Build Date : mar 04 jul 2023 14:56:08
Install Date : jue 27 jul 2023 14:43:03
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
and
yay -Qi gwenview
Name : gwenview
Version : 23.04.3-1
Description : A fast and easy to use image viewer
Architecture : x86_64
URL : https://apps.kde.org/gwenview/
Licenses : GPL LGPL FDL
Groups : kde-applications kde-graphics
Provides : None
Depends On : kactivities baloo libkdcraw kparts kitemmodels cfitsio phonon-qt5 purpose perl
kimageannotator
Optional Deps : qt5-imageformats: support for tiff, webp, and more image formats
kimageformats: support for dds, xcf, exr, psd, and more image formats
kamera: import pictures from gphoto2 cameras
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 11,06 MiB
Packager : Antonio Rojas <arojas@archlinux.org>
Build Date : mar 04 jul 2023 15:54:39
Install Date : jue 27 jul 2023 14:43:07
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
What exactly is --needed for? I thought that when you needed a dependency, you just had to install it like you would install a normal program.
Yes, you install optional dependencies just like any other package.
They are called “optional dependencies” for a reason: the package that depends on them will work fine without them, but they are there if you desire additonal functionality. Or you can be without them, if you do not want the bloat. You pick and choose which optional dependencies you want.
The --needed option makes it so that pacman doesn’t reinstall the packages in case you already have some of them installed. This is a good idea when you install multiple packages in one go. This way, it will just skip those packages that are already installed.
Since I don’t know what you have installed, I added that option just in case. If you are sure that you have none of those packages on the list installed, omitting the --needed option won’t make any difference.
So -S will reinstall packages that are already installed, and --needed prevents that, thanks a lot!
Also, this is offtopic, but do you think it’s dangerous to install too many programs on a single command line, when for example you get a clean install of EndeavoursOS? For example you want to install 20 programs, from different repositories, eos/extra/lib/aur?
Depends on what you install, for packages in the official repos, I wouldn’t worry about that. Generally, there is no hard limit as far as I know. When you haven’t updated your system in several weeks, you will typically reinstall hundreds of packages with just -Syu…
With the AUR, you have to be a bit careful what you’re installing, I wouldn’t automate that for many packages at once. When instaĺlling or updating with yay always check the PKGBUILDs of all the AUR packages, etc, etc…