How can I create a desktop shortcut for a location in Nautilus?

Hi fellas!

I want to create a desktop shortcut for other-locations:/// in my Ubuntu 19.04. I can’t for the life of me figure out how to do it.

It would be nice if the Nautilus instance that opens that location would be a root one too.

I’ve tried making a .sh script with a simple sudo nautilus other-locations:/// line, but that requires execution through terminal.

Do you have any ideas how to make this?

Thanks!

Did you try a symbolic link?

ln -s /source /link/location

in your case

ln -s other-locations:/// ~/Desktop/linkName

Yeah, but it doesn’t work for some reason…

Opened up the terminal and pasted ln -s other-locations:/// ~/Desktop/Computer.
An icon was created. Unable to access it.
In properties it is noted that the link is broken.

I usually install thunar to have a better file manager with better bookmarking but…

I’d just bookmark the other locations you want. Or make a symlink to them.

Also other locations is just a label in nautilus. It pulls up a list of devices either from mount or something else.

Try gnome tweaks.

Also other locations is just a label in nautilus. It pulls up a list of devices either from mount or something else.

Yep. And that is exactly where I want to land when I open up my fake…
My Computer.

And I want to land there as root.

But I can’t get to that point :frowning_face:

Try gnome tweaks.

I have Gnome Tweaks, but what do I do with them for this one? :smile:

Look for nautilus and set the default screen?

Maybe this will help? Maybe it’s a $path issue

1 Like