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.

I am currently trying to make a desktop shortcut pointing to a network location.

I believe there's a way to do this and that I am probably missing something simple.

Can anyone able to point me in the right direction? I am trying to create a short cut pointing to: \192.168.1.90

share|improve this question
    
pointing in browser or nautilus??? –  geoh Aug 1 '12 at 11:10
    
pointing in nautilus if possible –  user12622 Aug 1 '12 at 11:24
    
i have posted answer, please say what you get @user12622 –  geoh Aug 1 '12 at 11:31

2 Answers 2

up vote 1 down vote accepted

Say your server is an sftp server of the url ftp://myserver.com and your username there is myuser (works the same way for a regular ftp server or samba). You can open it with your regular nautilus file manager using nautilus ftp://myuser@myserver.com &.

The proceeding to do so in a .desktop file is basically as in 天使の's answer. You create a *.desktop file:

[Desktop Entry]
Name=Network(myserver)
Comment=Open ip in Nautilus
Exec=nautilus nautilus ftp://myuser@myserver.com
Icon=network
Terminal=false
Type=Application
StartupNotify=true
Categories=GNOME;
OnlyShowIn=GNOME;Unity;
X-GNOME-Keywords=Network;myserver;
Name[en_US]=blubb

When you first connect to that server, you will be asked for a Password. Type in your password and click "Remember forever" in the password dialog.

share|improve this answer
    
Thank you, this has done the trick, just chose to use SMB instead of FTP. Thanks again –  user12622 Aug 1 '12 at 14:07

Open gedit text editor and copy the below text and paste it into a new file. Then save the file giving name Network(192.168.1.90).desktop and exit gedit. Then from terminal, run this command chmod +x Network(192.168.1.90).desktop(to make it executable)

[Desktop Entry]
Name=Network(192.168.1.90)
Comment=Open ip in Nautilus 
Exec=nautilus-connect-server \\192.168.1.90
Icon=network
Terminal=false
Type=Application
StartupNotify=true
Categories=GNOME;
X-GNOME-Keywords=Network;192.168.1.90;

Then double clicking the icon, will execute the file. Provide feedback, if it doesn't work.


If you want to remember configuration use Filezilla3 instead of Nuatilus download

configuration

give all configuration, and site name rename for example: site_one
after that just change in .desktop file

Exec=filezilla -c site_name

and save that file

share|improve this answer
1  
Thank you for your help so far. This allows me to connect up to the server, however it doesn't remember the details. It prompts me to enter the details each time. Is there a way to make it remember these? –  user12622 Aug 1 '12 at 11:31
    
@user12622 you can use filezila instead of nautilus, it can remember your config –  geoh Aug 1 '12 at 11:33
    
@con-f-use can you give an example? –  geoh Aug 1 '12 at 11:36
    
Stand by, I will formulate an answer. –  con-f-use Aug 1 '12 at 11:39
1  
@天使の no worries, thank you for trying. Unfortunately I am the only computer literate user here really, they are getting on ok with Ubuntu this far, but I just think FTP isn't the best option for this. I need to get a "double click" approach for them and opening files off the server. –  user12622 Aug 1 '12 at 12:04

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.