How to change the default app for opening folders?

This is probably a dumb question, but for some reason after opening a folder with VSCode a while ago, a system setting must have changed causing many apps to open folders in VSCode instead of Nautilus or whatever Gnome’s default app file explorer is.

Unfortunately I was not able to find a way to change the default app back and the App Settings that many people on the Internet are suggesting doesn’t appear to have the option I need:

Any help setting it back to the default would be highly appreciated and I would also be interested if you have any ideas on what exactly I must have done wrong to end up in this situation, so that I can avoid it in the future.

I’m assuming it won’t be much harder on Gnome…

  • Open your file browser, then with a context menu select ‘Properties’ on a folder in that window.

Chances are you set the wrong one as default /at the top of the list…

With Plasma, the Top item in the list opens folders, but the Second item will be opened with a Middle Mouse click:

The properties dialog barely has any options:

I can change the icon and permissions. That’s it.

Then in your first image, you have ‘Open With…’ and ‘Files’ is visible - try to select that as your Default.

When I select Files then it will open the folder with Nautilus once. The default will not be affected. There does not seem to be an option for changing the default in that menu.

Well I just loaded Gnome in a virtual machine - and I remember now why I don’t use it, sorry.

I’m sure someone else will be along with an answer soon though.

There seems no obvious way to Drag or Context click on items in the ‘Other Apps’ section… but it was obviously not impossible for you to blunder into setting another default…

It might be possible to do this in terminal,

xdg-mime default org.gnome.Nautilus.desktop inode/directory

I’m not sure if you need to log out and log in again @0x0

3 Likes

Thanks, xdg-mime default org.gnome.Nautilus.desktop inode/directory finally fixed the issue. Seems crazy that Gnome has no way to do this through the UI.

3 Likes

KDE users of the world would no doubt invite you to use Plasma. Just something to consider if Gnome becomes too annoying for daily use. Of course, every DE has a learning curve.

Regards.

1 Like

I’ve used KDE for years, but I personally prefer Gnome. Besides this minor issue regarding the default folder app, what makes KDE better than Gnome in your opinion?

As a long time KDE user, I’m sure you can answer that yourself. As indicated, every DE has a learning curve; likewise, each User no doubt has their own reason(s) for preferring one over another.

Everyone uses their DE in a different way. I was just asking for your personal opinion. If you don’t want to share it, that’s okay.

1 Like

I can’t answer this question.

I enjoyed Gnome 2. I enjoyed Cinnamon, but thought the Spices were junk (hardly any available, and many broken) but found that Cinnamon made some things difficult, things I wanted to do…

Then I tested KDE, and found almost everything under the context menu - moulded it to my taste, and then realised I didn’t need to run ‘Easystroke’ to get Mouse Gestures (X11).

Sadly, the gestures went wayward on Wayland… but there’s that steep learning curve.

What stops many people moving to Linux also keeps me fairly rooted in Plasma… if not only the default apps which always seemed ‘heavy’ to install on Gnome, pulling in half of KDE to my Cinnamon desktop.

Love Kate/Kwrite/Konsole etc…

2 Likes

Well, now that I have a better opportunity to comment, I can say that it’s not simply a case of “KDE is better” or “[DE name] is better or worse than another”. Each have their own characteristics, including good and bad features, and general appeal. The “best desktop environment” is entirely subjective.

I used earlier versions of Gnome and (I suppose) I was generally fine with it, though it was nothing remarkable; I was never fond of the Adwaita theme.

What I did dislike was the progressive dumbing down of the UI – so much so, that features one would normally expect should be exposed to the User simply were not available.

There are many examples of this if one takes the time to do some serious research, or happens to enjoy even more serious rants; no doubt there are still plenty of those to be found on the topic.

One could argue that a measure of how well a DE satisfies its Users; or, how good it is generally; is directly proportional to the number of forks of that DE that exist.

Gnome certainly has the most.

Many are instantly recognisable popular DE’s today; spawned by an overwhelming lack of confidence in the direction(s) Gnome was taking.

Budgie, Cinnamon, Deepin, Mate, Pantheon, Unity, Zorin are a some that come to mind. In comparison, popular forks of KDE are few – LXDE and LXQt come to mind as I write.

Today, KDE’s Plasma is a breath of fresh air (to me) and I cannot see myself being easily swayed from using it on performant machines available today.

Manjaro KDE, coupled with AMD graphics and Wayland, is a combination that has proven both stable and trouble-free for this User.

The ability to customise my desktop experience unhindered by opinionated defaults has been a positive influence brought about by choosing KDE Plasma as my desktop environment.

I hope this goes some way toward answering your question.

Regards.

3 Likes

I see. Thanks for sharing your perspectives.
Personally I switched to Gnome because the way I used KDE was not exactly stable (maybe I picked the wrong combination of widgets or it didn’t like my constantly changing monitor setups), but at some point I lost one of my configured panels and was not able to restore it. (Shame on me for not backing up my KDE panel configuration.)
Other than that I found touchscreen support on KDE very lacking. And having a JS background, I prefer having all my extensions written in JavaScript because it gives me the ability to easily fix bugs when I see them.
I also remember having a better time setting up Remote Desktop and VPNs through the UI in Gnome.
I find it quite annoying though that Gnome is constantly changing their API causing many extensions to become deprecated quickly unless they are actively maintained.

1 Like

Major lack of backward compatibility is another annoyance, particularly with extensions/widgets or whatsoever they might be called this year. I imagine there were several old favourites that fell by the wayside. Plasma too, is no stranger to these types of decisions, only they seem to happen less often.


That horse has already bolted, however konsave could have helped; a simple way to backup and restore your Plasma user configuration(s).

Also available from the AUR for the benefit of passers-by:

pamac build konsave
2 Likes

I came across this article which seems to be helpful out of many search results I encountered. Hint: You’re not the first person that has had this happen. :wink:

2 Likes

Thanks, I wasn’t aware this was a known issue.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.