[Bug 262496] devel/xdg-utils: xdg-open opens *.cpp and *.h files with RStudio

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 12 Mar 2022 08:10:20 UTC

            Bug ID: 262496
           Summary: devel/xdg-utils: xdg-open opens *.cpp and *.h files
                    with RStudio
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: desktop@FreeBSD.org
          Reporter: yuri@freebsd.org
             Flags: maintainer-feedback?(desktop@FreeBSD.org)
          Assignee: desktop@FreeBSD.org

I have RStudio installed, and 'xdg-open x.cpp' opens x.cpp with RStudio despite
its MIME file /usr/local/share/mime/packages/rstudio.xml doesn't say that
RStudio can open *.cpp files.

Sometimes *.r files are opened with vscode when it is installed in addition to
RStudio, even though vscode doesn't install any MIME files.

Something is wrong with xdg-open.

You are receiving this mail because:
You are the assignee for the bug.