bash file not executed when clicked

Hi

I use kde, since last update when i double click a sh file, it’s not executed.

I try to run .sh of netbeans

I done

righ click on the file / properties / files types option

It display me theses software

kate
LibreOffice Writer
Okular

On another ocmputer, same three software, but when I double click on sh file of netbeans, netbeans it’s started

Don’t want to start software in the konsole in the background, should be able to start directly the software

Any idea?

Check the file permissions eg…

ls -l /path/to/foo.sh

Post the output that you get for your netbeans file here. You can use the chmod command to make the script executable (assuming you are the owner) if necessary

chmod +x /path/to/foo.sh

This may be helpful to you…
http://beginnerlinuxtutorial.com/linux-tutorials/how-to-run-a-sh-file-in-linux/

8 -rwxr-xr-x 1 collinm users 5689 17 déc 04:32 Development/ide/netbeans10/bin/netbeans

Returning to your first opening post statement…

I done

righ click on the file / properties / files types option

It display me theses software

kate
LibreOffice Writer
Okular

Right-click on the file, and select ‘Open With’ > ‘Other…’. Configure it to open with ‘/bin/sh’ and ‘Run in terminal’. You can enable the ‘Remember application association for all files…’ if you like. This will result in a custom .desktop file in ~/.local/share/applications/ so that when you next double-click and open this file it will launch a shell to run in.

First a general remark. Please do copy/paste complete, that is inclsuing the line with the prompt and the command and also the line with the prompt at the end. Only so others can see what you did to get that output. Also copy/paste that between CODE tags. You get CODE tags by clicking on the button with # in the tool bar of the post editor.

Then

Development/ide/netbeans10/bin/netbeans

This filename has noo suffix of .sh. So there is no way how KDE can associate this file with want you to do with that.
And it is contrary to what you say in your first post here:

[QUOTE]**