It’s easy to add a custom launcher to your app menu, just drop a <something>.desktop file in ~/.local/share/applications that might look like this:
[Desktop Entry] Type=Application Name=Un/mount Server Exec=/home/nemo/.local/bin/server-sshfs Icon=/home/nemo/.local/share/icons/sshfs.png
This works as desired, but I’m getting a cover tile with a spinner that does not disappear after the script has completed, it just times out after a minute or so.
How can I avoid that?
I tried from within the .desktop file - all those commented options:
#X-Nemo-Application-Type=generic #Custom-Launcher=yes #X-Nemo-Single-Instance=no #"StartupNotify=false #[X-Sailjail] #Sandboxing=Disabled
None made any difference.
Maybe there’s some command I can add to the shell script just before it exits?