2

I would like to add drives and folders to the Favorites sidebar in Ubuntu 18.04 (I mean the Dock, in Nautilus Ctrl+D is working fine). Drag and drop doesn't work - this seems unintuitive.

Is there a way without using the terminal?

pomsky
  • 68,507
mluerig
  • 161
  • I'm not sure whether it can be done without using the terminal, see this: https://askubuntu.com/questions/966740/how-do-i-pin-my-favorite-folders-in-ubuntu-dock-like-in-windows – pomsky Oct 29 '18 at 12:29

1 Answers1

4

Not without terminal, but by using a modified* version of pomksy's answer to this question, I got what I wanted:

  1. creating and opening a desktop file:

    gedit ~/.local/share/applications/hd1.desktop
    
  2. adding nautilus file explorer with the location:

    [Desktop Entry]
    Name=hd1
    Exec=nautilus /media/username/hd1
    Icon=drive-harddisk
    Terminal=false
    Type=Application
    Categories=GNOME;GTK;Utility;Core;FileManager;
    
  3. search for "hd1" in dash, find it, rightclick and "add to favorites".

* modified, because it's leftclick - and a different Icon.

pomsky
  • 68,507
mluerig
  • 161