Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Currently the only way I know of to open the "Connect to server" dialog box is to open up Nautilus first.

While this isn't that complex a task, it still requires using the mouse, at a minimum:

  1. Launch Nautilus (Super + 1)
  2. Move mouse to top left to "File"
  3. Select "Connect to server"

It would be great if I could simply click the Super button to go into the dash and type "connect to" and click enter.

share|improve this question
1  
You can replace steps 2 and 3 with Alt+F, S if you want to avoid using the mouse. –  ændrük Oct 24 '11 at 22:54
add comment

3 Answers

up vote 3 down vote accepted

My suggestion is that you add it to your Home icon on the launcher, like this:

enter image description here

«That's insanely cool!», you say, «But how do I do that?». Well, you just copy and paste the desktop file I made for you into an empty file and copy that to your ~/.local/share/applications/ folder. Name the file "nautilus.desktop". You need to log out and back in afterwards. Here goes:


[Desktop Entry]
Name=Files
Comment=Access and organize files
Exec=nautilus %U
Icon=system-file-manager
Terminal=false
Type=Application
StartupNotify=true
OnlyShowIn=GNOME;Unity;
Categories=GNOME;GTK;Utility;Core;
MimeType=inode/directory;application/x-gnome-saved-search;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=nautilus
X-GNOME-Bugzilla-Component=general
X-GNOME-Bugzilla-Version=3.2.1
X-Ubuntu-Gettext-Domain=nautilus
X-Ayatana-Desktop-Shortcuts=Connect;Videos;Documents;Music;Pictures;Downloads
[Connect Shortcut Group]
Name=Connect
Exec=nautilus-connect-server
TargetEnvironment=Unity

[Videos Shortcut Group] Name=Videos Exec=nautilus Videos TargetEnvironment=Unity

[Documents Shortcut Group] Name=Documents Exec=nautilus Documents TargetEnvironment=Unity

[Music Shortcut Group] Name=Music Exec=nautilus Music TargetEnvironment=Unity

[Pictures Shortcut Group] Name=Pictures Exec=nautilus Pictures TargetEnvironment=Unity

[Downloads Shortcut Group] Name=Downloads Exec=nautilus Downloads TargetEnvironment=Unity

.

share|improve this answer
    
does this keep my bookmarks? –  digitaljail Dec 18 '12 at 15:32
1  
Yes, I think the bookmarks are added at runtime (dynamic quicklists) whereas these are added to the .desktop file to make them accessible even when Nautilus is not running. –  Jo-Erlend Schinstad Dec 19 '12 at 21:20
add comment

A slightly faster option is to click File ▸ Connect to Server... while on the desktop. This works because the desktop is provided by Nautilus.

Of course, this is still an inconvenience when you already have other windows open.

Related bug reports:

share|improve this answer
    
I think this only works in Ubuntu 11.04. –  Flimm Oct 24 '11 at 23:04
    
No, it works in 11.10 as well, but the solution is based on a bug. The desktop shouldn't display menus for Nautilus. –  Jo-Erlend Schinstad Oct 24 '11 at 23:11
    
@Jo-ErlendSchinstad That's disappointing to hear. Do you have a link to the bug report? –  ændrük Oct 24 '11 at 23:36
add comment

Yes, there is a way to open the “Connect to Server” without opening Nautilus first.

Run nautilus-connect-server. It will appear as a Nautilus icon in your launcher, so you can right click it and "Keep in launcher" to make it stay there.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.