Using nemo instead of nautilus to open files with google chrome or/and firefox

Hello as Nautilus ( at least on my computer) is really slow to show thumbnails and most of the time when i need to browse images thru google chrome (which i need a lot using comfyui ) , it doesn’t show thumbnails at all , specially from new files, i decide to install Nemo and make it my default file manager using the following code. Even after that when i need to open /load an image with chrome it’s again Nautilus that is been used even if i did checked that Nemo is considered as the default file manager by computer.
do you have any idea how i can make nemo taking care of opening files in Chrome?
Can i safely delete Nautilus from my computer ?
Does anyone have a solution to make Nautilus more reactive or at least showing thumbnails when i need to upload files in Chrome ?
This is the code i used after installing Nemo
Set Nemo as default filemanager for the current system user by running the following commands (this will update $HOME/.config/mimeapps.list):
xdg-mime default nemo.desktop inode/directory
xdg-mime default nemo.desktop x-directory/normal
xdg-mime default nemo-autorun-software.desktop x-content/unix-software
update-desktop-database $HOME/.local/share/applications/

And also set Nemo as default file manager for root user:
sudo xdg-mime default nemo.desktop inode/directory
xdg-mime default nemo.desktop x-directory/normal
xdg-mime default nemo-autorun-software.desktop x-content/unix-software
sudo update-desktop-database /root/.local/share/applications/

I never used thumbnails in the past, but due to a recent workflow addage in creativity ( Inkscape, GIMP, and comics collection reformat ) I with a SSD and some pretty decent hardware also had problems, then I changed dnf install ffmpegthumbnailer things changed dramatically.

You must also erase the cache for the thumbnails. One thing to note, I believe the Browsers are using Portals. You don’t have the option to Grid View your thumbnails.

What I find effective is to have Nautilus open full screen in grid view and Super+Tab between the Browser and Nautilus.

1 Like

I think you’re confusing the file manager with a file chooser. The dialog that appears when you try to open or save a file has nothing to do with nautilus, even if they look similar. You can drag and drop from Nemo instead, but that may not work if Chrome is a flatpak (depending on how the sandbox is configured).

I’d strongly recommend never running any graphical application as root. You can use the admin:/// gvfs uri scheme as an alternative.

3 Likes

Ok as i’m totally new in Linux and fedora , i’m scrolling thru internet lokking for solutions to solve pbs that i’m facing , also with the risk of doing potential stupid actions . I guess that’s the way to learn. if it was stupid to run Nemo as root ,can you tell me how to undo it ? actually ican’t drag and drop from Nemo , it returns “type error: failed to fetch”

Added gnome, nautilus, portals

I agree ffmpegthumbnailer should fix this. No experience with GNOME but on KDE it is already installed, just missing some codecs.

What you are seeing is not the filemanager but the xdg desktop portal.

A portal is a system component that has access to the wanted resource (in that case your files). Instead of giving all apps access to your files, they can invoke a portal, which is part of GNOME in this case, and this portal is used to select a file. The portal then sends that one file to the program.

Its a really nice concept also known from Android.

Nemo likely has its own portal, but changing system components like this can have unexpected effects.

2 Likes