Il 15/12/2015 14:19, Giuliano Colla ha scritto:
I'm running TDE 14.0.2 on CentOs 6. My compliments to the trinity team for the excellent job!
I've got back all the reach features of KDE 3, instead of a bloated and much less usable Plasma thing.

However I've stumbled into an annoying issue.

When clicking on the icon of an executable shell script (extension .sh), it's opened for editing in Kate, and not launched.
The same, under KDE4 is properly executed.

Is it a matter of some improper setting that I can fix, or a bug?

Additional information.
Looking to the file properties, I see that it's using the settings for the group "text".

In /opt/trinity/share/mimelink I find both
/text/x-shellscript.desktop
which has a line: X-TDE-IsAlso=application/x-executable-script
and a line [Property::X-TDE-text]

and
/application/x-shellscript.desktop
which has the two identical line, which make little sense IMHO because if I understand properly they tell that it's also itself, and that it should be treated as text.
 

For anyone interested, I've solved the problem!

I have simply removed x-shellscript.desktop from the mimelnk/text directory, leaving only the one in the mimelnk/applications and now it works as expected.
That is, if the script is marked as executable, clicking on it it is executed. If not it is opened in an editor.

Giuliano

Thanks for any help.

Giuliano