I have a launcher that looks like this...
[Desktop Entry]
Name=Mount Options
Comment=Mount Utility (Unmount by Default)
Exec=sh -c "sudo umount /media/*"
Icon=/usr/share/icons/nouveGnomeGray/48x48/places/gtk-network.png
Terminal=true
Type=Application
StartupNotify=true
Actions=SSH Dev-Derek;Mount Dev-Derek;
[Desktop Action SSH Dev-Derek]
Name=SSH Dev-Derek
Exec=terminator -e "ssh [email protected]"
OnlyShowIn=Unity;
[Desktop Action Mount Dev-Derek]
Name=Mount Dev-Derek
Exec=terminator -e "sshfs [email protected]:/var /media/myfolder/"
OnlyShowIn=Unity;
The left click unmount works. The ssh command works. The SSHFS command allows me to input my creds but doesn't mount the share.
I can mount fine if I open a terminal and use the command... but thats what Quicklists is for.
~$ sshfs [email protected]:/var /media/myfolder/
I've tried using:
Exec=sh -c "sshfs [email protected]:/var /media/myfolder/"
Exec=gnome-terminal -e "sshfs [email protected]:/var /media/myfolder/"