View Single Post
nonsuch's Avatar
Posts: 584 | Thanked: 1,550 times | Joined on Sep 2019
#1
Disclaimer: I posted this yesterday on SFOS forums but it got hijacked.

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:

Code:
[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 (created by the lipstick launcher I presume) that does not disappear after the script has completed, it just times out after 10-20s.

How can I avoid that?

I don't really need a cover tile at all. The script sends notifications, that's enough.

I tried from within the .desktop file - all those commented options:

Code:
#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?

I have been looking around existing projects and installed apps' .desktop files, but nothing seems to adress the situation.
__________________
N900 in 2020
SFOS in 2021

Last edited by nonsuch; 2022-05-01 at 10:26.