ubuntu dock doesn't show network drives

Bug #1996985 reported by grolongo
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell-extension-ubuntu-dock (Ubuntu)
New
Undecided
Unassigned

Bug Description

On Ubuntu 22.10, after successfully mounting a network drive through Nautilus (Files -> Other Locations -> Connect to Server), the network drive doesn't appear as it should in the dock.

Settings -> Ubuntu Desktop -> Configure dock behavior -> Include Unmounted Volumes & Include Network Volumes

gsettings get org.gnome.shell.extensions.dash-to-dock show-mounts
true
gsettings get org.gnome.shell.extensions.dash-to-dock show-mounts-network
true

All options are enabled (as it is by default).

Note that it works fine for external drives like a USB key. It just doesn't for network drives somehow.

Tags: kinetic
tags: added: kinetic
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Please, provide the output of the command:

 gio info /media/$USER/path-of-the-mounted-device

Adapting the path accordingly.

Revision history for this message
grolongo (grolongo) wrote :

Sorry for the very long delay.

---

Following your comment, I changed the mapping path from:

/mnt/path-of-the-mounted-device

to:

/media/$USER/path-of-the-mounted-device

and now the network share shows up correctly in the dock. good.

---

I didn't know we have to do it under /media solely for it to be displayed in the dock.

What bothers me though is that I did all that from the command line, editing /etc/fstab and before that $HOME/.smbcredentials manually.

I'm guessing the majority of users won't do that and will instead use the more user-friendly way of mapping it from Nautilus (Files).

When you do it from the GUI (Files):

1. open a Nautilus window
2. Other Locations -> Connect to Server -> Enter server address
3. enter your credentials in the dialog box, done.

The mapping happens in:

/run/user/1000/gvfs/smb-share:server=192.168.1.28,share=mysharingfolder

and therefore the dock doesn't show it (only in Files).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.