[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Support for RFC 8089
From: |
Pádraig Brady |
Subject: |
Re: Support for RFC 8089 |
Date: |
Thu, 15 Jun 2017 08:31:03 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 13/06/17 06:39, Steeve McCauley wrote:
> I searched google and the bug and list archives for coreutils but couldn't
> find any mention of support for local or non-local file URIs,
>
> file:///foo/bar
> file://remote.baz/foo/bar
>
> has there ever been any discussion of support for file URIs in coreutils?
>
> I often copy files into the clipboard (using fedora 25 with gnome shell
> 3.22.3) and then have to manually remove the file URI at the command line
> to remove the file:/// part.
Note gnome shell has the "paste filenames" feature, when you've selected and
copied file(s) in the nautilus browser, though is a little awkward to access.
You can use right click in gnome terminal to access the menu,
or (with the menu bar enabled) Alt+e f <return>.
There doesn't seem to be a way to assign a shortcut to this function.
I'd log a feature request to do that with the gnome folks,
as that would be a simple and relatively safe way to achieve what you want.
I'm not sure coreutils could support file:// directly
due to the clash with a network file server named 'file' or a directory named
'file:'
I see that xdg-open supports file:// urls though that's quite a specialised
tool.
It's also worth noting the recent proposal to have ls output clickable links
which could use file:// resulting in gnome terminal opening the default
application when the file links were ctrl clicked.
https://lists.gnu.org/archive/html/coreutils/2017-05/msg00000.html
cheers,
Pádraig.