18.04: Bionic Beaver: nautilus-connect-server: GONE?! Workaround?
I happen to be working as a system admin, and I was so happy setting a shortcut key to nautilus-connect-server
command, allowing me to bring up the "Connect to server" dialogue box with one function-key press.
Now, the shell command is not found, and when you click on the 18.04 LTS link top of this http://manpages.ubuntu.com/manpages/xenial/en/man1/nautilus-connect-server.1.html page, you are forcibly redirected to Xenial (16.04 LTS)!
Although Nautilus is keeping the functionality (in a limited form), but the command line is gone.
Any native and secure workaround/alternative?
Solution 1:
An easy way to connect to server is to install nemo. Nemo is very similar to Nautilus and allows you to explore your files and connect to server. You can install nemo with the common apt:
sudo apt install nemo
Then, you can go to menu file, Connect to Server and then you will see this:
Nautilus: If you still want to connect using nautilus, you can normally do it. When connecting to a server in Nemo, it automatically appears in Nautilus.
Nemo also allows you to add bookmarks to your server connections with the name you desire (in this case MyBookmark). Then, the next time you want to connect you can simply select the bookmark. If you create it in nemo it automatically appears in nautilus as well.
Solution 2:
No hope here, the closest thing is use CTRL+L
in Nautilus and type down the target URI (like smb://PC/share). That is the closest experience there is to get!
Solution 3:
To connect remotely to macOS I hit ctrl-L
in nautilus and enter:
sftp://[email protected]/Users/daniel
At this point one can right-click and create a bookmark out of the location.
To open Nautilus at this location directly from the terminal:
$ nautilus sftp://[email protected]/Users/daniel
I'm not into samba.