X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=etc%2Fxdg%2Fautostart%2Fvboxhost-mount.desktop;fp=etc%2Fxdg%2Fautostart%2Fvboxhost-mount.desktop;h=b508c460de424d77bddcd8c62b7756284742914a;hb=1926d60a26b3713ccbd05d411b63e7cf1cd3f107;hp=161e88c99fb58a86fec79e62d1da41c89cbd6c94;hpb=5b8ba062b3c4f27c8f1c0083fab968484fd9e343;p=neurodebian.git diff --git a/etc/xdg/autostart/vboxhost-mount.desktop b/etc/xdg/autostart/vboxhost-mount.desktop index 161e88c..b508c46 100644 --- a/etc/xdg/autostart/vboxhost-mount.desktop +++ b/etc/xdg/autostart/vboxhost-mount.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Name=VirtualBox shared folder Comment=Mount the shared folder of the VirtualBox host -Exec=sudo mount -t vboxsf -o defaults,uid=brain,gid=brain host /mnt/host +Exec=sh -c 'sudo mount.vboxsf -o uid=$(id -u),gid=$(id -g) host /mnt/host' Terminal=false Type=Application