on most file managers (thunar, caja, nautilus), usually on the left pane, there are 'devices' group and 'network' group.
double-clicking an entry in any group will make that entry to be mounted.
'devices' group contains usb drives or partitions that aren't automatically mounted on boot.
they are mounted to /run/media/..
'network' group contains samba shares.
they are mounted to /run/user/USERNAME/gvfs/..
here's the question : What is the full command used by file managers to mount those drives/shares? I want to mount them as they are mounted by those file managers.
I know how to mount them with `mount` command but it requires root privilege unless I add 'user' option to an entry in /etc/fstab. And I can't add 'user' to all thumbdrives and samba shares on network.