1

I'm new to Ubuntu. I have 14.04 release, and I wanted to add a shortcut of /var/www to my desktop, since I want to do some PHP development. I went to /var/www to make a link, but my right-click menu is greyed out: right click grey

Why is that and how do I solve it?

Terix
  • 115

2 Answers2

3

Try this:

ln -s /var/www/ ~/Desktop/www

You can replace the "www" after Desktop with anything you like.

BIfrost
  • 56
3

"Make link" option is greyed out because the directory is outside your home directory, and you need superuser privileges to create files there. The simplest solution is to create a symbolic link manually. Open a terminal and type

ln -s <file> <link>

Replace <file> and <link> with proper filenames. <link> should be inside your home directory.

ajn
  • 348
  • 2
  • 9