TransWikia.com

How to set up `xdg-open` to use Nautilus for `gvfs` paths?

Ask Ubuntu Asked by whyer on December 17, 2021

xdg-open /run/user/1000/gvfs/ftp:host=smart,port=5555,user=u runs chrome.

How to make it run nautilus instead?

One Answer

From man xdg-open

xdg-open opens a file or URL in the user's preferred application. If a URL is provided the URL will be opened in the user's preferred web browser.
...
xdg-open supports file, ftp, http and https URLs.

The man page states that as long as the target is a recognized URL it will always use a web browser. This looks like what you want is not possible
(apart from registering nautilus as your favourite web browser whis is a bad idea™ )

Answered by guntbert on December 17, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP