https://bugs.kde.org/show_bug.cgi?id=461756

            Bug ID: 461756
           Summary: kde-open support opening file://hostname/path/to/file
    Classification: Plasma
           Product: kde-cli-tools
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: aleix...@kde.org
          Reporter: ppwwyy...@gmail.com
  Target Milestone: ---

SUMMARY

If we run `ls --hyperlink=always`, ls will print file names with hyperlinks
that can be seen in supported terminals (e.g. gnome-terminal, konsole (by
default disabled)). 
The hyperlink for files look like "file://hostname/path/to/file" - even if
files are on localhost.

However, `kde-open` (which is used by `xdg-open`) cannot open such URLs, even
if the file is on localhost. I'd like to request support for such URLs.


STEPS TO REPRODUCE
1. `kde-open file:///usr/bin` succeeds and opens the directory with default
application (e.g. dolphin)
2. `kde-open file://$HOST/usr/bin` fails.

EXPECTED RESULT
(2) should also succeed.


SOFTWARE/OS VERSIONSs
Linux/KDE Plasma: 5.26.3
(available in About System)
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
I tried adding a new .desktop file with a custom executable, and set it to
handle mimetype `x-scheme-handler/file`. 
However this does not work. My custom executable is run for `file:///usr/bin`,
but not `file://$HOST/usr/bin`.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to