You are not logged in.

#1 2022-11-25 02:42:34

chrisco23
Member
Registered: 2017-12-13
Posts: 111

[SOLVED] "Show in File Folder" launching Visual Studio Code

I know I've seen this problem before and been through threads on mimeapps etc., but I really am unable to get to the bottom of it right now and wondered if someone can help.

I recently switched from Clementine to its fork Strawberry.  That may or may not be relevant.  I've seen this similar problem but I don't know how it might have been resolved, can't remember details.

I have dupes listed in Strawberry that don't belong (I know, separate issue but one thing at a time).  I just want to see the location of these (sometimes songs are there 4 times in a row) by debugging if there might actually be any duplicates anywhere.

"Show in File Browser" is launching Visual Studio Code.  Most commonly I use PCManFM but whatever, any browser ok, but having VSC grab my "Show in Folder" is my prob.

Can someone please point me in the right direction?  I've looked over all the mimeapps files I could locate, attempted to comprehend the xdg-utils madness, there has to be something a little simpler.

Thanks

Last edited by chrisco23 (2022-11-25 21:27:58)

Offline

#2 2022-11-25 03:15:46

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: [SOLVED] "Show in File Folder" launching Visual Studio Code

xdg-mime ...

from xdg-utils?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2022-11-25 04:23:40

chrisco23
Member
Registered: 2017-12-13
Posts: 111

Re: [SOLVED] "Show in File Folder" launching Visual Studio Code

Thanks, but I'm still not sure what to look for.

If one app (Strawberry in this case), offers "Show in Folder", ... the mp3 or any other audio format is launching fine.  It's the show-in-folder and I'm not sure how to control that.
?

Offline

#4 2022-11-25 07:53:56

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: [SOLVED] "Show in File Folder" launching Visual Studio Code

You need to set the "Default application" for the  "inode/directory" mime type to a file browser you want to open when this event happens.

https://wiki.archlinux.org/title/File_m … le_manager

If you never explicitly set this up it will be somewhat random/the last installed tool claiming to support the mime type

Last edited by V1del (2022-11-25 08:15:07)

Offline

#5 2022-11-25 21:27:05

chrisco23
Member
Registered: 2017-12-13
Posts: 111

Re: [SOLVED] "Show in File Folder" launching Visual Studio Code

Thank you V1del, that seems to be exactly what I was looking for.

I was confused because I had only:
~/.config/mimeapps.list
~/.local/share/applications/mimeapps.list

But I had no global file /usr/share/applications/mimeapps.list

Offline

Board footer

Powered by FluxBB