launch custom application from Nemo

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
Level 1
Level 1
Posts: 1
Joined: Thu May 07, 2020 6:14 am

launch custom application from Nemo

Post by bous »

Dear community,

I'm having some trouble investigating a problem:

I have written a programme to open a specific file type. The program is tested and works fine. To open the files with that programme from Nemo, I have written a .desktop file and associated the mime type with the programme in Nemo. The .desktop file also works fine when launching from the command line.

Now, when I try to open the file from Nemo nothing happens. To investigate, what may have caused the error, I restart the Nemo in the terminal to see the output of the programme. Suddenly everything works as expected.

So I'm wondering what I could do to make the programme work in Nemo without having to restart Nemo every time I log in. Any Ideas what could be the cause or how I could investigate why Nemo does not launch the programme in the first place?

Thank you for any suggestions.
I'm running LMDE 4 with Nemo 4.4.2
gittiest personITW
Level 8
Level 8
Posts: 2014
Joined: Tue May 28, 2019 4:27 pm

Re: launch custom application from Nemo

Post by gittiest personITW »

Not sure if this is what you are looking for.

You save your script.
Copy it to:

Mark it is executable.

It should then be in your Nemo context menu under Scripts.
Post Reply

Return to “Software & Applications”