-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 12/15/2015 11:37 PM, Giuliano Colla wrote: > > > 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 > Actually it is not necessary to remove the file /text/x-shellscript.desktop. It is sufficient to remove the entry for shell scripts in the "text" category in Konqueror's File Associations settings. Slavek, currently tdelibs ships with two files for x-shellscript.desktop: /opt/trinity/share/mimelnk/application/x-shellscript.desktop /opt/trinity/share/mimelnk/text/x-shellscript.desktop I think it would be better to associate shell scripts with one only. IMO most of the users would expect shell scripts to be executed when clicking on it from Konqueror. What do you think? Any opinion from the other users? Cheers Michele -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJWeBw0AAoJECp1t8qK3tXPERUQAIadnqcTQCG+FU9edTQDMu5p q4+94V9Al89OUFrOQIGDJz2o70dDsA77DmYnaNhubT8I243TI+NSgy4DXUqWjnLc 5SDoc6oc7Sm0RPLFVHwudXYc1cSEUl0aZQvkYVnmdeRxTIGCKFYC9wYMK5Y6u9hW 5jgAoWkiTMmigKL5f+tDeXshSvIF1bwotmvRknH9ogeSmqOabS62HXdXIws1CEYc lhxFxGr7tkCWc6T2qqUi1SmcC940CfSAJa59rc9wEChlrdY0xFk4gVNV/be/8qHt 12cVDVHih0NXTnSHbZw709Zh0SHRc3NS4Uctem7IgxihclvguWhWnmegV+eHpeGh 9BB7Gpxskh/AMgiBUjOfX+AkcVWYLo98Cj2Za5uMj8MlRTff8lD/Kz0TTWcgH0oQ S52Tmw9T0BRC5hFL0nMWOdlSVxkSuwCe4HeCtsiqR5S2ysvBflD6/L95ACERp2R6 lw3X4w+rpbCXN6MQPDcWSJdg94WIHAE/tjtGJcb+PLGg3WhcEhtEvOe1V9/+dUFY RTwKF5rVgejcFefp8TOnytY5oyjCxNVaa0JyB9LjqDS37zjnpAB4Q6HVp7hHOfLu 7A+YhYvvsO/04bsg/5iM038z+XM7U8q0mahxkjNZHu2jOU4g+0FT0Sl7BeYEnRcR 50fqAy6koe1fzi7PaJe9 =Fg5c -----END PGP SIGNATURE-----